y.module
Class TreeMapLayoutModule
java.lang.Object
y.module.YModule
y.module.LayoutModule
y.module.TreeMapLayoutModule
public class TreeMapLayoutModule
- extends LayoutModule
This module represents an interactive configurator and launcher for TreeMapLayouter
.
-
-
Methods inherited from class y.module.LayoutModule |
backupDataProvider, createAnimationPlayer, createLayoutExecutor, createLayoutMorpher, getBufferedMode, getLayoutExecutor, isAbortable, isMorphingEnabled, isPortIntersectionCalculatorEnabled, launchLayouter, launchLayouter, restoreDataProvider, setBufferedMode, setLayoutExecutor, setMorphingEnabled, setPortIntersectionCalculatorEnabled, useEventDispatchThread |
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 |
MODULE_TREE_MAP
protected static final java.lang.String MODULE_TREE_MAP
- See Also:
- Constant Field Values
INPUT_GROUP_TITLE
protected static final java.lang.String INPUT_GROUP_TITLE
- See Also:
- Constant Field Values
ITEM_WEIGHT_INPUT
protected static final java.lang.String ITEM_WEIGHT_INPUT
- See Also:
- Constant Field Values
VALUE_CURRENT_NODE_SIZES
protected static final java.lang.String VALUE_CURRENT_NODE_SIZES
- See Also:
- Constant Field Values
VALUE_NODE_LABELS
protected static final java.lang.String VALUE_NODE_LABELS
- See Also:
- Constant Field Values
VALUE_UNIFORM
protected static final java.lang.String VALUE_UNIFORM
- See Also:
- Constant Field Values
ALGORITHM_GROUP_TITLE
protected static final java.lang.String ALGORITHM_GROUP_TITLE
- See Also:
- Constant Field Values
ITEM_TREE_MAP_ALGORITHM
protected static final java.lang.String ITEM_TREE_MAP_ALGORITHM
- See Also:
- Constant Field Values
VALUE_ALGORITHM_SQUARIFIED
protected static final java.lang.String VALUE_ALGORITHM_SQUARIFIED
- See Also:
- Constant Field Values
VALUE_ALGORITHM_SLICE_AND_DICE
protected static final java.lang.String VALUE_ALGORITHM_SLICE_AND_DICE
- See Also:
- Constant Field Values
ITEM_SQUARIFIED_ASPECT_RATIO
protected static final java.lang.String ITEM_SQUARIFIED_ASPECT_RATIO
- See Also:
- Constant Field Values
ITEM_ORDER
protected static final java.lang.String ITEM_ORDER
- See Also:
- Constant Field Values
VALUE_DESCENDING
protected static final java.lang.String VALUE_DESCENDING
- See Also:
- Constant Field Values
VALUE_ASCENDING
protected static final java.lang.String VALUE_ASCENDING
- See Also:
- Constant Field Values
ITEM_ORDER_LEAFS
protected static final java.lang.String ITEM_ORDER_LEAFS
- See Also:
- Constant Field Values
VALUE_LEAFS_TRAILING
protected static final java.lang.String VALUE_LEAFS_TRAILING
- See Also:
- Constant Field Values
VALUE_LEAFS_LEADING
protected static final java.lang.String VALUE_LEAFS_LEADING
- See Also:
- Constant Field Values
VALUE_LEAFS_IGNORE
protected static final java.lang.String VALUE_LEAFS_IGNORE
- See Also:
- Constant Field Values
ITEM_PREFERRED_WIDTH
protected static final java.lang.String ITEM_PREFERRED_WIDTH
- See Also:
- Constant Field Values
ITEM_PREFERRED_HEIGHT
protected static final java.lang.String ITEM_PREFERRED_HEIGHT
- See Also:
- Constant Field Values
ITEM_SPACING
protected static final java.lang.String ITEM_SPACING
- See Also:
- Constant Field Values
ITEM_MINIMUM_NODE_WIDTH
protected static final java.lang.String ITEM_MINIMUM_NODE_WIDTH
- See Also:
- Constant Field Values
ITEM_MINIMUM_NODE_HEIGHT
protected static final java.lang.String ITEM_MINIMUM_NODE_HEIGHT
- See Also:
- Constant Field Values
TreeMapLayoutModule
public TreeMapLayoutModule()
- Creates a new instance of this module.
createOptionHandler
protected OptionHandler createOptionHandler()
- Creates an option handler and adds the option items used by this module.
- Overrides:
createOptionHandler
in class YModule
- Returns:
- the created
OptionHandler
providing module related options
mainrun
protected void mainrun()
- Main module execution routine.
Launches the tree map layout algorithm.
- Specified by:
mainrun
in class YModule
configure
protected void configure(TreeMapLayouter layouter,
OptionHandler options)
- Configures the given tree map layout algorithm according to the given options.
- Parameters:
layouter
- the TreeMapLayouter
to be configuredoptions
- the layout options to set