public class UIButtonUI
extends javax.swing.plaf.basic.BasicButtonUI
构造器和说明 |
---|
UIButtonUI() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
doExtraPainting(UIButton b,
java.awt.Graphics2D g2d,
int w,
int h,
java.lang.String selectedRoles) |
protected boolean |
isPressed(javax.swing.AbstractButton b) |
protected boolean |
isRollOver(javax.swing.AbstractButton b) |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
protected void |
paintBorder(java.awt.Graphics g,
UIButton b) |
protected void |
paintIcon(java.awt.Graphics g,
javax.swing.JComponent c) |
protected void |
paintModelIcon(javax.swing.ButtonModel model,
javax.swing.Icon icon,
java.awt.Graphics g,
javax.swing.JComponent c) |
protected void |
paintText(java.awt.Graphics g,
javax.swing.AbstractButton b,
java.lang.String text,
java.awt.Rectangle textRec) |
clearTextShiftOffset, createButtonListener, createUI, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
在类中 javax.swing.plaf.basic.BasicButtonUI
protected void doExtraPainting(UIButton b, java.awt.Graphics2D g2d, int w, int h, java.lang.String selectedRoles)
protected boolean isRollOver(javax.swing.AbstractButton b)
protected boolean isPressed(javax.swing.AbstractButton b)
protected void paintText(java.awt.Graphics g, javax.swing.AbstractButton b, java.lang.String text, java.awt.Rectangle textRec)
protected void paintBorder(java.awt.Graphics g, UIButton b)
protected void paintIcon(java.awt.Graphics g, javax.swing.JComponent c)
protected void paintModelIcon(javax.swing.ButtonModel model, javax.swing.Icon icon, java.awt.Graphics g, javax.swing.JComponent c)