public class LinkController extends BasicEdgeController
Modifier and Type | Class and Description |
---|---|
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.
|
BasicEdgeController.EdgeDropper
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
LinkController(GraphController controller)
Create a link controller associated with the specified graph
controller.
|
Modifier and Type | Method and Description |
---|---|
void |
setConfiguration(Configuration configuration)
Set the configuration.
|
addEdge, addEdge, clearEdge, drawEdge, getConnectorTarget, getController, getEdgeInteractor, getEdgeRenderer, removeEdge, render, setConnectorTarget, setEdgeInteractor, setEdgeRenderer
protected Configuration _configuration
protected static ConfigureAction _configureAction
protected MenuActionFactory _configureMenuFactory
protected MenuCreator _menuCreator
protected PtolemyMenuFactory _menuFactory
public LinkController(GraphController controller)
controller
- The associated graph controller.public void setConfiguration(Configuration configuration)
configuration
- The configuration.