|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.module.YModule y.module.LayoutModule y.module.PolylineEdgeRouterModule
public class PolylineEdgeRouterModule
This module represents an interactive configurator and launcher for EdgeRouter
.
Field Summary |
---|
Fields inherited from class y.module.YModule |
---|
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS |
Constructor Summary | |
---|---|
PolylineEdgeRouterModule()
Creates a new instance of this module. |
Method Summary | |
---|---|
void |
configure(Layouter layouter)
Configures the given layouter with the values from the OptionHandler . |
OptionHandler |
createOptionHandler()
Creates a new OptionHandler for this module. |
protected void |
dispose()
Disposes this module after mainrun() and removes all previously added DataProvider s from
the graph. |
protected void |
init()
Initializes the EdgeRouter in this module for mainrun() with the values from the OptionHandler and adds a DataProvider that maps edges to their selection state to the graph. |
void |
mainrun()
Launches the EdgeRouter 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 |
Constructor Detail |
---|
public PolylineEdgeRouterModule()
Method Detail |
---|
public OptionHandler createOptionHandler()
OptionHandler
for this module.
createOptionHandler
in class YModule
OptionHandler
for this module.protected void init()
EdgeRouter
in this module for mainrun()
with the values from the OptionHandler
and adds a DataProvider
that maps edges to their selection state to the graph.
init
in class YModule
public void configure(Layouter layouter)
OptionHandler
.
IllegalArgumentException
- if the given layouter is not of type EdgeRouter
.layouter
- the layouter to configure.public void mainrun()
EdgeRouter
of this module.
mainrun
in class YModule
protected void dispose()
mainrun()
and removes all previously added DataProvider
s from
the graph.
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 |