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

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

public class SignalBorder
extends AbstractColorBorder

This border is used for SDL-Signals.

Version:
$Revision: 1.11 $
Author:
$Author: lowende $
See Also:
Serialized Form

Field Summary
static int IN
          No comment provided by developer, please add a comment to improve documentation.
static int OUT
          No comment provided by developer, please add a comment to improve documentation.
static int SAVING
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
SignalBorder(int shape)
          Constructor for class SignalBorder
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
          Get the borderInsets attribute of the SignalBorder object
 java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
          Get the borderInsets attribute of the SignalBorder object
 int getSignalShape()
          Get the signalShape attribute of the SignalBorder object
 boolean isBorderOpaque()
          Get the borderOpaque attribute of the SignalBorder 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 SDL-CreateProcess.
 void setSignalShape(int shape)
          Sets the signalShape attribute of the SignalBorder 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
 

Field Detail

OUT

public static final int OUT
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

IN

public static final int IN
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

SAVING

public static final int SAVING
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

SignalBorder

public SignalBorder(int shape)
Constructor for class SignalBorder

Parameters:
shape - No description provided
Method Detail

getSignalShape

public int getSignalShape()
Get the signalShape attribute of the SignalBorder object

Returns:
The signalShape value

setSignalShape

public void setSignalShape(int shape)
Sets the signalShape attribute of the SignalBorder object

Parameters:
shape - The new signalShape value

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Get the borderInsets attribute of the SignalBorder 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 SignalBorder object

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

isBorderOpaque

public boolean isBorderOpaque()
Get the borderOpaque attribute of the SignalBorder 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 SDL-CreateProcess.

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