|
Eclipse GEF 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.AbstractBorder
org.eclipse.gef.handles.CornerTriangleBorder
A Border with a triangle in each corner.
| Field Summary |
| Fields inherited from class org.eclipse.draw2d.AbstractBorder |
tempRect |
| Constructor Summary | |
CornerTriangleBorder(boolean isPrimary)
Deprecated. Creates a new CornerTriangleBorder. |
|
| Method Summary | |
protected Color |
getBorderColor()
Deprecated. Returns the outline color based on what is returned by isPrimary(). |
protected Color |
getFillColor()
Deprecated. Returns the fill color based on what is returned by isPrimary(). |
Insets |
getInsets(IFigure figure)
Deprecated. |
boolean |
isOpaque()
Deprecated. Returns true. |
boolean |
isPrimary()
Deprecated. Returns true if this border is for the
primary object in the selection. |
void |
paint(IFigure figure,
Graphics graphics,
Insets insets)
Deprecated. Paints the border. |
void |
setPrimary(boolean isPrimary)
Deprecated. Sets this border as primary if isPrimary
is true. |
| Methods inherited from class org.eclipse.draw2d.AbstractBorder |
getPaintRectangle, getPreferredSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CornerTriangleBorder(boolean isPrimary)
CornerTriangleBorder.
isPrimary - Determines this border's color.| Method Detail |
public boolean isOpaque()
true.
Border.isOpaque()public Insets getInsets(IFigure figure)
Border.getInsets(org.eclipse.draw2d.IFigure)
public void paint(IFigure figure,
Graphics graphics,
Insets insets)
figure - The IFigure this border will be painted ongraphics - The Graphics.insets - The Insets.protected Color getBorderColor()
isPrimary().
protected Color getFillColor()
isPrimary().
public boolean isPrimary()
true if this border is for the
primary object in the selection. Otherwise, returns
false.
public void setPrimary(boolean isPrimary)
isPrimary
is true.
isPrimary - True if this border is for the primary object in the selection.
|
Eclipse GEF 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||