| javax.swing.plaf.metal.MetalToggleButtonUI org.underworldlabs.swing.plaf.smoothgradient.SmoothGradientToggleButtonUI
SmoothGradientToggleButtonUI | public class SmoothGradientToggleButtonUI extends MetalToggleButtonUI (Code) | | author: Takis Diakoumis version: $Revision: 1.4 $ |
installDefaults | public void installDefaults(AbstractButton b)(Code) | | Installs defaults and honors the client property isNarrow .
|
isToolBarButton | protected boolean isToolBarButton(AbstractButton b)(Code) | | Checks and answers if this is button is in a tool bar.
Parameters: b - the button to check true if in tool bar, false otherwise |
paint | public void paint(Graphics g, JComponent c)(Code) | | Unlike the BasicToggleButtonUI.paint, we don't fill the content area;
this has been done by the update method before.
|
Methods inherited from javax.swing.plaf.metal.MetalToggleButtonUI | public static ComponentUI createUI(JComponent b)(Code)(Java Doc) protected Color getDisabledTextColor()(Code)(Java Doc) protected Color getFocusColor()(Code)(Java Doc) protected Color getSelectColor()(Code)(Java Doc) public void installDefaults(AbstractButton b)(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, AbstractButton b, Rectangle iconRect)(Code)(Java Doc) protected void paintText(Graphics g, JComponent c, Rectangle textRect, String text)(Code)(Java Doc) protected void uninstallDefaults(AbstractButton b)(Code)(Java Doc) public void update(Graphics g, JComponent c)(Code)(Java Doc)
|
|
|