Class UICreatorFactory.WindowRegistry
- java.lang.Object
-
- repast.simphony.statecharts.runtime.UICreatorFactory.WindowRegistry
-
- Enclosing class:
- UICreatorFactory
public static class UICreatorFactory.WindowRegistry extends Object
The WindowRegistry keeps track of open statechart displays and buttons to coordinate button label and color highlighting.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<StateChart,List<UICreatorFactory.StateChartButton>>
buttonRegistry
protected static UICreatorFactory.WindowRegistry
instance
protected Map<StateChart,StateChartSVGDisplayController>
windowRegistry
-
Constructor Summary
Constructors Constructor Description WindowRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addButton(StateChart statechart, UICreatorFactory.StateChartButton button)
void
addWindow(StateChart statechart, StateChartSVGDisplayController controller)
Map<StateChart,List<UICreatorFactory.StateChartButton>>
getButtonRegistry()
StateChartSVGDisplayController
getController(StateChart statechart)
static UICreatorFactory.WindowRegistry
getInstance()
Map<StateChart,StateChartSVGDisplayController>
getWindowRegistry()
void
removeWindow(StateChart statechart)
-
-
-
Field Detail
-
windowRegistry
protected Map<StateChart,StateChartSVGDisplayController> windowRegistry
-
buttonRegistry
protected Map<StateChart,List<UICreatorFactory.StateChartButton>> buttonRegistry
-
instance
protected static UICreatorFactory.WindowRegistry instance
-
-
Method Detail
-
getInstance
public static UICreatorFactory.WindowRegistry getInstance()
-
addWindow
public void addWindow(StateChart statechart, StateChartSVGDisplayController controller)
-
removeWindow
public void removeWindow(StateChart statechart)
-
addButton
public void addButton(StateChart statechart, UICreatorFactory.StateChartButton button)
-
getController
public StateChartSVGDisplayController getController(StateChart statechart)
-
getWindowRegistry
public Map<StateChart,StateChartSVGDisplayController> getWindowRegistry()
-
getButtonRegistry
public Map<StateChart,List<UICreatorFactory.StateChartButton>> getButtonRegistry()
-
-