|
Eclipse Draw2d 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.Figure
org.eclipse.draw2d.Layer
org.eclipse.draw2d.FreeformLayer
A Layer that can extend in all 4 directions.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.draw2d.Figure |
Figure.FigureIterator, Figure.IdentitySearch |
| Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
| Field Summary |
| Fields inherited from class org.eclipse.draw2d.Figure |
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip |
| Fields inherited from interface org.eclipse.draw2d.IFigure |
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
| Constructor Summary | |
FreeformLayer()
|
|
| Method Summary | |
void |
add(IFigure child,
Object constraint,
int index)
Adds the child with the specified index and constraint. |
void |
addFreeformListener(FreeformListener listener)
Adds a FreeformListener to this FreeformFigure. |
void |
fireExtentChanged()
Notifies listeners that the freeform extent (i.e. bounds) has changed. |
protected void |
fireMoved()
Overrides to do nothing. |
Rectangle |
getFreeformExtent()
Returns the freeform extent, essentially the bounds of the FreeformFigure. |
void |
primTranslate(int dx,
int dy)
Translates this Figure's bounds, without firing a move. |
void |
remove(IFigure child)
Removes the given child from this figure's children. |
void |
removeFreeformListener(FreeformListener listener)
Removes the given listener from this FreeformFigure. |
void |
setFreeformBounds(Rectangle bounds)
Sets the freeform bounds of this FreeformFigure. |
| Methods inherited from class org.eclipse.draw2d.Layer |
containsPoint, findFigureAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FreeformLayer()
| Method Detail |
public void add(IFigure child,
Object constraint,
int index)
IFigureLayoutManager.setConstraint(IFigure, Object) shall be called on the layout.
add in interface IFigureadd in class FigureIFigure.add(IFigure, Object, int)public void addFreeformListener(FreeformListener listener)
FreeformFigure
addFreeformListener in interface FreeformFigurelistener - the listenerFreeformFigure.addFreeformListener(FreeformListener)public void fireExtentChanged()
FreeformFigure
fireExtentChanged in interface FreeformFigureFreeformFigure.fireExtentChanged()protected void fireMoved()
fireMoved in class FigureFigure.fireMoved()public Rectangle getFreeformExtent()
FreeformFigure
getFreeformExtent in interface FreeformFigureFreeformFigure.getFreeformExtent()
public void primTranslate(int dx,
int dy)
Figure
primTranslate in class Figuredx - The amount to translate horizontallydy - The amount to translate verticallyFigure.primTranslate(int, int)public void remove(IFigure child)
IFigureLayoutManager.remove(IFigure) shall be called on that
layout with the child.
remove in interface IFigureremove in class Figurechild - The Figure to removeIFigure.remove(IFigure)public void removeFreeformListener(FreeformListener listener)
FreeformFigure
removeFreeformListener in interface FreeformFigurelistener - the listenerFreeformFigure.removeFreeformListener(FreeformListener)public void setFreeformBounds(Rectangle bounds)
FreeformFigure
setFreeformBounds in interface FreeformFigurebounds - the new freeform boundsFreeformFigure.setFreeformBounds(Rectangle)
|
Eclipse Draw2d 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||