public class ListenToAction extends FigureAction
FigureAction.SourceTypeCANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE| Constructor and Description |
|---|
ListenToAction(BasicGraphController controller,
java.lang.String componentType)
Construct an action that listens to NamedObj messages.
|
ListenToAction(NamedObj target,
BasicGraphController controller)
Construct an action that listens to NamedObj messages.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Open a TextEffigy that displays debug messages.
|
void |
setConfiguration(Configuration configuration)
Set the configuration for use by the help screen.
|
getFigure, getFrame, getSourceType, getTarget, getX, getY, offsetFigurepublic ListenToAction(BasicGraphController controller, java.lang.String componentType)
controller - The corresponding controller.componentType - A String that names the listened to component.public ListenToAction(NamedObj target, BasicGraphController controller)
target - The targetcontroller - The corresponding controller.public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class FigureActionevent - The action event, used to determine which entity
was selected for the listen to NamedObj actionpublic void setConfiguration(Configuration configuration)
configuration - The configuration.