Package repast.simphony.ui
Class DescriptorActionUI<T extends Descriptor>
- java.lang.Object
-
- repast.simphony.ui.DescriptorActionUI<T>
-
- All Implemented Interfaces:
ActionUI
- Direct Known Subclasses:
ConsoleSinkActionUI
,DataSetActionUI
,FileSinkActionUI
,HistogramActionUI
,SchedulableActionActionUI
,TimeSeriesActionUI
public class DescriptorActionUI<T extends Descriptor> extends Object implements ActionUI
- Version:
- $Revision: 1.1 $ $Date: 2006/01/06 22:27:26 $
- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description DescriptorActionUI(T descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Editor
getEditor(ScenarioTreeEvent evt)
Returns null indicating the this is not editable, or has nothing interesting to display.String
getLabel()
JPopupMenu
getPopupMenu(ScenarioTreeEvent evt)
Gets JPopupMenu to attach to the tree entry for an action.
-
-
-
Constructor Detail
-
DescriptorActionUI
public DescriptorActionUI(T descriptor)
-
-
Method Detail
-
getLabel
public String getLabel()
-
getEditor
public Editor getEditor(ScenarioTreeEvent evt)
Returns null indicating the this is not editable, or has nothing interesting to display.
-
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.
-
-