Package org.eclipse.gef.handles
Class CornerTriangleBorder
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.gef.handles.CornerTriangleBorder
- All Implemented Interfaces:
org.eclipse.draw2d.Border
Deprecated.
this class is no longer used
A
Border with a triangle in each corner.-
Field Summary
Fields inherited from class org.eclipse.draw2d.AbstractBorder
tempRect -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ColorDeprecated.protected ColorDeprecated.org.eclipse.draw2d.geometry.InsetsgetInsets(org.eclipse.draw2d.IFigure figure) Deprecated.booleanisOpaque()Deprecated.booleanDeprecated.voidpaint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets) Deprecated.voidsetPrimary(boolean isPrimary) Deprecated.Methods inherited from class org.eclipse.draw2d.AbstractBorder
getPaintRectangle, getPreferredSize
-
Constructor Details
-
CornerTriangleBorder
Deprecated.Creates a newCornerTriangleBorder.- Parameters:
isPrimary- Determines this border's color.
-
-
Method Details
-
isOpaque
Deprecated.Returnstrue.- Specified by:
isOpaquein interfaceorg.eclipse.draw2d.Border- Overrides:
isOpaquein classorg.eclipse.draw2d.AbstractBorder- See Also:
-
getInsets
Deprecated.- See Also:
-
paint
@Deprecated public void paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets) Deprecated.Paints the border. If this is a border for the primary selection, it's painted black. Otherwise, it's painted white.- Parameters:
figure- TheIFigurethis border will be painted ongraphics- TheGraphics.insets- TheInsets.
-
getBorderColor
Deprecated.Returns the outline color based on what is returned byisPrimary().- Returns:
- The outline color.
-
getFillColor
Deprecated.Returns the fill color based on what is returned byisPrimary().- Returns:
- The fill color.
-
isPrimary
Deprecated.Returnstrueif this border is for the primary object in the selection. Otherwise, returnsfalse.- Returns:
- Whether or not this is a primary border.
-
setPrimary
Deprecated.Sets this border as primary ifisPrimaryistrue.- Parameters:
isPrimary- True if this border is for the primary object in the selection.
-