KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > border > TitledBorder

javax.swing.border
Class TitledBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.TitledBorder
All Implemented Interfaces:
Serializable, Border
Direct Known Subclasses:
BorderUIResource.TitledBorderUIResource
See Also:
Top Examples, Source Code, XMLEncoder

public static final int ABOVE_BOTTOM
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int ABOVE_TOP
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int BELOW_BOTTOM
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int BELOW_TOP
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Border border
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int BOTTOM
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int CENTER
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int DEFAULT_JUSTIFICATION
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int DEFAULT_POSITION
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int EDGE_SPACING
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Border getBorder()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Insets getBorderInsets(Component c)
See Also:
AbstractBorder, Border
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Insets getBorderInsets(Component c,
                              Insets insets)
See Also:
AbstractBorder
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Font getFont(Component c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getMinimumSize(Component c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getTitle()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getTitleColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Font getTitleFont()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTitleJustification()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTitlePosition()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isBorderOpaque()
See Also:
AbstractBorder, Border
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int LEADING
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int LEFT
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
See Also:
AbstractBorder, Border
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int RIGHT
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBorder(Border border)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTitle(String title)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTitleColor(Color titleColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTitleFont(Font titleFont)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTitleJustification(int titleJustification)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTitlePosition(int titlePosition)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int TEXT_INSET_H
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int TEXT_SPACING
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String title
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color titleColor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TitledBorder(String title)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TitledBorder(Border border)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TitledBorder(Border border,
                    String title)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TitledBorder(Border border,
                    String title,
                    int titleJustification,
                    int titlePosition)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TitledBorder(Border border,
                    String title,
                    int titleJustification,
                    int titlePosition,
                    Font titleFont)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TitledBorder(Border border,
                    String title,
                    int titleJustification,
                    int titlePosition,
                    Font titleFont,
                    Color titleColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Font titleFont
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int titleJustification
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int titlePosition
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int TOP
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int TRAILING
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags