public abstract class AbstractAction extends Object implements Command
Constructor and Description |
---|
AbstractAction() |
Modifier and Type | Method and Description |
---|---|
void |
doAction(ActionEvent e) |
protected JFrame |
getParentFrame(ActionEvent event) |
protected boolean |
popupCheckExistingFileListener(HashTree tree) |
protected void |
popupShouldSave(ActionEvent e)
Check if we should save before run
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActionNames
public void doAction(ActionEvent e) throws IllegalUserActionException
doAction
in interface Command
IllegalUserActionException
Command.doAction(ActionEvent)
protected void popupShouldSave(ActionEvent e)
e
- the event that led to the call of this methodprotected boolean popupCheckExistingFileListener(HashTree tree)
tree
- where check if listener has existing fileprotected final JFrame getParentFrame(ActionEvent event)
event
- ActionEvent
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.