gui
Class TTBorder

java.lang.Object
  |
  +--javax.swing.border.AbstractBorder
        |
        +--javax.swing.border.TitledBorder
              |
              +--gui.TTBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable

public final class TTBorder
extends javax.swing.border.TitledBorder

This class is simply to aid in create borders for the various interface componenets.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.border.TitledBorder
ABOVE_BOTTOM, ABOVE_TOP, BELOW_BOTTOM, BELOW_TOP, border, BOTTOM, CENTER, DEFAULT_JUSTIFICATION, DEFAULT_POSITION, EDGE_SPACING, LEADING, LEFT, RIGHT, TEXT_INSET_H, TEXT_SPACING, title, titleColor, titleFont, titleJustification, titlePosition, TOP, TRAILING
 
Constructor Summary
TTBorder(java.lang.String title)
          This Constructor creates an etched border with a title.
 
Method Summary
 javax.swing.border.Border getBorder()
          This method returns the border created in this class when it was the class was instantiated.
static javax.swing.border.Border getBorder(java.lang.String title)
          This method creates an returns an etched border with a title.
 
Methods inherited from class javax.swing.border.TitledBorder
getBorderInsets, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, paintBorder, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
 
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

TTBorder

public TTBorder(java.lang.String title)
This Constructor creates an etched border with a title.

Parameters:
title - The title to use in the border.
Method Detail

getBorder

public static javax.swing.border.Border getBorder(java.lang.String title)
This method creates an returns an etched border with a title.

Parameters:
title - The title to use in the border.
Returns:
Border The border kept inside this class.

getBorder

public javax.swing.border.Border getBorder()
This method returns the border created in this class when it was the class was instantiated.

Overrides:
getBorder in class javax.swing.border.TitledBorder
Returns:
Border The border kept inside this class.