|
Eclipse Draw2d 3.0 |
||||||||||
| 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.ImageFlow
A FlowFigure to insert images in a block.
WARNING: This class is not intended to be subclassed by clients. The API is subject to change.
| 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 | |
ImageFlow()
Default Constructor |
|
ImageFlow(Image img)
Constructor |
|
| Method Summary | |
protected void |
contributeBidi(BidiProcessor proc)
This FlowFigure contributes an Object Replacement Character. |
protected FlowFigureLayout |
createDefaultFlowLayout()
ImageFlow does not use a layout manager. |
protected void |
layout()
Lays out this Figure using its LayoutManager. |
protected void |
paintFigure(Graphics graphics)
Paints the image. |
void |
postValidate()
Updates the bounds of the ImageFlow to match that of its content box. |
void |
setBidiValues(int[] levels)
|
void |
setFlowContext(FlowContext flowContext)
Since ImageFlow doesn't use a LayoutManager, it saves a reference to it. |
void |
setImage(Image image)
Sets the image to be displayed by this ImageFlow |
| Methods inherited from class org.eclipse.draw2d.text.FlowFigure |
add, addLeadingWordRequirements, remove, revalidateBidi, setBidiInfo, setBounds, setSelection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImageFlow()
public ImageFlow(Image img)
img - the Image to be displayed| Method Detail |
protected void contributeBidi(BidiProcessor proc)
contributeBidi in class FlowFigureproc - the BidiProcessor to which contributions should be madeFlowFigure.contributeBidi(org.eclipse.draw2d.text.BidiProcessor)protected FlowFigureLayout createDefaultFlowLayout()
createDefaultFlowLayout in class FlowFigureFlowFigure.createDefaultFlowLayout()protected void layout()
FigureLayoutManager.
layout in class FigureFigure.layout()public void setBidiValues(int[] levels)
FlowFigure#setBidiValues(int[])protected void paintFigure(Graphics graphics)
paintFigure in class Figuregraphics - The Graphics used to paintFigure.paintFigure(org.eclipse.draw2d.Graphics)public void postValidate()
postValidate in class FlowFigureFlowFigure.postValidate()public void setFlowContext(FlowContext flowContext)
setFlowContext in class FlowFigureflowContext - the flow context for this flow figureFlowFigure.setFlowContext(org.eclipse.draw2d.text.FlowContext)public void setImage(Image image)
image - the Image to be displayed
|
Eclipse Draw2d 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||