|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.graph.BasicEdgeController
ptolemy.vergil.fsm.TransitionController
public class TransitionController
This class provides interaction techniques for transitions in an FSM.
Red (johnr) |
Red (eal) |
Nested Class Summary | |
---|---|
protected class |
TransitionController.LinkDropper
An inner class that handles interactive changes to connectivity. |
static class |
TransitionController.LinkRenderer
Render a link. |
static class |
TransitionController.LinkTarget
A Link target. |
private class |
TransitionController.LookInsideAction
An action to look inside a transition at its refinement, if it has one. |
Nested classes/interfaces inherited from class diva.graph.BasicEdgeController |
---|
BasicEdgeController.EdgeDropper |
Field Summary | |
---|---|
protected Configuration |
_configuration
The configuration. |
protected static ConfigureAction |
_configureAction
The configure action, which handles edit parameters requests. |
protected MenuActionFactory |
_configureMenuFactory
The submenu for configure actions. |
private static java.awt.Font |
_labelFont
|
protected TransitionController.LookInsideAction |
_lookInsideAction
The action that handles look inside. |
protected MenuActionFactory |
_lookInsideActionFactory
The menu factory for _lookInsideAction. null if the factory has not been added to the context menu. |
protected MenuCreator |
_menuCreator
The menu creator. |
protected PtolemyMenuFactory |
_menuFactory
The factory belonging to the menu creator. |
Constructor Summary | |
---|---|
TransitionController(GraphController controller)
Create a transition controller associated with the specified graph controller. |
Method Summary | |
---|---|
void |
addHotKeys(JGraph jgraph)
Add hot keys to the actions in the given JGraph. |
void |
setConfiguration(Configuration configuration)
Set the configuration. |
Methods inherited from class diva.graph.BasicEdgeController |
---|
addEdge, addEdge, clearEdge, drawEdge, getConnectorTarget, getController, getEdgeInteractor, getEdgeRenderer, removeEdge, render, setConnectorTarget, setEdgeInteractor, setEdgeRenderer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Configuration _configuration
protected static ConfigureAction _configureAction
protected MenuActionFactory _configureMenuFactory
protected TransitionController.LookInsideAction _lookInsideAction
protected MenuActionFactory _lookInsideActionFactory
protected MenuCreator _menuCreator
protected PtolemyMenuFactory _menuFactory
private static java.awt.Font _labelFont
Constructor Detail |
---|
public TransitionController(GraphController controller)
controller
- The associated graph controller.Method Detail |
---|
public void addHotKeys(JGraph jgraph)
jgraph
- The JGraph to which hot keys are to be added.public void setConfiguration(Configuration configuration)
configuration
- The configuration.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |