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

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.TextBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable
Direct Known Subclasses:
ColoredTextBorder

public class TextBorder
extends AbstractColorBorder

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

Version:
$Revision: 1.12.2.1 $
Author:
$Author: beebop $
See Also:
Serialized Form

Constructor Summary
TextBorder(java.awt.Color aColor)
          Constructor for class TextBorder
TextBorder(java.awt.Color aColor, java.lang.String upperLeftText)
          Constructor for class TextBorder
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
          Get the borderInsets attribute of the TextBorder object
 java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
          Get the borderInsets attribute of the TextBorder object
 java.awt.Font getFont()
          Get the font attribute of the TextBorder object
 java.awt.Color getLowerLeftColor()
          Get the lowerLeftColor attribute of the TextBorder object
 java.lang.String getLowerLeftText()
          Get the lowerLeftText attribute of the TextBorder object
 java.awt.Color getLowerRightColor()
          Get the lowerRightColor attribute of the TextBorder object
 java.lang.String getLowerRightText()
          Get the lowerRightText attribute of the TextBorder object
 java.awt.Color getUpperLeftColor()
          Get the upperLeftColor attribute of the TextBorder object
 java.lang.String getUpperLeftText()
          Get the upperLeftText attribute of the TextBorder object
 java.awt.Color getUpperRightColor()
          Get the upperRightColor attribute of the TextBorder object
 java.lang.String getUpperRightText()
          Get the upperRightText attribute of the TextBorder object
 boolean isBorderOpaque()
          Get the borderOpaque attribute of the TextBorder 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 Set objects.
 void setFont(java.awt.Font f)
          Sets the font attribute of the TextBorder object
 void setLowerLeftColor(java.awt.Color lowerLeftColor)
          Sets the lowerLeftColor attribute of the TextBorder object
 void setLowerLeftText(java.lang.String lowerLeftText)
          Sets the lowerLeftText attribute of the TextBorder object
 void setLowerRightColor(java.awt.Color lowerRightColor)
          Sets the lowerRightColor attribute of the TextBorder object
 void setLowerRightText(java.lang.String lowerRightText)
          Sets the lowerRightText attribute of the TextBorder object
 void setUpperLeftColor(java.awt.Color upperLeftColor)
          Sets the upperLeftColor attribute of the TextBorder object
 void setUpperLeftText(java.lang.String upperLeftText)
          Sets the upperLeftText attribute of the TextBorder object
 void setUpperRightColor(java.awt.Color upperRightColor)
          Sets the upperRightColor attribute of the TextBorder object
 void setUpperRightText(java.lang.String upperRightText)
          Sets the upperRightText attribute of the TextBorder 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

TextBorder

public TextBorder(java.awt.Color aColor)
Constructor for class TextBorder

Parameters:
aColor - No description provided

TextBorder

public TextBorder(java.awt.Color aColor,
                  java.lang.String upperLeftText)
Constructor for class TextBorder

Parameters:
aColor - No description provided
upperLeftText - No description provided
Method Detail

getLowerLeftText

public java.lang.String getLowerLeftText()
Get the lowerLeftText attribute of the TextBorder object

Returns:
The lowerLeftText value

getLowerLeftColor

public java.awt.Color getLowerLeftColor()
Get the lowerLeftColor attribute of the TextBorder object

Returns:
The lowerLeftColor value

getLowerRightText

public java.lang.String getLowerRightText()
Get the lowerRightText attribute of the TextBorder object

Returns:
The lowerRightText value

getLowerRightColor

public java.awt.Color getLowerRightColor()
Get the lowerRightColor attribute of the TextBorder object

Returns:
The lowerRightColor value

getUpperLeftText

public java.lang.String getUpperLeftText()
Get the upperLeftText attribute of the TextBorder object

Returns:
The upperLeftText value

getUpperLeftColor

public java.awt.Color getUpperLeftColor()
Get the upperLeftColor attribute of the TextBorder object

Returns:
The upperLeftColor value

getUpperRightText

public java.lang.String getUpperRightText()
Get the upperRightText attribute of the TextBorder object

Returns:
The upperRightText value

getUpperRightColor

public java.awt.Color getUpperRightColor()
Get the upperRightColor attribute of the TextBorder object

Returns:
The upperRightColor value

setLowerLeftText

public void setLowerLeftText(java.lang.String lowerLeftText)
Sets the lowerLeftText attribute of the TextBorder object

Parameters:
lowerLeftText - The new lowerLeftText value

setLowerLeftColor

public void setLowerLeftColor(java.awt.Color lowerLeftColor)
Sets the lowerLeftColor attribute of the TextBorder object

Parameters:
lowerLeftColor - The new lowerLeftColor value

setLowerRightText

public void setLowerRightText(java.lang.String lowerRightText)
Sets the lowerRightText attribute of the TextBorder object

Parameters:
lowerRightText - The new lowerRightText value

setLowerRightColor

public void setLowerRightColor(java.awt.Color lowerRightColor)
Sets the lowerRightColor attribute of the TextBorder object

Parameters:
lowerRightColor - The new lowerRightColor value

setUpperLeftText

public void setUpperLeftText(java.lang.String upperLeftText)
Sets the upperLeftText attribute of the TextBorder object

Parameters:
upperLeftText - The new upperLeftText value

setUpperLeftColor

public void setUpperLeftColor(java.awt.Color upperLeftColor)
Sets the upperLeftColor attribute of the TextBorder object

Parameters:
upperLeftColor - The new upperLeftColor value

setUpperRightText

public void setUpperRightText(java.lang.String upperRightText)
Sets the upperRightText attribute of the TextBorder object

Parameters:
upperRightText - The new upperRightText value

setUpperRightColor

public void setUpperRightColor(java.awt.Color upperRightColor)
Sets the upperRightColor attribute of the TextBorder object

Parameters:
upperRightColor - The new upperRightColor value

getBorderInsets

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

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

isBorderOpaque

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

Returns:
The borderOpaque value

getFont

public java.awt.Font getFont()
Get the font attribute of the TextBorder object

Returns:
The font value

setFont

public void setFont(java.awt.Font f)
Sets the font attribute of the TextBorder object

Parameters:
f - The new font 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 Set objects.

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