|
GEF (MVC) 3.8.1.201211122107 |
|||||||||
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
public final class 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
.
isOpaque
in interface Border
isOpaque
in class AbstractBorder
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.
|
GEF (MVC) 3.8.1.201211122107 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |