|
Draw2d 3.9.0.201305060205 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.AbstractLayout
org.eclipse.draw2d.XYLayout
org.eclipse.draw2d.FreeformLayout
public class FreeformLayout
A layout for FreeformFigures
.
Supports option to set only positive (x,y) coordinates for children figures.
Field Summary |
---|
Fields inherited from class org.eclipse.draw2d.XYLayout |
---|
constraints |
Fields inherited from class org.eclipse.draw2d.AbstractLayout |
---|
isObservingVisibility, preferredSize |
Constructor Summary | |
---|---|
FreeformLayout()
|
Method Summary | |
---|---|
Point |
getOrigin(IFigure figure)
Returns the point (0,0) as the origin. |
void |
invalidate()
Tells the LayoutManager to throw away all cached information about the figures it is responsible for. |
boolean |
isPositiveCoordinates()
Checks whether the positive coordinates flag is on, e.g positive coordinates for children are inforced by the layout |
void |
setPositiveCoordinates(boolean positiveCoordinates)
Sets/unsets the positive coordinates flag for true/false parameters respectively. |
Methods inherited from class org.eclipse.draw2d.XYLayout |
---|
calculatePreferredSize, getConstraint, layout, remove, setConstraint |
Methods inherited from class org.eclipse.draw2d.AbstractLayout |
---|
calculatePreferredSize, getBorderPreferredSize, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, invalidate, isObservingVisibility, setObserveVisibility |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FreeformLayout()
Method Detail |
---|
public Point getOrigin(IFigure figure)
getOrigin
in class XYLayout
figure
- the figure whose origin is requested
XYLayout.getOrigin(IFigure)
public boolean isPositiveCoordinates()
boolean
public void setPositiveCoordinates(boolean positiveCoordinates)
positiveCoordinates
- public void invalidate()
LayoutManager
invalidate
in interface LayoutManager
invalidate
in class AbstractLayout
AbstractLayout.invalidate()
|
Draw2d 3.9.0.201305060205 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |