|
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.CompactOrthogonalLayoutModule
public class CompactOrthogonalLayoutModule
This module represents an interactive configurator and launcher for
CompactOrthogonalLayouter
.
Field Summary | |
---|---|
protected static java.lang.String |
ITEM_ASPECT_RATIO
|
protected static java.lang.String |
ITEM_BEND_COST
|
protected static java.lang.String |
ITEM_CENTER_TO_SPACE_RATIO
|
protected static java.lang.String |
ITEM_EDGE_CROSSING_COST
|
protected static java.lang.String |
ITEM_EDGE_ROUTER
|
protected static java.lang.String |
ITEM_GRID
|
protected static java.lang.String |
ITEM_MINIMUM_DISTANCE
|
protected static java.lang.String |
ITEM_NODE_CROSSING_COST
|
protected static java.lang.String |
ITEM_ORTHOGONAL_LAYOUT_STYLE
|
protected static java.lang.String |
ITEM_PLACEMENT_STRATEGY
|
protected static java.lang.String |
ITEM_ROUTE_ALL_EDGES
|
protected static java.lang.String |
ITEM_USE_VIEW_ASPECT_RATIO
|
protected static java.lang.String |
MODULE_COMPACT_ORTHOGONAL
|
protected static java.lang.String |
TITLE_INTER_EDGE_ROUTER
|
protected static java.lang.String |
VALUE_EDGE_ROUTER_CHANNEL_FAST
|
protected static java.lang.String |
VALUE_EDGE_ROUTER_CHANNEL_HQ
|
protected static java.lang.String |
VALUE_EDGE_ROUTER_ORTHOGONAL
|
protected static java.lang.String |
VALUE_FIXED_BOX_NODES
|
protected static java.lang.String |
VALUE_FIXED_MIXED
|
protected static java.lang.String |
VALUE_NORMAL
|
protected static java.lang.String |
VALUE_NORMAL_TREE
|
protected static java.lang.String |
VALUE_STYLE_PACKED_COMPACT_RECTANGLE
|
protected static java.lang.String |
VALUE_STYLE_ROWS
|
Fields inherited from class y.module.YModule |
---|
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS |
Constructor Summary | |
---|---|
CompactOrthogonalLayoutModule()
Creates an instance of this module. |
Method Summary | |
---|---|
protected void |
configure(CompactOrthogonalLayouter orthogonal,
OptionHandler options)
Configures the module's layout algorithm according to the given options. |
protected OptionHandler |
createOptionHandler()
Creates an OptionHandler and adds the option items used by this module. |
protected void |
mainrun()
Main module execution routine. |
Methods inherited from class y.module.YModule |
---|
addModuleListener, createThread, dispose, exceptionHappened, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleListeners, getModuleName, getOptionHandler, getTimer, getView, init, initGuiFactory, 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 static final java.lang.String MODULE_COMPACT_ORTHOGONAL
protected static final java.lang.String ITEM_ORTHOGONAL_LAYOUT_STYLE
protected static final java.lang.String VALUE_NORMAL
protected static final java.lang.String VALUE_NORMAL_TREE
protected static final java.lang.String VALUE_FIXED_MIXED
protected static final java.lang.String VALUE_FIXED_BOX_NODES
protected static final java.lang.String ITEM_PLACEMENT_STRATEGY
protected static final java.lang.String VALUE_STYLE_ROWS
protected static final java.lang.String VALUE_STYLE_PACKED_COMPACT_RECTANGLE
protected static final java.lang.String ITEM_USE_VIEW_ASPECT_RATIO
protected static final java.lang.String ITEM_ASPECT_RATIO
protected static final java.lang.String ITEM_GRID
protected static final java.lang.String TITLE_INTER_EDGE_ROUTER
protected static final java.lang.String ITEM_EDGE_ROUTER
protected static final java.lang.String VALUE_EDGE_ROUTER_CHANNEL_FAST
protected static final java.lang.String VALUE_EDGE_ROUTER_CHANNEL_HQ
protected static final java.lang.String VALUE_EDGE_ROUTER_ORTHOGONAL
protected static final java.lang.String ITEM_ROUTE_ALL_EDGES
protected static final java.lang.String ITEM_BEND_COST
protected static final java.lang.String ITEM_NODE_CROSSING_COST
protected static final java.lang.String ITEM_MINIMUM_DISTANCE
protected static final java.lang.String ITEM_EDGE_CROSSING_COST
protected static final java.lang.String ITEM_CENTER_TO_SPACE_RATIO
Constructor Detail |
---|
public CompactOrthogonalLayoutModule()
Method Detail |
---|
protected OptionHandler createOptionHandler()
createOptionHandler
in class YModule
OptionHandler
providing module related optionsprotected void mainrun()
mainrun
in class YModule
protected void configure(CompactOrthogonalLayouter orthogonal, OptionHandler options)
Important: This method does also depend on the Graph2DView
of this module in addition to the method's parameters.
orthogonal
- the CompactOrthogonalLayouter
to be configuredoptions
- an OptionHandler
providing the option-values referred to
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |