|
|||||||||
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.actor.LinkController
public class LinkController
This class provides interaction techniques for edges that are to be connected between ports and relations. Standard interaction techniques for an undirected edge are allowed.
Red (johnr) |
Red (eal) |
Nested Class Summary | |
---|---|
protected class |
LinkController.LinkDropper
An inner class that handles interactive changes to connectivity. |
static class |
LinkController.LinkRenderer
Render a visual representation of a link. |
static class |
LinkController.LinkTarget
A connector target that returns sites on a link. |
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. |
protected MenuCreator |
_menuCreator
The menu creator. |
protected PtolemyMenuFactory |
_menuFactory
The factory belonging to the menu creator. |
private static ContextMenuFactoryCreator |
cmfCreator
a configurable object that allows a different MenuFactory to be specified instead of the default ptII one. |
Constructor Summary | |
---|---|
LinkController(GraphController controller)
Create a link controller associated with the specified graph controller. |
Method Summary | |
---|---|
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 MenuCreator _menuCreator
protected PtolemyMenuFactory _menuFactory
private static ContextMenuFactoryCreator cmfCreator
Constructor Detail |
---|
public LinkController(GraphController controller)
controller
- The associated graph controller.Method Detail |
---|
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 |