Class RoundRectangleBackgroundBorder
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.draw2d.AbstractBackground
org.csstudio.opibuilder.visualparts.RoundRectangleBackgroundBorder
- All Implemented Interfaces:
org.eclipse.draw2d.Border
public class RoundRectangleBackgroundBorder
extends org.eclipse.draw2d.AbstractBackground
A special border which fills the background with a round rectangle.
-
Field Summary
Fields inherited from class org.eclipse.draw2d.AbstractBorder
tempRect -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.draw2d.geometry.InsetsgetInsets(org.eclipse.draw2d.IFigure figure) booleanisOpaque()voidpaint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets) voidpaintBackground(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets) Methods inherited from class org.eclipse.draw2d.AbstractBorder
getPaintRectangle, getPreferredSize
-
Constructor Details
-
RoundRectangleBackgroundBorder
-
-
Method Details
-
getInsets
public org.eclipse.draw2d.geometry.Insets getInsets(org.eclipse.draw2d.IFigure figure) - Specified by:
getInsetsin interfaceorg.eclipse.draw2d.Border- Overrides:
getInsetsin classorg.eclipse.draw2d.AbstractBackground
-
isOpaque
public boolean isOpaque()- Specified by:
isOpaquein interfaceorg.eclipse.draw2d.Border- Overrides:
isOpaquein classorg.eclipse.draw2d.AbstractBorder
-
paint
public void paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets) - Specified by:
paintin interfaceorg.eclipse.draw2d.Border- Overrides:
paintin classorg.eclipse.draw2d.AbstractBackground
-
paintBackground
public void paintBackground(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets) - Overrides:
paintBackgroundin classorg.eclipse.draw2d.AbstractBackground
-