public class AnnotateComponentAction extends FigureAction
FigureAction.SourceTypeCANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE| Constructor and Description |
|---|
AnnotateComponentAction(TableauFrame parent)
REQUIRED *****
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs.
|
getFigure, getFrame, getSourceType, getTarget, getX, getY, offsetFigurepublic AnnotateComponentAction(TableauFrame parent)
parent - the "frame" (derived from ptolemy.gui.Top) where the menu is
being added. NOTE this parameter is automatically passed to
your constructor by the menu system at runtimepublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class FigureActione - ActionEvent