|
Eclipse Draw2d 3.0.1 |
||||||||||
| 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.text.FlowFigure
org.eclipse.draw2d.text.BlockFlow
org.eclipse.draw2d.text.FlowPage
The root of a Flow hierarchy. A flow page can be treated as a normal figure, but contains FlowFigures.
A FlowPage will not have a defined width unless it is inside a figure whose layout
provides width hints when calling
IFigure.getPreferredSize(int, int).
WARNING: This class is not intended to be subclassed by clients.
| 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 | |
FlowPage()
|
|
| Method Summary | |
protected FlowFigureLayout |
createDefaultFlowLayout()
Creates the default layout manager |
Dimension |
getMinimumSize(int w,
int h)
Returns a hint indicating the smallest desireable size for the IFigure. |
Dimension |
getPreferredSize(int width,
int h)
Returns the desireable size for this IFigure using the provided width and height hints. |
void |
invalidate()
Invalidates this IFigure. |
void |
postValidate()
Called after validate has occurred. |
void |
setBounds(Rectangle r)
FlowFigures override setBounds() to prevent translation of children. |
void |
validate()
Causes this IFigure to layout itself, as well as its children. |
| Methods inherited from class org.eclipse.draw2d.text.BlockFlow |
getBlockBox, getHorizontalAligment, setHorizontalAligment, useLocalCoordinates |
| Methods inherited from class org.eclipse.draw2d.text.FlowFigure |
add, paintFigure, setFlowContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FlowPage()
| Method Detail |
protected FlowFigureLayout createDefaultFlowLayout()
FlowFigure
createDefaultFlowLayout in class BlockFlowBlockFlow.createDefaultFlowLayout()
public Dimension getMinimumSize(int w,
int h)
IFigure
getMinimumSize in interface IFiguregetMinimumSize in class FigureFigure.getMinimumSize()public void invalidate()
IFigure
invalidate in interface IFigureinvalidate in class FigureFigure.invalidate()
public Dimension getPreferredSize(int width,
int h)
IFigure-1 indicates that there is no constraint in that
direction.
getPreferredSize in interface IFiguregetPreferredSize in class FigureFigure.getPreferredSize(int, int)public void postValidate()
FlowFigure
postValidate in class BlockFlowBlockFlow.postValidate()public void setBounds(Rectangle r)
FlowFigure
setBounds in interface IFiguresetBounds in class FlowFigureFlowFigure.setBounds(Rectangle)public void validate()
IFigure
validate in interface IFigurevalidate in class FigureFigure.validate()
|
Eclipse Draw2d 3.0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||