Class VersatileLineBorder
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.draw2d.LineBorder
org.csstudio.opibuilder.visualparts.VersatileLineBorder
- All Implemented Interfaces:
- org.eclipse.draw2d.Border
public class VersatileLineBorder
extends org.eclipse.draw2d.LineBorder
The line border which allows versatile line style: SWT.LINE_SOLID, SWT.LINE_DASH, SWT.LINE_DOT, SWT.LINE_DASHDOT or
 SWT.LINE_DASHDOTDOT.
- 
Field SummaryFields inherited from class org.eclipse.draw2d.AbstractBordertempRect
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidpaint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets) Methods inherited from class org.eclipse.draw2d.LineBordergetColor, getInsets, getStyle, getWidth, isOpaque, setColor, setStyle, setWidthMethods inherited from class org.eclipse.draw2d.AbstractBordergetPaintRectangle, getPreferredSize
- 
Constructor Details- 
VersatileLineBorder- Parameters:
- borderColor- the border color
- lineWidth- the line width in pixels
- lineStyle- the line style, which must be one of the constants SWT.LINE_SOLID, SWT.LINE_DASH, SWT.LINE_DOT, SWT.LINE_DASHDOT or SWT.LINE_DASHDOTDOT.
 
 
- 
- 
Method Details- 
paintpublic void paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets) - Specified by:
- paintin interface- org.eclipse.draw2d.Border
- Overrides:
- paintin class- org.eclipse.draw2d.LineBorder
 
 
-