Package javascript.swing
Class JSSpinner
- java.lang.Object
- 
- javascript.swing.JSComponent
- 
- javascript.swing.JSSpinner
 
 
- 
 public class JSSpinner extends JSComponent The javax.swing.JSpinner clone- Author:
- gianpiero.diblasi
 
- 
- 
Constructor SummaryConstructors Constructor Description JSSpinner()Creates the object
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChangeListener(ChangeListener listener)Clone of javax.swing.JSpinner.addChangeListenerdoublegetValue()Clone of javax.swing.JSpinner.getValuebooleangetValueIsAdjusting()Clone of javax.swing.JSpinner.getValueIsAdjustingvoidsetEnabled(boolean b)Clone of javax.swing.JComponent.setEnabledvoidsetModel(SpinnerNumberModel model)Clone of javax.swing.JSpinner.setModelvoidsetValue(double value)Clone of javax.swing.JSpinner.setValue- 
Methods inherited from class javascript.swing.JSComponentaddChildEventListenerByQuery, addEventListener, appendChild, appendChildInTree, appendInBody, appendNodeChild, appendNodeChildInTree, clearChildContentByQuery, clearContent, cssAddClass, cssClassList, cssRemoveClass, cssToggleClass, getAttribute, getChildAttributeByIndex, getChildAttributeByQuery, getChildCount, getChildPropertyByQuery, getChilStyleByIndex, getChilStyleByQuery, getID, getProperty, getStyle, insertBefore, insertBeforeInTree, insertNodeBefore, insertNodeBeforeInTree, invoke, invokeInTree, prependChild, prependChildInTree, prependNodeChild, prependNodeChildInTree, removeAttribute, removeChildAttributeByQuery, removeFromBody, setAttribute, setBackground, setChildAttributeByIndex, setChildAttributeByQuery, setChildPropertyByQuery, setContent, setID, setProperty
 
- 
 
- 
- 
- 
Method Detail- 
setModelpublic void setModel(SpinnerNumberModel model) Clone of javax.swing.JSpinner.setModel- Parameters:
- model- The model
 
 - 
addChangeListenerpublic void addChangeListener(ChangeListener listener) Clone of javax.swing.JSpinner.addChangeListener- Parameters:
- listener- The listener
 
 - 
setValuepublic void setValue(double value) Clone of javax.swing.JSpinner.setValue- Parameters:
- value- The value
 
 - 
getValuepublic double getValue() Clone of javax.swing.JSpinner.getValue- Returns:
- The value
 
 - 
getValueIsAdjustingpublic boolean getValueIsAdjusting() Clone of javax.swing.JSpinner.getValueIsAdjusting- Returns:
- true if value is adjusting, false otherwise
 
 - 
setEnabledpublic void setEnabled(boolean b) Description copied from class:JSComponentClone of javax.swing.JComponent.setEnabled- Overrides:
- setEnabledin class- JSComponent
- Parameters:
- b- true to enable the button, false otherwise
 
 
- 
 
-