Package repast.simphony.userpanel.ui
Class UserPanelActionUI
- java.lang.Object
-
- repast.simphony.userpanel.ui.UserPanelActionUI
-
-
Constructor Summary
Constructors Constructor Description UserPanelActionUI(DefaultUserPanelDescriptorAction action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Editor
getEditor(ScenarioTreeEvent evt)
Gets the Editor (an editor panel) for editing an action.String
getLabel()
JPopupMenu
getPopupMenu(ScenarioTreeEvent evt)
Gets JPopupMenu to attach to the tree entry for an action.
-
-
-
Constructor Detail
-
UserPanelActionUI
public UserPanelActionUI(DefaultUserPanelDescriptorAction action)
-
-
Method Detail
-
getEditor
public Editor getEditor(ScenarioTreeEvent evt)
Description copied from interface:ActionUI
Gets the Editor (an editor panel) for editing an action.
-
getLabel
public String getLabel()
-
getPopupMenu
public JPopupMenu getPopupMenu(ScenarioTreeEvent evt)
Description copied from interface:ActionUI
Gets JPopupMenu to attach to the tree entry for an action. This may return null for no popup.- Specified by:
getPopupMenu
in interfaceActionUI
- Returns:
- JPopupMenu to attach to the tree entry for an action. This may return null for no popup.
-
-