Search this API

y.module
Class PartialLayoutModule

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

public class PartialLayoutModule
extends LayoutModule

This module represents an interactive configurator and launcher for PartialLayouter.

See Also:
Section Partial Layout in the yFiles for Java Developer's Guide

Field Summary
static String CONSIDER_SNAPLINES
           
static String HIERARCHY_REORGANIZATION
           
static String MODE_COMPONENT_ASSIGNMENT
           
static String MODE_COMPONENT_CLUSTERING
           
static String MODE_COMPONENT_CONNECTED
           
static String MODE_COMPONENT_CUSTOMIZED
           
static String MODE_COMPONENT_SINGLE
           
static String ORIENTATION_MAIN_GRAPH
           
static String ORIENTATION_MAIN_GRAPH_AUTO_DETECT
           
static String ORIENTATION_MAIN_GRAPH_DOWN_TO_TOP
           
static String ORIENTATION_MAIN_GRAPH_LEFT_TO_RIGHT
           
static String ORIENTATION_MAIN_GRAPH_NONE
           
static String ORIENTATION_MAIN_GRAPH_RIGHT_TO_LEFT
           
static String ORIENTATION_MAIN_GRAPH_TOP_TO_DOWN
           
static String ROUTING_TO_SUBGRAPH
           
static String ROUTING_TO_SUBGRAPH_AUTO
           
static String ROUTING_TO_SUBGRAPH_ORGANIC
           
static String ROUTING_TO_SUBGRAPH_ORTHOGONALLY
           
static String ROUTING_TO_SUBGRAPH_POLYLINE
           
static String ROUTING_TO_SUBGRAPH_STRAIGHT_LINE
           
static String SUBGRAPH_LAYOUTER
           
static String SUBGRAPH_LAYOUTER_CIRCULAR
           
static String SUBGRAPH_LAYOUTER_IHL
           
static String SUBGRAPH_LAYOUTER_ORGANIC
           
static String SUBGRAPH_LAYOUTER_ORTHOGONAL
           
static String SUBGRAPH_POSITION_STRATEGY
           
static String SUBGRAPH_POSITIONING_STRATEGY_BARYCENTER
           
static String SUBGRAPH_POSITIONING_STRATEGY_FROM_SKETCH
           
 
Fields inherited from class y.module.YModule
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS
 
Constructor Summary
PartialLayoutModule()
           
 
Method Summary
 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
createAnimationPlayer, createLayoutExecutor, createLayoutMorpher, getBufferedMode, getLayoutExecutor, isAbortable, isMorphingEnabled, isPortIntersectionCalculatorEnabled, launchLayouter, launchLayouter, setBufferedMode, setLayoutExecutor, setMorphingEnabled, setPortIntersectionCalculatorEnabled, useEventDispatchThread
 
Methods inherited from class y.module.YModule
addModuleListener, createThread, dispose, exceptionHappened, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleName, getOptionHandler, getTimer, getView, init, 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

SUBGRAPH_LAYOUTER

public static final String SUBGRAPH_LAYOUTER
See Also:
Constant Field Values

SUBGRAPH_LAYOUTER_IHL

public static final String SUBGRAPH_LAYOUTER_IHL
See Also:
Constant Field Values

SUBGRAPH_LAYOUTER_ORGANIC

public static final String SUBGRAPH_LAYOUTER_ORGANIC
See Also:
Constant Field Values

SUBGRAPH_LAYOUTER_CIRCULAR

public static final String SUBGRAPH_LAYOUTER_CIRCULAR
See Also:
Constant Field Values

SUBGRAPH_LAYOUTER_ORTHOGONAL

public static final String SUBGRAPH_LAYOUTER_ORTHOGONAL
See Also:
Constant Field Values

SUBGRAPH_POSITION_STRATEGY

public static final String SUBGRAPH_POSITION_STRATEGY
See Also:
Constant Field Values

SUBGRAPH_POSITIONING_STRATEGY_BARYCENTER

public static final String SUBGRAPH_POSITIONING_STRATEGY_BARYCENTER
See Also:
Constant Field Values

SUBGRAPH_POSITIONING_STRATEGY_FROM_SKETCH

public static final String SUBGRAPH_POSITIONING_STRATEGY_FROM_SKETCH
See Also:
Constant Field Values

ROUTING_TO_SUBGRAPH

public static final String ROUTING_TO_SUBGRAPH
See Also:
Constant Field Values

ROUTING_TO_SUBGRAPH_STRAIGHT_LINE

public static final String ROUTING_TO_SUBGRAPH_STRAIGHT_LINE
See Also:
Constant Field Values

ROUTING_TO_SUBGRAPH_POLYLINE

public static final String ROUTING_TO_SUBGRAPH_POLYLINE
See Also:
Constant Field Values

ROUTING_TO_SUBGRAPH_ORTHOGONALLY

public static final String ROUTING_TO_SUBGRAPH_ORTHOGONALLY
See Also:
Constant Field Values

ROUTING_TO_SUBGRAPH_ORGANIC

public static final String ROUTING_TO_SUBGRAPH_ORGANIC
See Also:
Constant Field Values

ROUTING_TO_SUBGRAPH_AUTO

public static final String ROUTING_TO_SUBGRAPH_AUTO
See Also:
Constant Field Values

MODE_COMPONENT_ASSIGNMENT

public static final String MODE_COMPONENT_ASSIGNMENT
See Also:
Constant Field Values

MODE_COMPONENT_CLUSTERING

public static final String MODE_COMPONENT_CLUSTERING
See Also:
Constant Field Values

MODE_COMPONENT_CONNECTED

public static final String MODE_COMPONENT_CONNECTED
See Also:
Constant Field Values

MODE_COMPONENT_CUSTOMIZED

public static final String MODE_COMPONENT_CUSTOMIZED
See Also:
Constant Field Values

MODE_COMPONENT_SINGLE

public static final String MODE_COMPONENT_SINGLE
See Also:
Constant Field Values

HIERARCHY_REORGANIZATION

public static final String HIERARCHY_REORGANIZATION
See Also:
Constant Field Values

ORIENTATION_MAIN_GRAPH

public static final String ORIENTATION_MAIN_GRAPH
See Also:
Constant Field Values

ORIENTATION_MAIN_GRAPH_NONE

public static final String ORIENTATION_MAIN_GRAPH_NONE
See Also:
Constant Field Values

ORIENTATION_MAIN_GRAPH_AUTO_DETECT

public static final String ORIENTATION_MAIN_GRAPH_AUTO_DETECT
See Also:
Constant Field Values

ORIENTATION_MAIN_GRAPH_TOP_TO_DOWN

public static final String ORIENTATION_MAIN_GRAPH_TOP_TO_DOWN
See Also:
Constant Field Values

ORIENTATION_MAIN_GRAPH_DOWN_TO_TOP

public static final String ORIENTATION_MAIN_GRAPH_DOWN_TO_TOP
See Also:
Constant Field Values

ORIENTATION_MAIN_GRAPH_LEFT_TO_RIGHT

public static final String ORIENTATION_MAIN_GRAPH_LEFT_TO_RIGHT
See Also:
Constant Field Values

ORIENTATION_MAIN_GRAPH_RIGHT_TO_LEFT

public static final String ORIENTATION_MAIN_GRAPH_RIGHT_TO_LEFT
See Also:
Constant Field Values

CONSIDER_SNAPLINES

public static final String CONSIDER_SNAPLINES
See Also:
Constant Field Values
Constructor Detail

PartialLayoutModule

public PartialLayoutModule()
Method Detail

createOptionHandler

public 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-2013,
yWorks GmbH.
All rights reserved.