public class SubstanceSpinnerUI
extends javax.swing.plaf.basic.BasicSpinnerUI
| Modifier and Type | Class and Description |
|---|---|
protected class |
SubstanceSpinnerUI.SpinnerLayoutManager
Layout manager for the spinner.
|
| Modifier and Type | Field and Description |
|---|---|
protected SubstanceSpinnerButton |
nextButton
The next (increment) button.
|
protected SubstanceSpinnerButton |
prevButton
The previous (decrement) button.
|
protected org.jvnet.lafwidget.animation.FadeStateListener |
substanceFadeStateListener
Listener for fade animations.
|
protected java.beans.PropertyChangeListener |
substancePropertyChangeListener
Tracks changes to editor, removing the border as necessary.
|
| Constructor and Description |
|---|
SubstanceSpinnerUI() |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.LayoutManager |
createLayout() |
protected java.awt.Component |
createNextButton() |
protected java.awt.Component |
createPreviousButton() |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent comp) |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c) |
protected void |
installDefaults() |
protected void |
installListeners() |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
protected void |
paintFocus(java.awt.Graphics g,
java.awt.Rectangle bounds)
Paints the focus indication.
|
protected void |
uninstallListeners() |
void |
update(java.awt.Graphics g,
javax.swing.JComponent c) |
createEditor, createPropertyChangeListener, getBaseline, getBaselineResizeBehavior, installKeyboardActions, installNextButtonListeners, installPreviousButtonListeners, installUI, replaceEditor, uninstallDefaults, uninstallUIprotected java.beans.PropertyChangeListener substancePropertyChangeListener
protected org.jvnet.lafwidget.animation.FadeStateListener substanceFadeStateListener
protected SubstanceSpinnerButton nextButton
protected SubstanceSpinnerButton prevButton
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
protected java.awt.Component createNextButton()
createNextButton in class javax.swing.plaf.basic.BasicSpinnerUIprotected java.awt.Component createPreviousButton()
createPreviousButton in class javax.swing.plaf.basic.BasicSpinnerUIprotected void installDefaults()
installDefaults in class javax.swing.plaf.basic.BasicSpinnerUIprotected void installListeners()
installListeners in class javax.swing.plaf.basic.BasicSpinnerUIprotected void uninstallListeners()
uninstallListeners in class javax.swing.plaf.basic.BasicSpinnerUIpublic void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.ComponentUIprotected void paintFocus(java.awt.Graphics g,
java.awt.Rectangle bounds)
g - Graphics.bounds - Bounds for text.public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class javax.swing.plaf.ComponentUIpublic void update(java.awt.Graphics g,
javax.swing.JComponent c)
update in class javax.swing.plaf.ComponentUIprotected java.awt.LayoutManager createLayout()
createLayout in class javax.swing.plaf.basic.BasicSpinnerUI