org.eclipse.gmf.runtime.lite.figures
Class LineBorderEx
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.draw2d.LineBorder
org.eclipse.gmf.runtime.lite.figures.LineBorderEx
- All Implemented Interfaces:
- org.eclipse.draw2d.Border
public class LineBorderEx
- extends org.eclipse.draw2d.LineBorder
A line border with configurability of which sides to paint.
- Author:
- bblajer
Fields inherited from class org.eclipse.draw2d.AbstractBorder |
tempRect |
Constructor Summary |
LineBorderEx(org.eclipse.swt.graphics.Color color,
int position)
|
LineBorderEx(org.eclipse.swt.graphics.Color color,
int width,
int position)
|
LineBorderEx(int position)
|
Method Summary |
boolean |
isOpaque()
|
void |
paint(org.eclipse.draw2d.IFigure figure,
org.eclipse.draw2d.Graphics graphics,
org.eclipse.draw2d.geometry.Insets insets)
|
Methods inherited from class org.eclipse.draw2d.LineBorder |
getColor, getInsets, getStyle, getWidth, setColor, setStyle, setWidth |
Methods inherited from class org.eclipse.draw2d.AbstractBorder |
getPaintRectangle, getPreferredSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineBorderEx
public LineBorderEx(int position)
LineBorderEx
public LineBorderEx(org.eclipse.swt.graphics.Color color,
int width,
int position)
LineBorderEx
public LineBorderEx(org.eclipse.swt.graphics.Color color,
int position)
isOpaque
public boolean isOpaque()
- Specified by:
isOpaque
in interface org.eclipse.draw2d.Border
- Overrides:
isOpaque
in class org.eclipse.draw2d.LineBorder
paint
public void paint(org.eclipse.draw2d.IFigure figure,
org.eclipse.draw2d.Graphics graphics,
org.eclipse.draw2d.geometry.Insets insets)
- Specified by:
paint
in interface org.eclipse.draw2d.Border
- Overrides:
paint
in class org.eclipse.draw2d.LineBorder
Copyright © 2012. All Rights Reserved.