Search this API

y.module
Class ClearAreaLayoutModule

java.lang.Object
  extended by y.module.YModule
      extended by y.module.LayoutModule
          extended by y.module.ClearAreaLayoutModule

public class ClearAreaLayoutModule
extends LayoutModule

This module represents an interactive configurator and launcher for ClearAreaLayouter.

 

Field Summary
protected static java.lang.String ITEM_COMPONENT_ASSIGNMENT_STRATEGY
           
protected static java.lang.String ITEM_CONSIDER_EDGE_LABELS
           
protected static java.lang.String ITEM_CONSIDER_NODE_LABELS
           
protected static java.lang.String ITEM_FIX_PORTS
           
protected static java.lang.String ITEM_GRID_SPACING
           
protected static java.lang.String ITEM_MAXIMAL_DURATION
           
protected static java.lang.String ITEM_ORIENTATION
           
protected static java.lang.String ITEM_ROUTING_STRATEGY
           
protected static java.lang.String ITEM_SPACING
           
protected static java.lang.String ITEM_STRATEGY
           
protected static java.lang.String MODULE_CLEAR_AREA_LAYOUT
           
protected static java.lang.String VALUE_COMPONENT_ASSIGNMENT_CLUSTERING
           
protected static java.lang.String VALUE_COMPONENT_ASSIGNMENT_CONNECTED
           
protected static java.lang.String VALUE_COMPONENT_ASSIGNMENT_FROM_LABELS
           
protected static java.lang.String VALUE_COMPONENT_ASSIGNMENT_SINGLE
           
protected static java.lang.String VALUE_ORIENTATION_AUTO_DETECT
           
protected static java.lang.String VALUE_ORIENTATION_BOTTOM_TO_TOP
           
protected static java.lang.String VALUE_ORIENTATION_LEFT_TO_RIGHT
           
protected static java.lang.String VALUE_ORIENTATION_NONE
           
protected static java.lang.String VALUE_ORIENTATION_RIGHT_TO_LEFT
           
protected static java.lang.String VALUE_ORIENTATION_TOP_TO_BOTTOM
           
protected static java.lang.String VALUE_ROUTING_AUTOMATIC
           
protected static java.lang.String VALUE_ROUTING_OCTILINEAR
           
protected static java.lang.String VALUE_ROUTING_ORGANIC
           
protected static java.lang.String VALUE_ROUTING_ORTHOGONAL
           
protected static java.lang.String VALUE_ROUTING_STRAIGHTLINE
           
protected static java.lang.String VALUE_STRATEGY_GLOBAL
           
protected static java.lang.String VALUE_STRATEGY_LOCAL
           
protected static java.lang.String VALUE_STRATEGY_PRESERVE_SHAPES
           
 
Fields inherited from class y.module.YModule
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS
 
Constructor Summary
ClearAreaLayoutModule()
          Creates a new instance of this module.
 
Method Summary
protected  OptionHandler createOptionHandler()
          Creates an option handler for this class.
protected  void mainrun()
          Main execution code to be implemented by any subclassing module.
 
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
 

Field Detail

MODULE_CLEAR_AREA_LAYOUT

protected static final java.lang.String MODULE_CLEAR_AREA_LAYOUT
See Also:
Constant Field Values

ITEM_ORIENTATION

protected static final java.lang.String ITEM_ORIENTATION
See Also:
Constant Field Values

VALUE_ORIENTATION_TOP_TO_BOTTOM

protected static final java.lang.String VALUE_ORIENTATION_TOP_TO_BOTTOM
See Also:
Constant Field Values

VALUE_ORIENTATION_BOTTOM_TO_TOP

protected static final java.lang.String VALUE_ORIENTATION_BOTTOM_TO_TOP
See Also:
Constant Field Values

VALUE_ORIENTATION_LEFT_TO_RIGHT

protected static final java.lang.String VALUE_ORIENTATION_LEFT_TO_RIGHT
See Also:
Constant Field Values

VALUE_ORIENTATION_RIGHT_TO_LEFT

protected static final java.lang.String VALUE_ORIENTATION_RIGHT_TO_LEFT
See Also:
Constant Field Values

VALUE_ORIENTATION_AUTO_DETECT

protected static final java.lang.String VALUE_ORIENTATION_AUTO_DETECT
See Also:
Constant Field Values

VALUE_ORIENTATION_NONE

protected static final java.lang.String VALUE_ORIENTATION_NONE
See Also:
Constant Field Values

ITEM_ROUTING_STRATEGY

protected static final java.lang.String ITEM_ROUTING_STRATEGY
See Also:
Constant Field Values

VALUE_ROUTING_AUTOMATIC

protected static final java.lang.String VALUE_ROUTING_AUTOMATIC
See Also:
Constant Field Values

VALUE_ROUTING_ORTHOGONAL

protected static final java.lang.String VALUE_ROUTING_ORTHOGONAL
See Also:
Constant Field Values

VALUE_ROUTING_OCTILINEAR

protected static final java.lang.String VALUE_ROUTING_OCTILINEAR
See Also:
Constant Field Values

VALUE_ROUTING_ORGANIC

protected static final java.lang.String VALUE_ROUTING_ORGANIC
See Also:
Constant Field Values

VALUE_ROUTING_STRAIGHTLINE

protected static final java.lang.String VALUE_ROUTING_STRAIGHTLINE
See Also:
Constant Field Values

ITEM_COMPONENT_ASSIGNMENT_STRATEGY

protected static final java.lang.String ITEM_COMPONENT_ASSIGNMENT_STRATEGY
See Also:
Constant Field Values

VALUE_COMPONENT_ASSIGNMENT_SINGLE

protected static final java.lang.String VALUE_COMPONENT_ASSIGNMENT_SINGLE
See Also:
Constant Field Values

VALUE_COMPONENT_ASSIGNMENT_CONNECTED

protected static final java.lang.String VALUE_COMPONENT_ASSIGNMENT_CONNECTED
See Also:
Constant Field Values

VALUE_COMPONENT_ASSIGNMENT_CLUSTERING

protected static final java.lang.String VALUE_COMPONENT_ASSIGNMENT_CLUSTERING
See Also:
Constant Field Values

VALUE_COMPONENT_ASSIGNMENT_FROM_LABELS

protected static final java.lang.String VALUE_COMPONENT_ASSIGNMENT_FROM_LABELS
See Also:
Constant Field Values

ITEM_SPACING

protected static final java.lang.String ITEM_SPACING
See Also:
Constant Field Values

ITEM_GRID_SPACING

protected static final java.lang.String ITEM_GRID_SPACING
See Also:
Constant Field Values

ITEM_CONSIDER_NODE_LABELS

protected static final java.lang.String ITEM_CONSIDER_NODE_LABELS
See Also:
Constant Field Values

ITEM_CONSIDER_EDGE_LABELS

protected static final java.lang.String ITEM_CONSIDER_EDGE_LABELS
See Also:
Constant Field Values

ITEM_FIX_PORTS

protected static final java.lang.String ITEM_FIX_PORTS
See Also:
Constant Field Values

ITEM_MAXIMAL_DURATION

protected static final java.lang.String ITEM_MAXIMAL_DURATION
See Also:
Constant Field Values

ITEM_STRATEGY

protected static final java.lang.String ITEM_STRATEGY
See Also:
Constant Field Values

VALUE_STRATEGY_PRESERVE_SHAPES

protected static final java.lang.String VALUE_STRATEGY_PRESERVE_SHAPES
See Also:
Constant Field Values

VALUE_STRATEGY_LOCAL

protected static final java.lang.String VALUE_STRATEGY_LOCAL
See Also:
Constant Field Values

VALUE_STRATEGY_GLOBAL

protected static final java.lang.String VALUE_STRATEGY_GLOBAL
See Also:
Constant Field Values
Constructor Detail

ClearAreaLayoutModule

public ClearAreaLayoutModule()
Creates a new instance of this module.

Method Detail

createOptionHandler

protected OptionHandler createOptionHandler()
Description copied from class: YModule
Creates an option handler for this class. Module writers should override this method to provide an appropriate option handler.

Overrides:
createOptionHandler in class YModule
Returns:
The option handler for this module, null by default.

mainrun

protected void mainrun()
Description copied from class: YModule
Main execution code to be implemented by any subclassing module.

Specified by:
mainrun in class YModule

© Copyright 2000-2021,
yWorks GmbH.
All rights reserved.