Search this API

y.module
Class PortConstraintModule

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

public class PortConstraintModule
extends LayoutModule

A module that allows to configure port constraints interactively. To perform that task it uses the configurator class PortConstraintConfigurator.

 

Field Summary
 
Fields inherited from class y.module.YModule
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS
 
Constructor Summary
PortConstraintModule()
           
 
Method Summary
protected  OptionHandler createOptionHandler()
          Creates and initializes the option handler so that a convenient way for manipulating the parameters is at the user's hand.
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
 

Constructor Detail

PortConstraintModule

public PortConstraintModule()
Method Detail

createOptionHandler

protected OptionHandler createOptionHandler()
Creates and initializes the option handler so that a convenient way for manipulating the parameters is at the user's hand.

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.