de.uni_paderborn.fujaba.fsa.swing.border
Class ColoredTextBorder
java.lang.Object
javax.swing.border.AbstractBorder
de.uni_paderborn.fujaba.fsa.swing.border.AbstractColorBorder
de.uni_paderborn.fujaba.fsa.swing.border.TextBorder
de.uni_paderborn.fujaba.fsa.swing.border.ColoredTextBorder
- All Implemented Interfaces:
- javax.swing.border.Border, java.io.Serializable
- public class ColoredTextBorder
- extends TextBorder
No comment provided by developer, please add a comment to improve documentation.
- Version:
- $Revision: 1.11 $
- Author:
- $Author: lowende $
- See Also:
- Serialized Form
Field Summary |
private java.awt.Color |
textColor
No comment provided by developer, please add a comment to improve documentation. |
Fields inherited from class de.uni_paderborn.fujaba.fsa.swing.border.TextBorder |
|
Constructor Summary |
ColoredTextBorder(java.awt.Color aColor,
java.awt.Color bColor)
Constructor for class ColoredTextBorder |
ColoredTextBorder(java.awt.Color aColor,
java.awt.Color bColor,
java.lang.String txt)
Constructor for class ColoredTextBorder |
Method Summary |
java.awt.Color |
getTextColor()
Get the textColor attribute of the ColoredTextBorder 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 |
setTextColor(java.awt.Color newColor)
Sets the textColor attribute of the ColoredTextBorder object |
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 |
textColor
private java.awt.Color textColor
- No comment provided by developer, please add a comment to improve documentation.
ColoredTextBorder
public ColoredTextBorder(java.awt.Color aColor,
java.awt.Color bColor)
- Constructor for class ColoredTextBorder
- Parameters:
aColor
- No description providedbColor
- No description provided
ColoredTextBorder
public ColoredTextBorder(java.awt.Color aColor,
java.awt.Color bColor,
java.lang.String txt)
- Constructor for class ColoredTextBorder
- Parameters:
aColor
- No description providedbColor
- No description providedtxt
- No description provided
getTextColor
public java.awt.Color getTextColor()
- Get the textColor attribute of the ColoredTextBorder object
- Returns:
- The textColor value
setTextColor
public void setTextColor(java.awt.Color newColor)
- Sets the textColor attribute of the ColoredTextBorder object
- Parameters:
newColor
- The new textColor 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.
- Specified by:
paintBorder
in interface javax.swing.border.Border
- Overrides:
paintBorder
in class TextBorder
- Parameters:
c
- No description providedg
- No description providedx
- No description providedy
- No description providedwidth
- No description providedheight
- No description provided