API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf. BorderUIResource.TitledBorderUIResource View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AbstractBorder
          TitledBorder
              BorderUIResource.TitledBorderUIResource
Implements
 UIResource
Subclasses
Description
publicstatic class BorderUIResource.TitledBorderUIResource
See also:   
Constructors
public BorderUIResource.TitledBorderUIResource (Border border)
public BorderUIResource.TitledBorderUIResource (Border border, String title)
public BorderUIResource.TitledBorderUIResource (Border border, String title, int titleJustification, int titlePosition)
public BorderUIResource.TitledBorderUIResource (Border border, String title, int titleJustification, int titlePosition, Font titleFont)
public BorderUIResource.TitledBorderUIResource (Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
public BorderUIResource.TitledBorderUIResource (String title)
Methods
Hide/Show inherited methods
public int getBaseline (Component c, int width, int height) [Inherited From TitledBorder]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (Component c) [Inherited From TitledBorder]
  Returns an enum indicating how the baseline of the border changes as the size changes.
public Border getBorder () [Inherited From TitledBorder]
Returns the border of the titled border.
public Insets getBorderInsets (Component c) [Inherited From TitledBorder]
  Returns the insets of the border.
public Insets getBorderInsets (Component c, Insets insets) [Inherited From TitledBorder]
  Reinitialize the insets parameter with this Border's current Insets.
protected Font getFont (Component c) [Inherited From TitledBorder]
publicstatic Rectangle getInteriorRectangle (Component c, Border b, int x, int y, int width, int height) [Inherited From AbstractBorder]
  Returns a rectangle using the arguments minus the insets of the border.
public Rectangle getInteriorRectangle (Component c, int x, int y, int width, int height) [Inherited From AbstractBorder]
  This convenience method calls the static method.
public Dimension getMinimumSize (Component c) [Inherited From TitledBorder]
  Returns the minimum dimensions this border requires in order to fully display the border and title.
public String getTitle () [Inherited From TitledBorder]
Returns the title of the titled border.
public Color getTitleColor () [Inherited From TitledBorder]
Returns the title-color of the titled border.
public Font getTitleFont () [Inherited From TitledBorder]
Returns the title-font of the titled border.
public int getTitleJustification () [Inherited From TitledBorder]
Returns the title-justification of the titled border.
public int getTitlePosition () [Inherited From TitledBorder]
Returns the title-position of the titled border.
public boolean isBorderOpaque () [Inherited From TitledBorder]
Returns whether or not the border is opaque.
public void paintBorder (Component c, Graphics g, int x, int y, int width, int height) [Inherited From TitledBorder]
  Paints the border for the specified component with the specified position and size.
public void setBorder (Border border) [Inherited From TitledBorder]
  Sets the border of the titled border.
public void setTitle (String title) [Inherited From TitledBorder]
  Sets the title of the titled border.
public void setTitleColor (Color titleColor) [Inherited From TitledBorder]
  Sets the title-color of the titled border.
public void setTitleFont (Font titleFont) [Inherited From TitledBorder]
  Sets the title-font of the titled border.
public void setTitleJustification (int titleJustification) [Inherited From TitledBorder]
  Sets the title-justification of the titled border.
public void setTitlePosition (int titlePosition) [Inherited From TitledBorder]
  Sets the title-position of the titled border.
Fields
Hide/Show inherited fields
publicfinalstatic int ABOVE_BOTTOM = "4" [Inherited From TitledBorder]
Position the title above the border's bottom line.
publicfinalstatic int ABOVE_TOP = "1" [Inherited From TitledBorder]
Position the title above the border's top line.
publicfinalstatic int BELOW_BOTTOM = "6" [Inherited From TitledBorder]
Position the title below the border's bottom line.
publicfinalstatic int BELOW_TOP = "3" [Inherited From TitledBorder]
Position the title below the border's top line.
protected Border border [Inherited From TitledBorder]
publicfinalstatic int BOTTOM = "5" [Inherited From TitledBorder]
Position the title in the middle of the border's bottom line.
publicfinalstatic int CENTER = "2" [Inherited From TitledBorder]
Position title text in the center of the border line.
publicfinalstatic int DEFAULT_JUSTIFICATION = "0" [Inherited From TitledBorder]
Use the default justification for the title text.
publicfinalstatic int DEFAULT_POSITION = "0" [Inherited From TitledBorder]
Use the default vertical orientation for the title text.
protectedfinalstatic int EDGE_SPACING = "2" [Inherited From TitledBorder]
publicfinalstatic int LEADING = "4" [Inherited From TitledBorder]
Position title text at the left side of the border line for left to right orientation, at the right side of the border line for right to left orientation.
publicfinalstatic int LEFT = "1" [Inherited From TitledBorder]
Position title text at the left side of the border line.
publicfinalstatic int RIGHT = "3" [Inherited From TitledBorder]
Position title text at the right side of the border line.
protectedfinalstatic int TEXT_INSET_H = "5" [Inherited From TitledBorder]
protectedfinalstatic int TEXT_SPACING = "2" [Inherited From TitledBorder]
protected String title [Inherited From TitledBorder]
protected Color titleColor [Inherited From TitledBorder]
protected Font titleFont [Inherited From TitledBorder]
protected int titleJustification [Inherited From TitledBorder]
protected int titlePosition [Inherited From TitledBorder]
publicfinalstatic int TOP = "2" [Inherited From TitledBorder]
Position the title in the middle of the border's top line.
publicfinalstatic int TRAILING = "5" [Inherited From TitledBorder]
Position title text at the right side of the border line for left to right orientation, at the left side of the border line for right to left orientation.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar