|
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.TreeMapLayoutModule
public class TreeMapLayoutModule
This module represents an interactive configurator and launcher for TreeMapLayouter
.
Field Summary | |
---|---|
protected static java.lang.String |
ALGORITHM_GROUP_TITLE
|
protected static java.lang.String |
INPUT_GROUP_TITLE
|
protected static java.lang.String |
ITEM_MINIMUM_NODE_HEIGHT
|
protected static java.lang.String |
ITEM_MINIMUM_NODE_WIDTH
|
protected static java.lang.String |
ITEM_ORDER
|
protected static java.lang.String |
ITEM_ORDER_LEAFS
|
protected static java.lang.String |
ITEM_PREFERRED_HEIGHT
|
protected static java.lang.String |
ITEM_PREFERRED_WIDTH
|
protected static java.lang.String |
ITEM_SPACING
|
protected static java.lang.String |
ITEM_SQUARIFIED_ASPECT_RATIO
|
protected static java.lang.String |
ITEM_TREE_MAP_ALGORITHM
|
protected static java.lang.String |
ITEM_WEIGHT_INPUT
|
protected static java.lang.String |
MODULE_TREE_MAP
|
protected static java.lang.String |
VALUE_ALGORITHM_SLICE_AND_DICE
|
protected static java.lang.String |
VALUE_ALGORITHM_SQUARIFIED
|
protected static java.lang.String |
VALUE_ASCENDING
|
protected static java.lang.String |
VALUE_CURRENT_NODE_SIZES
|
protected static java.lang.String |
VALUE_DESCENDING
|
protected static java.lang.String |
VALUE_LEAFS_IGNORE
|
protected static java.lang.String |
VALUE_LEAFS_LEADING
|
protected static java.lang.String |
VALUE_LEAFS_TRAILING
|
protected static java.lang.String |
VALUE_NODE_LABELS
|
protected static java.lang.String |
VALUE_UNIFORM
|
Fields inherited from class y.module.YModule |
---|
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS |
Constructor Summary | |
---|---|
TreeMapLayoutModule()
Creates a new instance of this module. |
Method Summary | |
---|---|
protected void |
configure(TreeMapLayouter layouter,
OptionHandler options)
Configures the given tree map layout algorithm according to the given options. |
protected OptionHandler |
createOptionHandler()
Creates an option handler 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_TREE_MAP
protected static final java.lang.String INPUT_GROUP_TITLE
protected static final java.lang.String ITEM_WEIGHT_INPUT
protected static final java.lang.String VALUE_CURRENT_NODE_SIZES
protected static final java.lang.String VALUE_NODE_LABELS
protected static final java.lang.String VALUE_UNIFORM
protected static final java.lang.String ALGORITHM_GROUP_TITLE
protected static final java.lang.String ITEM_TREE_MAP_ALGORITHM
protected static final java.lang.String VALUE_ALGORITHM_SQUARIFIED
protected static final java.lang.String VALUE_ALGORITHM_SLICE_AND_DICE
protected static final java.lang.String ITEM_SQUARIFIED_ASPECT_RATIO
protected static final java.lang.String ITEM_ORDER
protected static final java.lang.String VALUE_DESCENDING
protected static final java.lang.String VALUE_ASCENDING
protected static final java.lang.String ITEM_ORDER_LEAFS
protected static final java.lang.String VALUE_LEAFS_TRAILING
protected static final java.lang.String VALUE_LEAFS_LEADING
protected static final java.lang.String VALUE_LEAFS_IGNORE
protected static final java.lang.String ITEM_PREFERRED_WIDTH
protected static final java.lang.String ITEM_PREFERRED_HEIGHT
protected static final java.lang.String ITEM_SPACING
protected static final java.lang.String ITEM_MINIMUM_NODE_WIDTH
protected static final java.lang.String ITEM_MINIMUM_NODE_HEIGHT
Constructor Detail |
---|
public TreeMapLayoutModule()
Method Detail |
---|
protected OptionHandler createOptionHandler()
createOptionHandler
in class YModule
OptionHandler
providing module related optionsprotected void mainrun()
mainrun
in class YModule
protected void configure(TreeMapLayouter layouter, OptionHandler options)
layouter
- the TreeMapLayouter
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 |