| javax.swing.plaf.basic.BasicToggleButtonUI javax.swing.plaf.metal.MetalToggleButtonUI
MetalToggleButtonUI | public class MetalToggleButtonUI extends BasicToggleButtonUI (Code) | | MetalToggleButton 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.36 05/05/07 author: Tom Santos |
Method Summary | |
public static ComponentUI | createUI(JComponent b) | 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 | paintIcon(Graphics g, AbstractButton b, Rectangle iconRect) Paints the appropriate icon of the button b in the
space iconRect . | protected void | paintText(Graphics g, JComponent c, Rectangle textRect, String text) | protected 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) | | |
paintIcon | protected void paintIcon(Graphics g, AbstractButton b, Rectangle iconRect)(Code) | | Paints the appropriate icon of the button b in the
space iconRect .
Parameters: g - Graphics to paint to Parameters: b - Button to render for Parameters: iconRect - space to render in throws: NullPointerException - if any of the arguments are null. since: 1.5 |
|
|