org.topcased.modeler.sam.automatondiagram.figures
Class MacroStateFigure.MacroStateHeaderFigureBorder
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.draw2d.LineBorder
org.topcased.modeler.sam.automatondiagram.figures.MacroStateFigure.MacroStateHeaderFigureBorder
- All Implemented Interfaces:
- org.eclipse.draw2d.Border
- Enclosing class:
- MacroStateFigure
public class MacroStateFigure.MacroStateHeaderFigureBorder
- extends org.eclipse.draw2d.LineBorder
A Border at the left, top and right of the label
Fields inherited from class org.eclipse.draw2d.AbstractBorder |
tempRect |
Method Summary |
org.eclipse.draw2d.geometry.Insets |
getInsets(org.eclipse.draw2d.IFigure figure)
|
void |
paint(org.eclipse.draw2d.IFigure figure,
org.eclipse.draw2d.Graphics graphics,
org.eclipse.draw2d.geometry.Insets insets)
Draw the 3 borders |
Methods inherited from class org.eclipse.draw2d.LineBorder |
getColor, getWidth, isOpaque, setColor, 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 |
MacroStateFigure.MacroStateHeaderFigureBorder
public MacroStateFigure.MacroStateHeaderFigureBorder()
getInsets
public org.eclipse.draw2d.geometry.Insets getInsets(org.eclipse.draw2d.IFigure figure)
- Specified by:
getInsets
in interface org.eclipse.draw2d.Border
- Overrides:
getInsets
in class org.eclipse.draw2d.LineBorder
- See Also:
Border.getInsets(org.eclipse.draw2d.IFigure)
paint
public void paint(org.eclipse.draw2d.IFigure figure,
org.eclipse.draw2d.Graphics graphics,
org.eclipse.draw2d.geometry.Insets insets)
- Draw the 3 borders
- Specified by:
paint
in interface org.eclipse.draw2d.Border
- Overrides:
paint
in class org.eclipse.draw2d.LineBorder
- See Also:
Border.paint(org.eclipse.draw2d.IFigure,
org.eclipse.draw2d.Graphics, org.eclipse.draw2d.geometry.Insets)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.