Package repast.simphony.ui
Class DefaultActionUI
- java.lang.Object
-
- repast.simphony.ui.DefaultActionUI
-
- All Implemented Interfaces:
ActionUI
- Direct Known Subclasses:
DataLoaderActionUI
,FreezerActionUI
public class DefaultActionUI extends Object implements ActionUI
- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description DefaultActionUI(String label)
-
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
-
DefaultActionUI
public DefaultActionUI(String label)
-
-
Method Detail
-
getLabel
public String getLabel()
-
getEditor
public Editor getEditor(ScenarioTreeEvent evt)
Description copied from interface:ActionUI
Gets the Editor (an editor panel) for editing an action.
-
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.
-
-