public class TabbedLookInsideAction extends LookInsideAction
FigureAction.SourceType
CANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE
Constructor and Description |
---|
TabbedLookInsideAction(java.lang.String menuActionLabel)
Create a new TabbedLookInsideAction object with the given
string as its menu action label.
|
TabbedLookInsideAction(TableauFrame parent)
Create a new TabbedLookInsideAction object with the given
frame as it's container.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
actionIsRunning()
Returns true if the action is being performed.
|
void |
actionPerformed(java.awt.event.ActionEvent event)
Execute the look inside action command received from the event sent from
the user interface.
|
NamedObj |
getTarget()
Get the target to be opened.
|
void |
setTarget(NamedObj namedObj)
Set the target to be opened.
|
setConfiguration
getFigure, getFrame, getSourceType, getX, getY, offsetFigure
public TabbedLookInsideAction(TableauFrame parent)
menuActionLabel
- The label of the menu action to be displayed in
the GUI context menus.public TabbedLookInsideAction(java.lang.String menuActionLabel)
menuActionLabel
- The label of the menu action to be displayed in
the GUI context menus.public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class LookInsideAction
event
- The event received to execute the look inside action.public static boolean actionIsRunning()
public NamedObj getTarget()
getTarget
in class FigureAction