| java.lang.Object javax.swing.plaf.ComponentUI javax.swing.plaf.ButtonUI javax.swing.plaf.basic.BasicButtonUI javax.swing.plaf.metal.MetalButtonUI
MetalButtonUI | public class MetalButtonUI extends BasicButtonUI (Code) | | MetalButtonUI implementation
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans package.
Please see
java.beans.XMLEncoder .
version: 1.45 05/05/07 author: Tom Santos |
Method Summary | |
protected BasicButtonListener | createButtonListener(AbstractButton b) | public static ComponentUI | createUI(JComponent c) | protected Color | getDisabledTextColor() | protected Color | getFocusColor() | protected Color | getSelectColor() | public void | installDefaults(AbstractButton b) | protected void | paintButtonPressed(Graphics g, AbstractButton b) | protected void | paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) | protected void | paintText(Graphics g, JComponent c, Rectangle textRect, String text) | public void | uninstallDefaults(AbstractButton b) | public void | update(Graphics g, JComponent c) If necessary paints the background of the component, then
invokes paint . |
disabledTextColor | protected Color disabledTextColor(Code) | | |
getDisabledTextColor | protected Color getDisabledTextColor()(Code) | | |
Methods inherited from javax.swing.plaf.basic.BasicButtonUI | protected void clearTextShiftOffset()(Code)(Java Doc) protected BasicButtonListener createButtonListener(AbstractButton b)(Code)(Java Doc) public static ComponentUI createUI(JComponent c)(Code)(Java Doc) public int getBaseline(JComponent c, int width, int height)(Code)(Java Doc) public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)(Code)(Java Doc) public int getDefaultTextIconGap(AbstractButton b)(Code)(Java Doc) public Dimension getMaximumSize(JComponent c)(Code)(Java Doc) public Dimension getMinimumSize(JComponent c)(Code)(Java Doc) public Dimension getPreferredSize(JComponent c)(Code)(Java Doc) protected String getPropertyPrefix()(Code)(Java Doc) protected int getTextShiftOffset()(Code)(Java Doc) protected void installDefaults(AbstractButton b)(Code)(Java Doc) protected void installKeyboardActions(AbstractButton b)(Code)(Java Doc) protected void installListeners(AbstractButton b)(Code)(Java Doc) public void installUI(JComponent c)(Code)(Java Doc) public void paint(Graphics g, JComponent c)(Code)(Java Doc) protected void paintButtonPressed(Graphics g, AbstractButton b)(Code)(Java Doc) protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)(Code)(Java Doc) protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect)(Code)(Java Doc) protected void paintText(Graphics g, JComponent c, Rectangle textRect, String text)(Code)(Java Doc) protected void paintText(Graphics g, AbstractButton b, Rectangle textRect, String text)(Code)(Java Doc) protected void setTextShiftOffset()(Code)(Java Doc) protected void uninstallDefaults(AbstractButton b)(Code)(Java Doc) protected void uninstallKeyboardActions(AbstractButton b)(Code)(Java Doc) protected void uninstallListeners(AbstractButton b)(Code)(Java Doc) public void uninstallUI(JComponent c)(Code)(Java Doc)
|
|
|