|
Draw2d 3.9.0.201308190730 |
|||||||||
| 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 XYLayoutfigure - the figure whose origin is requested
XYLayout.getOrigin(IFigure)public boolean isPositiveCoordinates()
booleanpublic void setPositiveCoordinates(boolean positiveCoordinates)
positiveCoordinates - public void invalidate()
LayoutManager
invalidate in interface LayoutManagerinvalidate in class AbstractLayoutAbstractLayout.invalidate()
|
Draw2d 3.9.0.201308190730 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||