diva.graph.layout
Class AbstractGlobalLayout

java.lang.Object
  extended by diva.graph.layout.AbstractGlobalLayout
All Implemented Interfaces:
GlobalLayout
Direct Known Subclasses:
GridAnnealingLayout, LevelLayout, RandomLayout

public abstract class AbstractGlobalLayout
extends Object
implements GlobalLayout

An abstract implementation of the GlobalLayout interface.

Version:
$Revision: 1.2 $
Author:
Steve Neuendorffer (neuendor@eecs.berkeley.edu

Constructor Summary
AbstractGlobalLayout(LayoutTarget target)
          Create a new global layout that uses the given layout target.
 
Method Summary
 LayoutTarget getLayoutTarget()
          Return the layout target.
abstract  void layout(Object composite)
          Layout the graph model in the viewport specified by the layout target environment.
 void setLayoutTarget(LayoutTarget target)
          Set the layout target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGlobalLayout

public AbstractGlobalLayout(LayoutTarget target)
Create a new global layout that uses the given layout target.

Method Detail

getLayoutTarget

public LayoutTarget getLayoutTarget()
Return the layout target.

Specified by:
getLayoutTarget in interface GlobalLayout

setLayoutTarget

public void setLayoutTarget(LayoutTarget target)
Set the layout target.

Specified by:
setLayoutTarget in interface GlobalLayout

layout

public abstract void layout(Object composite)
Layout the graph model in the viewport specified by the layout target environment.

Specified by:
layout in interface GlobalLayout


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.