Package org.eclipse.gef.handles
Class CornerTriangleBorder
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.gef.handles.CornerTriangleBorder
- All Implemented Interfaces:
- Border
Deprecated.
this class is no longer used
A 
Border with a triangle in each corner.- 
Field SummaryFields inherited from class org.eclipse.draw2d.AbstractBordertempRect
- 
Constructor SummaryConstructorsConstructorDescriptionCornerTriangleBorder(boolean isPrimary) Deprecated.Creates a newCornerTriangleBorder.
- 
Method SummaryModifier and TypeMethodDescriptionprotected ColorDeprecated.Returns the outline color based on what is returned byisPrimary().protected ColorDeprecated.Returns the fill color based on what is returned byisPrimary().Deprecated.booleanisOpaque()Deprecated.Returnstrue.booleanDeprecated.Returnstrueif this border is for the primary object in the selection.voidDeprecated.Paints the border.voidsetPrimary(boolean isPrimary) Deprecated.Sets this border as primary ifisPrimaryistrue.Methods inherited from class org.eclipse.draw2d.AbstractBordergetPaintRectangle, getPreferredSize
- 
Constructor Details- 
CornerTriangleBorderpublic CornerTriangleBorder(boolean isPrimary) Deprecated.Creates a newCornerTriangleBorder.- Parameters:
- isPrimary- Determines this border's color.
 
 
- 
- 
Method Details- 
isOpaquepublic boolean isOpaque()Deprecated.Returnstrue.- Specified by:
- isOpaquein interface- Border
- Overrides:
- isOpaquein class- AbstractBorder
- See Also:
 
- 
getInsetsDeprecated.- See Also:
 
- 
paintDeprecated.Paints the border. If this is a border for the primary selection, it's painted black. Otherwise, it's painted white.- Parameters:
- figure- The- IFigurethis border will be painted on
- graphics- The- Graphics.
- insets- The- Insets.
 
- 
getBorderColorDeprecated.Returns the outline color based on what is returned byisPrimary().- Returns:
- The outline color.
 
- 
getFillColorDeprecated.Returns the fill color based on what is returned byisPrimary().- Returns:
- The fill color.
 
- 
isPrimarypublic boolean isPrimary()Deprecated.Returnstrueif this border is for the primary object in the selection. Otherwise, returnsfalse.- Returns:
- Whether or not this is a primary border.
 
- 
setPrimarypublic void setPrimary(boolean isPrimary) Deprecated.Sets this border as primary ifisPrimaryistrue.- Parameters:
- isPrimary- True if this border is for the primary object in the selection.
 
 
-