public class SaveArchiveAction extends FigureAction
FigureAction.SourceType
Modifier and Type | Field and Description |
---|---|
protected TableauFrame |
_parent |
CANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE
Constructor and Description |
---|
SaveArchiveAction(TableauFrame parent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Determine the target Ptolemy II object, the originating frame,
and the X, Y position of the action, if possible.
|
getFigure, getFrame, getSourceType, getTarget, getX, getY, offsetFigure
protected TableauFrame _parent
public SaveArchiveAction(TableauFrame parent)
parent
- the "frame" (derived from ptolemy.gui.Top) where the menu is
being added.public void actionPerformed(java.awt.event.ActionEvent e)
FigureAction
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class FigureAction
e
- The event.