public class SubstanceSpinnerUI
extends javax.swing.plaf.basic.BasicSpinnerUI
Modifier and Type | Class | Description |
---|---|---|
protected class |
SubstanceSpinnerUI.SpinnerLayoutManager |
Layout manager for the spinner.
|
Modifier and Type | Field | Description |
---|---|---|
protected SubstanceSpinnerButton |
nextButton |
The next (increment) button.
|
protected SubstanceSpinnerButton |
prevButton |
The previous (decrement) button.
|
protected java.beans.PropertyChangeListener |
substancePropertyChangeListener |
Tracks changes to editor, removing the border as necessary.
|
Constructor | Description |
---|---|
SubstanceSpinnerUI() |
Modifier and Type | Method | 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 |
installUI(javax.swing.JComponent c) |
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
|
protected void |
uninstallListeners() |
|
void |
uninstallUI(javax.swing.JComponent c) |
|
void |
update(java.awt.Graphics g,
javax.swing.JComponent c) |
createEditor, createPropertyChangeListener, getBaseline, getBaselineResizeBehavior, installKeyboardActions, installNextButtonListeners, installPreviousButtonListeners, replaceEditor, uninstallDefaults
protected java.beans.PropertyChangeListener substancePropertyChangeListener
protected SubstanceSpinnerButton nextButton
protected SubstanceSpinnerButton prevButton
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.basic.BasicSpinnerUI
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.basic.BasicSpinnerUI
protected java.awt.Component createNextButton()
createNextButton
in class javax.swing.plaf.basic.BasicSpinnerUI
protected java.awt.Component createPreviousButton()
createPreviousButton
in class javax.swing.plaf.basic.BasicSpinnerUI
protected void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicSpinnerUI
protected void installListeners()
installListeners
in class javax.swing.plaf.basic.BasicSpinnerUI
protected void uninstallListeners()
uninstallListeners
in class javax.swing.plaf.basic.BasicSpinnerUI
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
in class javax.swing.plaf.ComponentUI
public void update(java.awt.Graphics g, javax.swing.JComponent c)
update
in class javax.swing.plaf.ComponentUI
protected java.awt.LayoutManager createLayout()
createLayout
in class javax.swing.plaf.basic.BasicSpinnerUI