jp.sourceforge.sqs_xml.swing
クラス CompTitledBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.TitledBorder
jp.sourceforge.sqs_xml.swing.CompTitledBorder
- すべての実装インタフェース:
- javax.swing.border.Border, java.io.Serializable
- 直系の既知のサブクラス:
- IconTitledBorder
- public class CompTitledBorder
- extends javax.swing.border.TitledBorder
- 作成者:
- hiroya
- 関連項目:
- 直列化された形式
フィールドの概要 |
protected javax.swing.JComponent |
component
|
クラス 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 |
コンストラクタの概要 |
CompTitledBorder(javax.swing.border.Border border)
|
CompTitledBorder(javax.swing.border.Border border,
javax.swing.JComponent component)
|
CompTitledBorder(javax.swing.border.Border border,
javax.swing.JComponent component,
int titleJustification,
int titlePosition)
|
CompTitledBorder(javax.swing.JComponent component)
|
クラス javax.swing.border.TitledBorder から継承したメソッド |
getBorder, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition |
クラス javax.swing.border.AbstractBorder から継承したメソッド |
getInteriorRectangle, getInteriorRectangle |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
component
protected javax.swing.JComponent component
CompTitledBorder
public CompTitledBorder(javax.swing.JComponent component)
CompTitledBorder
public CompTitledBorder(javax.swing.border.Border border)
CompTitledBorder
public CompTitledBorder(javax.swing.border.Border border,
javax.swing.JComponent component)
CompTitledBorder
public CompTitledBorder(javax.swing.border.Border border,
javax.swing.JComponent component,
int titleJustification,
int titlePosition)
paintBorder
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
getTitleComponent
public javax.swing.JComponent getTitleComponent()
setTitleComponent
public void setTitleComponent(javax.swing.JComponent component)
getComponentRect
public java.awt.Rectangle getComponentRect(java.awt.Rectangle rect,
java.awt.Insets borderInsets)