org.shetline.gui.laf.zinc
Class ZincButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.metal.MetalButtonUI
org.shetline.gui.laf.zinc.ZincButtonUI
public class ZincButtonUI
- extends MetalButtonUI
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, paint, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BORDER_INSETS
public static final Insets BORDER_INSETS
BORDER_INSETS_FOR_COMBO_BOX
public static final Insets BORDER_INSETS_FOR_COMBO_BOX
BUTTON_MARGIN
public static final Insets BUTTON_MARGIN
BUTTON_ROUNDING
public static final int BUTTON_ROUNDING
- See Also:
- Constant Field Values
BUTTON_ROUNDING_CLIP
public static final int BUTTON_ROUNDING_CLIP
- See Also:
- Constant Field Values
background
protected Color background
borderColor
protected Color borderColor
borderColorDisabled
protected Color borderColorDisabled
borderColorEmphasized
protected Color borderColorEmphasized
fillColor
protected Color fillColor
fillColorDisabled
protected Color fillColorDisabled
fillColorEmphasized
protected Color fillColorEmphasized
gradientBase
protected Color gradientBase
gradientBaseEmphasized
protected Color gradientBaseEmphasized
gradientHighlight
protected Color gradientHighlight
gradientHighlightEmphasized
protected Color gradientHighlightEmphasized
texture
protected TexturePaint texture
textureEmphasized
protected TexturePaint textureEmphasized
textureLastHeight
protected int textureLastHeight
BUTTON_SHARED_BORDER
public static Border BUTTON_SHARED_BORDER
COMBO_BOX_BUTTON_SHARED_BORDER
public static Border COMBO_BOX_BUTTON_SHARED_BORDER
ZincButtonUI
public ZincButtonUI()
createUI
public static ComponentUI createUI(JComponent comp)
installUI
public void installUI(JComponent c)
- Overrides:
installUI
in class BasicButtonUI
installDefaults
public void installDefaults(AbstractButton b)
- Overrides:
installDefaults
in class MetalButtonUI
getMinimumSize
public Dimension getMinimumSize(JComponent c)
- Overrides:
getMinimumSize
in class BasicButtonUI
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
getPreferredSize
in class BasicButtonUI
update
public void update(Graphics g,
JComponent c)
- Overrides:
update
in class MetalButtonUI
paintButtonInterior
public void paintButtonInterior(Graphics g,
JComponent c,
boolean pressed)
paintButtonPressed
protected void paintButtonPressed(Graphics g,
AbstractButton b)
- Overrides:
paintButtonPressed
in class MetalButtonUI
paintFocus
protected void paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect)
- Overrides:
paintFocus
in class MetalButtonUI