planetj.gui
Class CMTitledBorderJ

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

public class CMTitledBorderJ
extends TitledBorder

Support for I18N

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.border.TitledBorder
ABOVE_BOTTOM, ABOVE_TOP, BELOW_BOTTOM, BELOW_TOP, BOTTOM, CENTER, DEFAULT_JUSTIFICATION, DEFAULT_POSITION, LEADING, LEFT, RIGHT, TOP, TRAILING
 
Constructor Summary
CMTitledBorderJ(Border border)
          CMTitledBorderJ constructor comment.
CMTitledBorderJ(Border border, String title)
          CMTitledBorderJ constructor comment.
CMTitledBorderJ(Border border, String title, int titleJustification, int titlePosition)
          CMTitledBorderJ constructor comment.
CMTitledBorderJ(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
          CMTitledBorderJ constructor comment.
CMTitledBorderJ(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
          CMTitledBorderJ constructor comment.
CMTitledBorderJ(String title)
          CMTitledBorderJ constructor comment.
 
Method Summary
 void setTitle(String title)
          Sets the title of the titled border.
 
Methods inherited from class javax.swing.border.TitledBorder
getBorder, getBorderInsets, getBorderInsets, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, paintBorder, setBorder, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
 
Methods inherited from class javax.swing.border.AbstractBorder
getInteriorRectangle, getInteriorRectangle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMTitledBorderJ

public CMTitledBorderJ(String title)
CMTitledBorderJ constructor comment.

Parameters:
title - java.lang.String

CMTitledBorderJ

public CMTitledBorderJ(Border border)
CMTitledBorderJ constructor comment.

Parameters:
border - javax.swing.border.Border

CMTitledBorderJ

public CMTitledBorderJ(Border border,
                       String title)
CMTitledBorderJ constructor comment.

Parameters:
border - javax.swing.border.Border
title - java.lang.String

CMTitledBorderJ

public CMTitledBorderJ(Border border,
                       String title,
                       int titleJustification,
                       int titlePosition)
CMTitledBorderJ constructor comment.

Parameters:
border - javax.swing.border.Border
title - java.lang.String
titleJustification - int
titlePosition - int

CMTitledBorderJ

public CMTitledBorderJ(Border border,
                       String title,
                       int titleJustification,
                       int titlePosition,
                       Font titleFont)
CMTitledBorderJ constructor comment.

Parameters:
border - javax.swing.border.Border
title - java.lang.String
titleJustification - int
titlePosition - int
titleFont - java.awt.Font

CMTitledBorderJ

public CMTitledBorderJ(Border border,
                       String title,
                       int titleJustification,
                       int titlePosition,
                       Font titleFont,
                       Color titleColor)
CMTitledBorderJ constructor comment.

Parameters:
border - javax.swing.border.Border
title - java.lang.String
titleJustification - int
titlePosition - int
titleFont - java.awt.Font
titleColor - java.awt.Color
Method Detail

setTitle

public void setTitle(String title)
Sets the title of the titled border. param title the title for the border

Overrides:
setTitle in class TitledBorder