|
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.LayeredPane
org.eclipse.draw2d.FreeformLayeredPane
A LayeredPane that contains FreeformLayers.
| 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 | |
FreeformLayeredPane()
Constructs a new FreeformLayeredPane. |
|
| 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. |
protected org.eclipse.draw2d.FreeformHelper |
getFreeformHelper()
Returns the FreeformHelper. |
protected 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. |
protected void |
superFireMoved()
Calls super.fireMoved(). |
| Methods inherited from class org.eclipse.draw2d.LayeredPane |
addLayerAfter, addLayerBefore, getLayer, getLayer, removeLayer, removeLayer, removeLayer |
| 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 FreeformLayeredPane()
| 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 LayeredPanechild - the layerconstraint - the layer's keyindex - the index where the layer should be addedIFigure.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()protected org.eclipse.draw2d.FreeformHelper getFreeformHelper()
public Rectangle getFreeformExtent()
FreeformFigure
getFreeformExtent in interface FreeformFigureFreeformFigure.getFreeformExtent()
protected 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 LayeredPaneIFigure.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)protected void superFireMoved()
super.fireMoved().
|
Eclipse Draw2d 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||