|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectverinec.gui.configurator.Configurator
public class Configurator
Main class for the network configuration module.
Because most of the functionality for modifying the network is provided by the core, we just attach context menues to the nodes to allow mouse interactiv operations to change the network.
Introduces the following additional keyboard shortcuts
| Nested Class Summary | |
|---|---|
(package private) class |
Configurator.AddBindingAction
Actions for MultiInterfaces, that is the Add Binding action. |
(package private) class |
Configurator.ChangeSideAction
Action to change the side of an interface. |
(package private) class |
Configurator.DeconnectAction
Action for visible (Multi) bindings and for SingleInterfaces, handles the Deconnect. |
(package private) class |
Configurator.DeleteAction
|
(package private) class |
Configurator.DrawPanelMouse
Additional mouse listener for the DrawPanel. |
(package private) class |
Configurator.EscKeyAction
Listener for keyboard typing, reacts on esc key in edit mode to end node creation. |
(package private) class |
Configurator.InvertNodeSelectionAction
Action to invert selection, that is select all previously unselected nodes and deselect all currently selected nodes. |
(package private) class |
Configurator.PCNodeAction
Action for the PCNodes, that is add interfaces. |
(package private) class |
Configurator.PropertiesAction
|
(package private) class |
Configurator.SelectAllAction
Action to select all nodes in this network. |
(package private) class |
Configurator.UnSelectAllAction
Action to unselect all nodes currently selected. |
| Field Summary | |
|---|---|
private DrawPanel |
drawPanel
|
private VerinecStudio |
gui
|
private NodesToolbar |
nodesToolbar
|
private MouseListener |
panelMouse
|
private WireConnectionListener |
wireMouse
|
| Constructor Summary | |
|---|---|
Configurator()
|
|
| Method Summary | |
|---|---|
void |
load(VerinecStudio parent)
Load this module to be the active module. |
String |
toString()
The toString method should just return the modules name for the module selection dropdown. |
void |
unload()
Unload this module, it can clean up its own stuff etc. |
void |
updateComponent(NwComponent c)
Adds context menues depending on the types. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private WireConnectionListener wireMouse
private MouseListener panelMouse
private VerinecStudio gui
private DrawPanel drawPanel
private NodesToolbar nodesToolbar
| Constructor Detail |
|---|
public Configurator()
| Method Detail |
|---|
public String toString()
IVerinecModule
toString in interface IVerinecModuletoString in class ObjectIVerinecModule.toString()
public void load(VerinecStudio parent)
throws VerinecException
IVerinecModule
load in interface IVerinecModuleparent - The analyser to use for call backs.
VerinecException - If something goes wrong while loading. The module will not be used after throwing an exception.IVerinecModule.load(verinec.gui.VerinecStudio)public void unload()
IVerinecModule
unload in interface IVerinecModuleIVerinecModule.unload()public void updateComponent(NwComponent c)
c - The component to update.
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||