public abstract class AbstractAction extends java.lang.Object implements Command
Constructor and Description |
---|
AbstractAction() |
Modifier and Type | Method and Description |
---|---|
void |
doAction(java.awt.event.ActionEvent e) |
protected javax.swing.JFrame |
getParentFrame(java.awt.event.ActionEvent event) |
protected boolean |
popupCheckExistingFileListener(HashTree tree) |
protected void |
popupShouldSave(java.awt.event.ActionEvent e)
Check if we should save before run
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActionNames
public void doAction(java.awt.event.ActionEvent e) throws IllegalUserActionException
doAction
in interface Command
IllegalUserActionException
Command.doAction(ActionEvent)
protected void popupShouldSave(java.awt.event.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 javax.swing.JFrame getParentFrame(java.awt.event.ActionEvent event)
event
- ActionEvent
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.