|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.AbstractBorder
org.eclipse.draw2d.AbstractLabeledBorder
be.ac.vub.cocompose.eclipse.figures.ConceptBorder
A labeled border for CoCompose concepts.
Field Summary |
Fields inherited from class org.eclipse.draw2d.AbstractBorder |
tempRect |
Constructor Summary | |
ConceptBorder()
|
Method Summary | |
protected Insets |
calculateInsets(IFigure figure)
|
Image |
getIcon()
Gets the icon image. |
int |
getLinestyle()
Gets the line style |
Dimension |
getPreferredSize(IFigure fig)
|
boolean |
getUnderline()
Gets the underline attribute. |
void |
invalidate()
|
boolean |
isBold()
Returns true if the border is bold. |
void |
paint(IFigure figure,
Graphics g,
Insets insets)
|
void |
setBold(boolean bold)
Returns true if the border is bold. |
void |
setIcon(Image icon)
Sets the icon image. |
void |
setLinestyle(int linestyle)
Gets the line style |
void |
setUnderline(boolean underline)
Sets the underline attribute. |
Methods inherited from class org.eclipse.draw2d.AbstractLabeledBorder |
getFont, getInsets, getLabel, getTextColor, getTextExtents, setFont, setLabel, setTextColor |
Methods inherited from class org.eclipse.draw2d.AbstractBorder |
getPaintRectangle, isOpaque |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.draw2d.Border |
isOpaque |
Constructor Detail |
public ConceptBorder()
Method Detail |
protected Insets calculateInsets(IFigure figure)
AbstractLabeledBorder.calculateInsets(org.eclipse.draw2d.IFigure)
public void invalidate()
AbstractLabeledBorder.invalidate()
public void paint(IFigure figure, Graphics g, Insets insets)
Border.paint(org.eclipse.draw2d.IFigure, org.eclipse.draw2d.Graphics, org.eclipse.draw2d.geometry.Insets)
public Dimension getPreferredSize(IFigure fig)
Border.getPreferredSize(IFigure)
public boolean getUnderline()
public void setUnderline(boolean underline)
underline
- - the underline attribute.public int getLinestyle()
Graphics
public void setLinestyle(int linestyle)
linestyle
- the line styleGraphics
public void setIcon(Image icon)
icon
- the icon.public Image getIcon()
public boolean isBold()
public void setBold(boolean bold)
bold
- true if the border is bold.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |