|
Eclipse Draw2d 3.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.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 IFigure
addNotify
in class Figure
protected FlowFigureLayout createDefaultFlowLayout()
FlowFigure
createDefaultFlowLayout
in class BlockFlow
BlockFlow.createDefaultFlowLayout()
public Dimension getMinimumSize(int w, int h)
IFigure
getMinimumSize
in interface IFigure
getMinimumSize
in class Figure
Figure.getMinimumSize(int, int)
public void invalidate()
IFigure
LayoutManager.invalidate()
should be called on that layout.
invalidate
in interface IFigure
invalidate
in class Figure
Figure.invalidate()
public Dimension getPreferredSize(int width, int h)
IFigure
-1
indicates that there is no constraint in that
direction.
getPreferredSize
in interface IFigure
getPreferredSize
in class Figure
Figure.getPreferredSize(int, int)
public void postValidate()
FlowFigure
postValidate
in class BlockFlow
BlockFlow.postValidate()
public void removeNotify()
removeNotify
in interface IFigure
removeNotify
in class Figure
IFigure.removeNotify()
public void setBounds(Rectangle r)
FlowFigure
setBounds
in interface IFigure
setBounds
in class FlowFigure
FlowFigure.setBounds(Rectangle)
public void validate()
BlockFlow
validate
in interface IFigure
validate
in class BlockFlow
Figure.validate()
|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |