public class FlowPage extends BlockFlow
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.
Figure.FigureIterator, Figure.IdentitySearchIFigure.NoInsetsselectionStartbgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTipMAX_DIMENSION, MIN_DIMENSION, NO_INSETS| Constructor and Description |
|---|
FlowPage() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
contributeBidi, getBlockBox, getHorizontalAligment, getLocalHorizontalAlignment, getLocalOrientation, getOrientation, paintBorder, revalidate, revalidateBidi, setHorizontalAligment, setOrientation, useLocalCoordinatesadd, addLeadingWordRequirements, remove, setBidiInfo, setFlowContext, setSelectionadd, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getParent, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintChildren, paintClientArea, paintFigure, primTranslate, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, 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, translateToRelativepublic void addNotify()
FigureaddNotify in interface IFigureaddNotify in class FigureFigure.addNotify()protected FlowFigureLayout createDefaultFlowLayout()
FlowFigurecreateDefaultFlowLayout in class BlockFlowBlockFlow.createDefaultFlowLayout()public Dimension getMinimumSize(int w, int h)
IFiguregetMinimumSize in interface IFiguregetMinimumSize in class Figurew - the width hinth - the height hintFigure.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 Figurewidth - a width hinth - a height hintFigure.getPreferredSize(int, int)public void postValidate()
FlowFigurepostValidate in class BlockFlowBlockFlow.postValidate()public void removeNotify()
removeNotify in interface IFigureremoveNotify in class FigureIFigure.removeNotify()public void setBounds(Rectangle r)
FlowFiguresetBounds in interface IFiguresetBounds in class FlowFigurer - The new boundsFlowFigure.setBounds(Rectangle)Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.