|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.basic.BasicToggleButtonUI
javax.swing.plaf.metal.MetalToggleButtonUI
net.sourceforge.mlf.metouia.MetouiaToggleButtonUI
This class represents the UI delegate for the JToggleButton component.
Field Summary |
Fields inherited from class javax.swing.plaf.metal.MetalToggleButtonUI |
disabledTextColor, focusColor, selectColor |
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI |
defaultTextIconGap, defaultTextShiftOffset |
Constructor Summary | |
MetouiaToggleButtonUI()
|
Method Summary | |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates the UI delegate for the given component. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
Paints the given component. |
protected void |
paintButtonPressed(java.awt.Graphics g,
javax.swing.AbstractButton button)
Paints the background of given component whenit is pressed. |
Methods inherited from class javax.swing.plaf.metal.MetalToggleButtonUI |
getDisabledTextColor, getFocusColor, getSelectColor, installDefaults, paintFocus, paintText, uninstallDefaults |
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI |
getPropertyPrefix, getTextShiftOffset, paintIcon |
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MetouiaToggleButtonUI()
Method Detail |
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- The component to create its UI delegate.
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
g
- The graphics context to use.c
- The component to paint.protected void paintButtonPressed(java.awt.Graphics g, javax.swing.AbstractButton button)
g
- The graphics context to use.button
- The button to paint its background.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |