|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.module.YModule
y.module.LayoutModule
y.module.BusRouterModule
public class BusRouterModule
Module for the BusRouter.
There are more scopes in this module than in BusRouter. Each additional scope is mapped to an appropriate
combinations of scope and fixed edges in BusRouter.
BusRouter.SCOPE_ALL. All edges are in scope, and all of them are movable.BusRouter.SCOPE_SUBSET. The selected edges are in scope, and all of them are movable.
| Field Summary | |
|---|---|
protected boolean |
optionsLayout
Specifies whether the options of group layout are used. |
protected boolean |
optionsRouting
Specifies whether the options for routing and recombination are used. |
protected boolean |
optionsSelection
Specifies whether the options for initial backbone selection are used. |
| Fields inherited from class y.module.YModule |
|---|
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS |
| Constructor Summary | |
|---|---|
BusRouterModule()
Creates a new instance of this module. |
|
| Method Summary | |
|---|---|
protected void |
addOptionItems(OptionHandler oh)
Adds the option items used by this module to the given OptionHandler. |
void |
configure(BusRouter busRouter)
Configures an instance of BusRouter. |
protected OptionHandler |
createOptionHandler()
Creates an option handler for this module. |
protected void |
dispose()
Disposes this module after mainrun(). |
protected BusRouter |
getBusRouter()
Returns the bus router used by this module. |
protected void |
init()
Prepares this module for mainrun(). |
protected void |
initOptionHandler(OptionHandler oh,
BusRouter busRouter)
Sets the option items of the given option handler to the settings of the given BusRouter. |
protected void |
mainrun()
Launches the layouter of this module. |
| Methods inherited from class y.module.YModule |
|---|
addModuleListener, createThread, exceptionHappened, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleName, getOptionHandler, getTimer, getView, isBackupRealizersEnabled, removeModuleListener, run, setBackupRealizersEnabled, setExitStatus, setGraph2D, setModuleName, setOptionHandler, start, startAsThread |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean optionsLayout
protected boolean optionsSelection
protected boolean optionsRouting
| Constructor Detail |
|---|
public BusRouterModule()
| Method Detail |
|---|
protected OptionHandler createOptionHandler()
createOptionHandler in class YModulenull by default.protected void addOptionItems(OptionHandler oh)
OptionHandler.
oh - the OptionHandler to add the items to
protected void initOptionHandler(OptionHandler oh,
BusRouter busRouter)
BusRouter.
oh - the option handlerbusRouter - the bus routerpublic void configure(BusRouter busRouter)
BusRouter. The values provided by this module's option handler
are being used for this purpose.
busRouter - the BusRouter to be configured.protected BusRouter getBusRouter()
protected void mainrun()
mainrun in class YModuleprotected void init()
mainrun().
init in class YModuleprotected void dispose()
mainrun().
dispose in class YModule
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||