public class FlowAdapter extends FlowFigure
WARNING: This class is not intended to be subclassed by clients.
Figure.FigureIterator, Figure.IdentitySearch
IFigure.NoInsets
selectionStart
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
Constructor and Description |
---|
FlowAdapter() |
Modifier and Type | Method and Description |
---|---|
protected void |
contributeBidi(BidiProcessor proc)
This FlowFigure contributes an Object Replacement Character.
|
protected FlowFigureLayout |
createDefaultFlowLayout()
Creates the default layout manager
|
protected void |
layout()
Sizes the content box to be big enough to display all figures.
|
void |
postValidate()
Updates the bounds of this figure to match that of its content box, and
lays out this figure's children.
|
void |
setBidiInfo(BidiInfo info)
Sets the bidi level of the content box associated with this Figure
|
void |
setBounds(Rectangle rect)
FlowFigures override setBounds() to prevent translation of children.
|
void |
setFlowContext(FlowContext flowContext)
Sets the flow context.
|
void |
validate()
Do not validate children.
|
add, addLeadingWordRequirements, remove, revalidateBidi, setSelection
add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, 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, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, paint, paintBorder, paintChildren, paintClientArea, paintFigure, primTranslate, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, 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, useLocalCoordinates
protected void contributeBidi(BidiProcessor proc)
contributeBidi
in class FlowFigure
proc
- the BidiProcessor to which contributions should be madeFlowFigure.contributeBidi(BidiProcessor)
protected FlowFigureLayout createDefaultFlowLayout()
FlowFigure
createDefaultFlowLayout
in class FlowFigure
null
FlowFigure.createDefaultFlowLayout()
protected void layout()
layout
in class Figure
Figure.layout()
public void postValidate()
postValidate
in class FlowFigure
FlowFigure.postValidate()
public void setBidiInfo(BidiInfo info)
setBidiInfo
in class FlowFigure
info
- the BidiInfo for this figureFlowFigure.setBidiInfo(BidiInfo)
public void setBounds(Rectangle rect)
FlowFigure
setBounds
in interface IFigure
setBounds
in class FlowFigure
rect
- The new boundsIFigure.setBounds(org.eclipse.draw2d.geometry.Rectangle)
public void setFlowContext(FlowContext flowContext)
FlowFigure
setFlowContext
in class FlowFigure
flowContext
- the flow context for this flow figureFlowFigure.setFlowContext(FlowContext)
public void validate()
validate
in interface IFigure
validate
in class Figure
IFigure.validate()
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.