|
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.BalloonLayoutModule
public class BalloonLayoutModule
This module represents an interactive configurator and launcher for BalloonLayouter
.
Field Summary | |
---|---|
protected static java.lang.String |
EDGE_BUNDLING_STRENGTH
|
protected static java.lang.String |
ITEM_ACT_ON_SELECTION_ONLY
|
protected static java.lang.String |
ITEM_ALLOW_OVERLAPS
|
protected static java.lang.String |
ITEM_BALLOON_FROM_SKETCH
|
protected static java.lang.String |
ITEM_COMPACTNESS_FACTOR
|
protected static java.lang.String |
ITEM_INTEGRATED_EDGE_LABELING
|
protected static java.lang.String |
ITEM_MINIMAL_EDGE_LENGTH
|
protected static java.lang.String |
ITEM_NODE_LABELING_STYLE
|
protected static java.lang.String |
ITEM_PLACE_CHILDREN_INTERLEAVED
|
protected static java.lang.String |
ITEM_PREFERRED_CHILD_WEDGE
|
protected static java.lang.String |
ITEM_PREFERRED_ROOT_WEDGE
|
protected static java.lang.String |
ITEM_ROOT_NODE_POLICY
|
protected static java.lang.String |
ITEM_ROUTING_STYLE_FOR_NON_TREE_EDGES
|
protected static java.lang.String |
ITEM_STRAIGHTEN_CHAINS
|
protected static java.lang.String |
MODULE_BALLOON
|
protected static java.lang.String |
SECTION_GENERAL
|
protected static java.lang.String |
SECTION_LABELING
|
protected static java.lang.String |
VALUE_CENTER_ROOT
|
protected static java.lang.String |
VALUE_DIRECTED_ROOT
|
protected static java.lang.String |
VALUE_NODE_LABELING_STYLE_CONSIDER_CURRENT_POSITION
|
protected static java.lang.String |
VALUE_NODE_LABELING_STYLE_HORIZONTAL
|
protected static java.lang.String |
VALUE_NODE_LABELING_STYLE_NONE
|
protected static java.lang.String |
VALUE_NODE_LABELING_STYLE_RAYLIKE_LEAVES
|
protected static java.lang.String |
VALUE_ROUTE_BUNDLED
|
protected static java.lang.String |
VALUE_ROUTE_ORGANIC
|
protected static java.lang.String |
VALUE_ROUTE_ORTHOGONAL
|
protected static java.lang.String |
VALUE_ROUTE_STRAIGHTLINE
|
protected static java.lang.String |
VALUE_SELECTED_ROOT
|
protected static java.lang.String |
VALUE_WEIGHTED_CENTER_ROOT
|
Fields inherited from class y.module.YModule |
---|
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS |
Constructor Summary | |
---|---|
BalloonLayoutModule()
Creates an instance of this module. |
Method Summary | |
---|---|
protected void |
configure(BalloonLayouter balloon,
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. |
protected void |
restoreGraph(Graph2D graph,
OptionHandler options)
Restores the given graph by freeing up resources created by
prepareGraph(y.view.Graph2D, y.option.OptionHandler) . |
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_BALLOON
protected static final java.lang.String SECTION_GENERAL
protected static final java.lang.String ITEM_ROOT_NODE_POLICY
protected static final java.lang.String VALUE_DIRECTED_ROOT
protected static final java.lang.String VALUE_CENTER_ROOT
protected static final java.lang.String VALUE_SELECTED_ROOT
protected static final java.lang.String VALUE_WEIGHTED_CENTER_ROOT
protected static final java.lang.String ITEM_ROUTING_STYLE_FOR_NON_TREE_EDGES
protected static final java.lang.String VALUE_ROUTE_ORGANIC
protected static final java.lang.String VALUE_ROUTE_ORTHOGONAL
protected static final java.lang.String VALUE_ROUTE_STRAIGHTLINE
protected static final java.lang.String VALUE_ROUTE_BUNDLED
protected static final java.lang.String ITEM_ACT_ON_SELECTION_ONLY
protected static final java.lang.String ITEM_PREFERRED_CHILD_WEDGE
protected static final java.lang.String ITEM_PREFERRED_ROOT_WEDGE
protected static final java.lang.String ITEM_MINIMAL_EDGE_LENGTH
protected static final java.lang.String ITEM_COMPACTNESS_FACTOR
protected static final java.lang.String ITEM_ALLOW_OVERLAPS
protected static final java.lang.String ITEM_BALLOON_FROM_SKETCH
protected static final java.lang.String ITEM_PLACE_CHILDREN_INTERLEAVED
protected static final java.lang.String ITEM_STRAIGHTEN_CHAINS
protected static final java.lang.String EDGE_BUNDLING_STRENGTH
protected static final java.lang.String SECTION_LABELING
protected static final java.lang.String ITEM_NODE_LABELING_STYLE
protected static final java.lang.String VALUE_NODE_LABELING_STYLE_NONE
protected static final java.lang.String VALUE_NODE_LABELING_STYLE_HORIZONTAL
protected static final java.lang.String VALUE_NODE_LABELING_STYLE_RAYLIKE_LEAVES
protected static final java.lang.String VALUE_NODE_LABELING_STYLE_CONSIDER_CURRENT_POSITION
protected static final java.lang.String ITEM_INTEGRATED_EDGE_LABELING
Constructor Detail |
---|
public BalloonLayoutModule()
Method Detail |
---|
protected OptionHandler createOptionHandler()
createOptionHandler
in class YModule
OptionHandler
providing module related optionsprotected void mainrun()
mainrun
in class YModule
protected void restoreGraph(Graph2D graph, OptionHandler options)
graph
by freeing up resources created by
prepareGraph(y.view.Graph2D, y.option.OptionHandler)
.
graph
- the graph for which prepareGraph
has been calledoptions
- the options for the module's layout algorithmprotected void configure(BalloonLayouter balloon, OptionHandler options)
balloon
- the BalloonLayouter
to be configuredoptions
- the layout options to set
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |