javax.swing.plaf.basic
クラス BasicButtonUI
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--javax.swing.plaf.ButtonUI
|
+--javax.swing.plaf.basic.BasicButtonUI
- 直系の既知のサブクラス:
- BasicToggleButtonUI, MetalButtonUI
- public class BasicButtonUI
- extends ButtonUI
BasicButton の実装です。
メソッドの概要 |
protected void |
clearTextShiftOffset()
|
protected BasicButtonListener |
createButtonListener(AbstractButton b)
|
static ComponentUI |
createUI(JComponent c)
|
int |
getDefaultTextIconGap(AbstractButton b)
|
Dimension |
getMaximumSize(JComponent c)
|
Dimension |
getMinimumSize(JComponent c)
|
Dimension |
getPreferredSize(JComponent c)
|
protected String |
getPropertyPrefix()
|
protected int |
getTextShiftOffset()
|
protected void |
installDefaults(AbstractButton b)
|
protected void |
installKeyboardActions(AbstractButton b)
|
protected void |
installListeners(AbstractButton b)
|
void |
installUI(JComponent c)
|
void |
paint(Graphics g,
JComponent c)
|
protected void |
paintButtonPressed(Graphics g,
AbstractButton b)
|
protected void |
paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect)
|
protected void |
paintIcon(Graphics g,
JComponent c,
Rectangle iconRect)
|
protected void |
paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text)
|
protected void |
setTextShiftOffset()
|
protected void |
uninstallDefaults(AbstractButton b)
|
protected void |
uninstallKeyboardActions(AbstractButton b)
|
protected void |
uninstallListeners(AbstractButton b)
|
void |
uninstallUI(JComponent c)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultTextIconGap
protected int defaultTextIconGap
defaultTextShiftOffset
protected int defaultTextShiftOffset
BasicButtonUI
public BasicButtonUI()
createUI
public static ComponentUI createUI(JComponent c)
getPropertyPrefix
protected String getPropertyPrefix()
installUI
public void installUI(JComponent c)
- オーバーライド:
- クラス
ComponentUI
内の installUI
installDefaults
protected void installDefaults(AbstractButton b)
installListeners
protected void installListeners(AbstractButton b)
installKeyboardActions
protected void installKeyboardActions(AbstractButton b)
uninstallUI
public void uninstallUI(JComponent c)
- オーバーライド:
- クラス
ComponentUI
内の uninstallUI
uninstallKeyboardActions
protected void uninstallKeyboardActions(AbstractButton b)
uninstallListeners
protected void uninstallListeners(AbstractButton b)
uninstallDefaults
protected void uninstallDefaults(AbstractButton b)
createButtonListener
protected BasicButtonListener createButtonListener(AbstractButton b)
getDefaultTextIconGap
public int getDefaultTextIconGap(AbstractButton b)
paint
public void paint(Graphics g,
JComponent c)
- オーバーライド:
- クラス
ComponentUI
内の paint
paintIcon
protected void paintIcon(Graphics g,
JComponent c,
Rectangle iconRect)
paintText
protected void paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text)
paintFocus
protected void paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect)
paintButtonPressed
protected void paintButtonPressed(Graphics g,
AbstractButton b)
clearTextShiftOffset
protected void clearTextShiftOffset()
setTextShiftOffset
protected void setTextShiftOffset()
getTextShiftOffset
protected int getTextShiftOffset()
getMinimumSize
public Dimension getMinimumSize(JComponent c)
- オーバーライド:
- クラス
ComponentUI
内の getMinimumSize
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- オーバーライド:
- クラス
ComponentUI
内の getPreferredSize
getMaximumSize
public Dimension getMaximumSize(JComponent c)
- オーバーライド:
- クラス
ComponentUI
内の getMaximumSize
バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。 Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.