de.cau.cs.kieler.keg.custom
Class NodeLayout

java.lang.Object
  extended by org.eclipse.draw2d.AbstractLayout
      extended by org.eclipse.draw2d.AbstractHintLayout
          extended by de.cau.cs.kieler.keg.custom.NodeLayout
All Implemented Interfaces:
LayoutManager

public class NodeLayout
extends AbstractHintLayout

A layout for KEG nodes.

Rating red

Field Summary
 
Fields inherited from class org.eclipse.draw2d.AbstractLayout
isObservingVisibility, preferredSize
 
Constructor Summary
NodeLayout()
           
 
Method Summary
protected  Dimension calculatePreferredSize(IFigure container, int wHint, int hHint)
          
 void layout(IFigure container)
          
 
Methods inherited from class org.eclipse.draw2d.AbstractHintLayout
calculateMinimumSize, getMinimumSize, getPreferredSize, invalidate, isSensitiveHorizontally, isSensitiveVertically
 
Methods inherited from class org.eclipse.draw2d.AbstractLayout
calculatePreferredSize, getBorderPreferredSize, getConstraint, getMinimumSize, getPreferredSize, invalidate, isObservingVisibility, remove, setConstraint, setObserveVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeLayout

public NodeLayout()
Method Detail

layout

public void layout(IFigure container)


calculatePreferredSize

protected Dimension calculatePreferredSize(IFigure container,
                                           int wHint,
                                           int hHint)

Specified by:
calculatePreferredSize in class AbstractLayout