org.topcased.draw2d.layout
Class CenterLayout
java.lang.Object
org.eclipse.draw2d.AbstractLayout
org.eclipse.draw2d.AbstractHintLayout
org.topcased.draw2d.layout.CenterLayout
- All Implemented Interfaces:
- org.eclipse.draw2d.LayoutManager
public class CenterLayout
- extends org.eclipse.draw2d.AbstractHintLayout
TODO comment this class
Fields inherited from class org.eclipse.draw2d.AbstractLayout |
isObservingVisibility, preferredSize |
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 |
CenterLayout
public CenterLayout()
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)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.