Search this API

y.module
Class SmartOrganicLayoutModule

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

public class SmartOrganicLayoutModule
extends LayoutModule

This module represents an interactive configurator and launcher for SmartOrganicLayouter.

See Also:
Section Advanced Layout Concepts in the yFiles for Java Developer's Guide, Section Organic Layout Style in the yFiles for Java Developer's Guide

Field Summary
 
Fields inherited from class y.module.YModule
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS
 
Constructor Summary
SmartOrganicLayoutModule()
           
 
Method Summary
protected  OptionHandler createOptionHandler()
          Factory method.
protected  void dispose()
          clean up the module, clear temporarily bound data providers and references to the wrapped algorithm.
protected  void init()
          Module initialization routine.
protected  void mainrun()
          Main module execution routine. launches the hierarchic layouter.
 
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, exceptionHappened, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleName, getOptionHandler, getTimer, getView, 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
 

Constructor Detail

SmartOrganicLayoutModule

public SmartOrganicLayoutModule()
Method Detail

createOptionHandler

protected OptionHandler createOptionHandler()
Factory method. Responsible for creating and initializing the OptionHandler for this module.

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

init

protected void init()
Module initialization routine. Typically this method is used to configure the underlying algorithm with the options found in the options handler of this module.

Overrides:
init in class YModule

mainrun

protected void mainrun()
Main module execution routine. launches the hierarchic layouter.

Specified by:
mainrun in class YModule

dispose

protected void dispose()
clean up the module, clear temporarily bound data providers and references to the wrapped algorithm.

Overrides:
dispose in class YModule

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