|
|||||||||
| 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.metal.MetalButtonUI
net.sf.freecol.client.gui.plaf.FreeColButtonUI
public class FreeColButtonUI
Sets the default opaque attribute to false and
uses a 10% black shading on the paintButtonPressed(java.awt.Graphics, javax.swing.AbstractButton).
| Field Summary | |
|---|---|
private static FreeColButtonUI |
sharedInstance
|
| Fields inherited from class javax.swing.plaf.metal.MetalButtonUI |
|---|
disabledTextColor, focusColor, selectColor |
| Fields inherited from class javax.swing.plaf.basic.BasicButtonUI |
|---|
defaultTextIconGap, defaultTextShiftOffset |
| Constructor Summary | |
|---|---|
FreeColButtonUI()
|
|
| Method Summary | |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
void |
installUI(javax.swing.JComponent c)
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
protected void |
paintButtonPressed(java.awt.Graphics g,
javax.swing.AbstractButton c)
|
| Methods inherited from class javax.swing.plaf.metal.MetalButtonUI |
|---|
createButtonListener, getDisabledTextColor, getFocusColor, getSelectColor, installDefaults, paintFocus, paintText, uninstallDefaults, update |
| Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
|---|
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static FreeColButtonUI sharedInstance
| Constructor Detail |
|---|
public FreeColButtonUI()
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.basic.BasicButtonUI
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.basic.BasicButtonUI
protected void paintButtonPressed(java.awt.Graphics g,
javax.swing.AbstractButton c)
paintButtonPressed in class javax.swing.plaf.metal.MetalButtonUI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||