org.jupe.editors.classdiagram.graphics.nodes.atomics
Class SeparatorBorder

java.lang.Object
  extended by org.eclipse.draw2d.AbstractBorder
      extended by org.eclipse.draw2d.MarginBorder
          extended by org.jupe.editors.classdiagram.graphics.nodes.atomics.SeparatorBorder
All Implemented Interfaces:
org.eclipse.draw2d.Border

public class SeparatorBorder
extends org.eclipse.draw2d.MarginBorder

Border that consists only of a line in top of the figure.

Author:
Michael Pradel

Constructor Summary
SeparatorBorder()
          Constructor of a new SeperatorBorder.
 
Method Summary
 void paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets)
          Paint or Repaint the SeperatorBorder.
 
Methods inherited from class org.eclipse.draw2d.MarginBorder
getInsets
 
Methods inherited from class org.eclipse.draw2d.AbstractBorder
getPreferredSize, isOpaque
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeparatorBorder

public SeparatorBorder()
Constructor of a new SeperatorBorder.

Method Detail

paint

public void paint(org.eclipse.draw2d.IFigure figure,
                  org.eclipse.draw2d.Graphics graphics,
                  org.eclipse.draw2d.geometry.Insets insets)
Paint or Repaint the SeperatorBorder.

Specified by:
paint in interface org.eclipse.draw2d.Border
Overrides:
paint in class org.eclipse.draw2d.MarginBorder
Parameters:
figure - the figure above the SeperatorBorder
graphics - the figure to be drawn on
insets - the insets to be used