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

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.StateBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable

public class StateBorder
extends AbstractColorBorder

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

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

Constructor Summary
StateBorder()
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
          Get the borderInsets attribute of the StateBorder object
 java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
          Get the borderInsets attribute of the StateBorder object
 boolean isBorderOpaque()
          Get the borderOpaque attribute of the StateBorder object
static void main(java.lang.String[] args)
          The main program for the StateBorder class
 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 setBorderInsets(int x1, int y1, int x2, int y2)
          Sets the borderInsets attribute of the StateBorder 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

StateBorder

public StateBorder()
Method Detail

getBorderInsets

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

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

setBorderInsets

public void setBorderInsets(int x1,
                            int y1,
                            int x2,
                            int y2)
Sets the borderInsets attribute of the StateBorder object

Parameters:
x1 - The new borderInsets value
y1 - The new borderInsets value
x2 - The new borderInsets value
y2 - The new borderInsets value

getBorderInsets

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

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

isBorderOpaque

public boolean isBorderOpaque()
Get the borderOpaque attribute of the StateBorder 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

main

public static void main(java.lang.String[] args)
The main program for the StateBorder class

Parameters:
args - The command line arguments