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
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.draw2d.geometry.Insets
getInsets
(org.eclipse.draw2d.IFigure figure) boolean
isOpaque()
void
paint
(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets) void
paintBackground
(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:
getInsets
in interfaceorg.eclipse.draw2d.Border
- Overrides:
getInsets
in classorg.eclipse.draw2d.AbstractBackground
-
isOpaque
public boolean isOpaque()- Specified by:
isOpaque
in interfaceorg.eclipse.draw2d.Border
- Overrides:
isOpaque
in 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:
paint
in interfaceorg.eclipse.draw2d.Border
- Overrides:
paint
in 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:
paintBackground
in classorg.eclipse.draw2d.AbstractBackground
-