|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.Figure
be.ac.vub.cocompose.eclipse.figures.ConceptFigure
Eclipse figure for displaying concepts.
Nested Class Summary |
Nested classes inherited from class org.eclipse.draw2d.Figure |
Figure.FigureIterator |
Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
Field Summary |
Fields inherited from class org.eclipse.draw2d.Figure |
bgColor, 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 | |
ConceptFigure()
Creates a ConceptFigure. |
Method Summary | |
IFigure |
getContentPane()
Gets the pane for embedded contents. |
Rectangle |
getHandleBounds()
|
Image |
getIcon()
Gets the icon image. |
String |
getLabel()
Gets the label string. |
int |
getLinestyle()
Gets the line style |
boolean |
hasChildren()
Checks if this figure contains other figures. |
void |
invalidate()
|
boolean |
isBold()
Returns true if the border is bold. |
void |
setBold(boolean bold)
Returns true if the border is bold. |
void |
setIcon(Image icon)
Sets the icon image. |
void |
setLabel(String label)
Sets the label string. |
void |
setLinestyle(int linestyle)
Gets the line style |
protected boolean |
useLocalCoordinates()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConceptFigure()
Method Detail |
public boolean hasChildren()
public Rectangle getHandleBounds()
getHandleBounds
in interface HandleBounds
HandleBounds.getHandleBounds()
public IFigure getContentPane()
public String getLabel()
public void setLabel(String label)
label
- - the label string.public boolean isBold()
public void setBold(boolean bold)
bold
- true if the border is bold.public void invalidate()
invalidate
in interface IFigure
IFigure.invalidate()
public int getLinestyle()
Graphics
public void setLinestyle(int linestyle)
linestyle
- the line styleGraphics
public void setIcon(Image icon)
icon
- the icon.public Image getIcon()
protected boolean useLocalCoordinates()
Figure.useLocalCoordinates()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |