|
Eclipse Draw2d 3.3 |
||||||||||
| 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.text.FlowFigure |
selectionStart |
| 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 | |
void |
addNotify()
Called after the receiver's parent has been set and it has been added to its parent. |
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 preferred size for this IFigure using the provided width and height hints. |
void |
invalidate()
Invalidates this IFigure. |
void |
postValidate()
Called after validate has occurred. |
void |
removeNotify()
Overridden to set valid. |
void |
setBounds(Rectangle r)
FlowFigures override setBounds() to prevent translation of children. |
void |
validate()
Re-evaluate the Bidi state of all the fragments if it has been invalidated. |
| Methods inherited from class org.eclipse.draw2d.text.BlockFlow |
contributeBidi, getBlockBox, getHorizontalAligment, getLocalHorizontalAlignment, getLocalOrientation, getOrientation, paintBorder, revalidate, revalidateBidi, setHorizontalAligment, setOrientation, useLocalCoordinates |
| Methods inherited from class org.eclipse.draw2d.text.FlowFigure |
add, addLeadingWordRequirements, remove, setBidiInfo, setFlowContext, setSelection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FlowPage()
| Method Detail |
public void addNotify()
Figure
addNotify in interface IFigureaddNotify in class FigureFigure.addNotify()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(int, int)public void invalidate()
IFigureLayoutManager.invalidate() should be called on that layout.
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 removeNotify()
removeNotify in interface IFigureremoveNotify in class FigureIFigure.removeNotify()public void setBounds(Rectangle r)
FlowFigure
setBounds in interface IFiguresetBounds in class FlowFigureFlowFigure.setBounds(Rectangle)public void validate()
BlockFlow
validate in interface IFigurevalidate in class BlockFlowFigure.validate()
|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||