de.uni_paderborn.fujaba.fsa.swing.border
Class ActivityBorder

java.lang.Object
  extended byjavax.swing.border.AbstractBorder
      extended byde.uni_paderborn.fujaba.fsa.swing.border.AbstractColorBorder
          extended byde.uni_paderborn.fujaba.fsa.swing.border.ActivityBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable

public class ActivityBorder
extends AbstractColorBorder

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.14 $
Author:
$Author: schneider $
See Also:
Serialized Form

Constructor Summary
ActivityBorder()
          Constructor for class ActivityBorder
ActivityBorder(boolean foreachBorder)
          Constructor for class ActivityBorder
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
          Get the borderInsets attribute of the ActivityBorder object
 java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
          Get the borderInsets attribute of the ActivityBorder object
 boolean isBorderOpaque()
          Get the borderOpaque attribute of the ActivityBorder object
 boolean isForeachBorder()
          Get the foreachBorder attribute of the ActivityBorder object
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
          This method draws the Border for Activities.
 void setForeachBorder(boolean foreachBorder)
          Sets the foreachBorder attribute of the ActivityBorder object
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.swing.border.AbstractColorBorder
getBorderColor, setBorderColor
 
Methods inherited from class javax.swing.border.AbstractBorder
getInteriorRectangle, getInteriorRectangle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityBorder

public ActivityBorder()
Constructor for class ActivityBorder


ActivityBorder

public ActivityBorder(boolean foreachBorder)
Constructor for class ActivityBorder

Parameters:
foreachBorder - No description provided
Method Detail

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Get the borderInsets attribute of the ActivityBorder object

Parameters:
c - No description provided
Returns:
The borderInsets value

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c,
                                       java.awt.Insets insets)
Get the borderInsets attribute of the ActivityBorder object

Parameters:
c - No description provided
insets - No description provided
Returns:
The borderInsets value

isBorderOpaque

public boolean isBorderOpaque()
Get the borderOpaque attribute of the ActivityBorder object

Returns:
The borderOpaque value

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
This method draws the Border for Activities. It consists of a two lines at top and bottom and the half of an ellipsoid at left and right.
  ----
 (    )
  ----
 

Parameters:
c - No description provided
g - No description provided
x - No description provided
y - No description provided
width - No description provided
height - No description provided

isForeachBorder

public boolean isForeachBorder()
Get the foreachBorder attribute of the ActivityBorder object

Returns:
The foreachBorder value

setForeachBorder

public void setForeachBorder(boolean foreachBorder)
Sets the foreachBorder attribute of the ActivityBorder object

Parameters:
foreachBorder - The new foreachBorder value