public class BEToggleButtonUI
extends javax.swing.plaf.basic.BasicToggleButtonUI
| 构造器和说明 |
|---|
BEToggleButtonUI() |
| 限定符和类型 | 方法和说明 |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b)
Creates the ui.
|
protected void |
installDefaults(javax.swing.AbstractButton b) |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
protected void |
paintFocus(java.awt.Graphics g,
javax.swing.AbstractButton b,
java.awt.Rectangle viewRect,
java.awt.Rectangle textRect,
java.awt.Rectangle iconRect) |
protected void |
paintText(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle textRect,
java.lang.String text)
As of Java 2 platform v 1.4 this method should not be used or overriden.
|
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintIcon, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
b - the bprotected void installDefaults(javax.swing.AbstractButton b)
installDefaults 在类中 javax.swing.plaf.basic.BasicButtonUIpublic void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint 在类中 javax.swing.plaf.basic.BasicToggleButtonUIprotected void paintText(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle textRect,
java.lang.String text)
paintText 在类中 javax.swing.plaf.basic.BasicButtonUIg - the gc - the ctextRect - the text recttext - the textprotected void paintFocus(java.awt.Graphics g,
javax.swing.AbstractButton b,
java.awt.Rectangle viewRect,
java.awt.Rectangle textRect,
java.awt.Rectangle iconRect)
paintFocus 在类中 javax.swing.plaf.basic.BasicButtonUI