Package org.eclipse.draw2d.text
Class FlowPage
java.lang.Object
org.eclipse.draw2d.Figure
org.eclipse.draw2d.text.FlowFigure
org.eclipse.draw2d.text.BlockFlow
org.eclipse.draw2d.text.FlowPage
- All Implemented Interfaces:
- IFigure
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 SummaryNested classes/interfaces inherited from class org.eclipse.draw2d.FigureFigure.FigureIterator, Figure.IdentitySearch, Figure.ReverseFigureChildrenIteratorNested classes/interfaces inherited from interface org.eclipse.draw2d.IFigureIFigure.NoInsets
- 
Field SummaryFields inherited from class org.eclipse.draw2d.text.FlowFigureselectionStartFields inherited from class org.eclipse.draw2d.FigurebgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTipFields inherited from interface org.eclipse.draw2d.IFigureMAX_DIMENSION, MIN_DIMENSION, NO_INSETS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalled after the receiver's parent has been set and it has been added to its parent.protected FlowFigureLayoutCreates the default layout managergetMinimumSize(int w, int h) Returns a hint indicating the smallest desireable size for the IFigure.getPreferredSize(int width, int h) Returns the preferred size for this IFigure using the provided width and height hints.voidInvalidates this IFigure.voidCalled after validate has occurred.voidOverridden to set valid.voidFlowFigures override setBounds() to prevent translation of children.voidvalidate()Re-evaluate the Bidi state of all the fragments if it has been invalidated.Methods inherited from class org.eclipse.draw2d.text.BlockFlowcontributeBidi, getBlockBox, getHorizontalAligment, getLocalHorizontalAlignment, getLocalOrientation, getOrientation, paintBorder, revalidate, revalidateBidi, setHorizontalAligment, setOrientation, useLocalCoordinatesMethods inherited from class org.eclipse.draw2d.text.FlowFigureadd, addLeadingWordRequirements, remove, setBidiInfo, setFlowContext, setSelectionMethods inherited from class org.eclipse.draw2d.Figureadd, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getChildrenRevIterable, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getListenersIterable, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getParent, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, handleMouseWheelScrolled, hasFocus, internalGetEventDispatcher, intersects, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, optimizeClip, paint, paintChildren, paintClientArea, paintFigure, primTranslate, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, setBackgroundColor, setBorder, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative
- 
Constructor Details- 
FlowPagepublic FlowPage()
 
- 
- 
Method Details- 
addNotifypublic void addNotify()Description copied from class:FigureCalled after the receiver's parent has been set and it has been added to its parent.
- 
createDefaultFlowLayoutDescription copied from class:FlowFigureCreates the default layout manager- Overrides:
- createDefaultFlowLayoutin class- BlockFlow
- Returns:
- The default layout
- See Also:
 
- 
getMinimumSizeDescription copied from interface:IFigureReturns a hint indicating the smallest desireable size for the IFigure. The returned dimension may be by reference, and it must not be modified by the caller.- Specified by:
- getMinimumSizein interface- IFigure
- Overrides:
- getMinimumSizein class- Figure
- Parameters:
- w- the width hint
- h- the height hint
- Returns:
- The minimum size
- See Also:
 
- 
invalidatepublic void invalidate()Description copied from interface:IFigureInvalidates this IFigure. If this figure has a LayoutManager, thenLayoutManager.invalidate()should be called on that layout.- Specified by:
- invalidatein interface- IFigure
- Overrides:
- invalidatein class- Figure
- See Also:
 
- 
getPreferredSizeDescription copied from interface:IFigureReturns the preferred size for this IFigure using the provided width and height hints. The returned dimension may be by reference, and it must not be modified by the caller. A value of-1indicates that there is no constraint in that direction.- Specified by:
- getPreferredSizein interface- IFigure
- Overrides:
- getPreferredSizein class- Figure
- Parameters:
- width- a width hint
- h- a height hint
- Returns:
- The preferred size
- See Also:
 
- 
postValidatepublic void postValidate()Description copied from class:FlowFigureCalled after validate has occurred. This is used to update the bounds of the FlowFigure to encompass its new flow boxed created during validate.- Overrides:
- postValidatein class- BlockFlow
- See Also:
 
- 
removeNotifypublic void removeNotify()Overridden to set valid.- Specified by:
- removeNotifyin interface- IFigure
- Overrides:
- removeNotifyin class- Figure
- See Also:
 
- 
setBoundsDescription copied from class:FlowFigureFlowFigures override setBounds() to prevent translation of children. "bounds" is a derived property for FlowFigures, calculated from the fragments that make up the FlowFigure.- Specified by:
- setBoundsin interface- IFigure
- Overrides:
- setBoundsin class- FlowFigure
- Parameters:
- r- The new bounds
- See Also:
 
- 
validatepublic void validate()Description copied from class:BlockFlowRe-evaluate the Bidi state of all the fragments if it has been invalidated.
 
-