javax.swing.plaf.basic
クラス BasicToggleButtonUI
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--javax.swing.plaf.ButtonUI
|
+--javax.swing.plaf.basic.BasicButtonUI
|
+--javax.swing.plaf.basic.BasicToggleButtonUI
- 直接の既知のサブクラス:
- BasicRadioButtonUI, MetalToggleButtonUI
- public class BasicToggleButtonUI
- extends BasicButtonUI
BasicToggleButton の実装です。
メソッドの概要 |
static ComponentUI |
createUI(JComponent b)
|
protected String |
getPropertyPrefix()
|
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,
AbstractButton b,
Rectangle iconRect)
|
protected void |
paintText(Graphics g,
AbstractButton b,
Rectangle textRect,
String text)
|
クラス javax.swing.plaf.basic.BasicButtonUI から継承したメソッド |
clearTextShiftOffset,
createButtonListener,
getDefaultTextIconGap,
getMaximumSize,
getMinimumSize,
getPreferredSize,
getTextShiftOffset,
installDefaults,
installKeyboardActions,
installListeners,
installUI,
paintIcon,
paintText,
setTextShiftOffset,
uninstallDefaults,
uninstallKeyboardActions,
uninstallListeners,
uninstallUI |
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BasicToggleButtonUI
public BasicToggleButtonUI()
createUI
public static ComponentUI createUI(JComponent b)
getPropertyPrefix
protected String getPropertyPrefix()
- オーバーライド:
- クラス BasicButtonUI 内の getPropertyPrefix
paint
public void paint(Graphics g,
JComponent c)
- オーバーライド:
- クラス BasicButtonUI 内の paint
paintIcon
protected void paintIcon(Graphics g,
AbstractButton b,
Rectangle iconRect)
paintText
protected void paintText(Graphics g,
AbstractButton b,
Rectangle textRect,
String text)
paintFocus
protected void paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect)
- オーバーライド:
- クラス BasicButtonUI 内の paintFocus
paintButtonPressed
protected void paintButtonPressed(Graphics g,
AbstractButton b)
- オーバーライド:
- クラス BasicButtonUI 内の paintButtonPressed
バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.