Modelers

org.topcased.draw2d.layout
Class CenterLayout

java.lang.Object
  extended by org.eclipse.draw2d.AbstractLayout
      extended by org.eclipse.draw2d.AbstractHintLayout
          extended by org.topcased.draw2d.layout.CenterLayout
All Implemented Interfaces:
org.eclipse.draw2d.LayoutManager

public class CenterLayout
extends org.eclipse.draw2d.AbstractHintLayout

TODO comment this class


Field Summary
 
Fields inherited from class org.eclipse.draw2d.AbstractLayout
isObservingVisibility, preferredSize
 
Constructor Summary
CenterLayout()
           
 
Method Summary
protected  org.eclipse.draw2d.geometry.Dimension calculateMinimumSize(org.eclipse.draw2d.IFigure figure, int wHint, int hHint)
           
protected  org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure figure, int wHint, int hHint)
           
 void layout(org.eclipse.draw2d.IFigure container)
           
 
Methods inherited from class org.eclipse.draw2d.AbstractHintLayout
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

CenterLayout

public CenterLayout()
Method Detail

calculateMinimumSize

protected org.eclipse.draw2d.geometry.Dimension calculateMinimumSize(org.eclipse.draw2d.IFigure figure,
                                                                     int wHint,
                                                                     int hHint)
Overrides:
calculateMinimumSize in class org.eclipse.draw2d.AbstractHintLayout
See Also:
AbstractHintLayout.calculateMinimumSize(org.eclipse.draw2d.IFigure, int, int)

calculatePreferredSize

protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure figure,
                                                                       int wHint,
                                                                       int hHint)
Specified by:
calculatePreferredSize in class org.eclipse.draw2d.AbstractLayout
See Also:
AbstractLayout.calculatePreferredSize(org.eclipse.draw2d.IFigure, int, int)

layout

public void layout(org.eclipse.draw2d.IFigure container)
See Also:
LayoutManager.layout(org.eclipse.draw2d.IFigure)

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.