Class JSpinnerHpr<T extends JSpinner>
java.lang.Object
com.inductiveautomation.snap.ui.UIHelper<T>
com.inductiveautomation.snap.swing.SwingHelper<T>
com.inductiveautomation.snap.swing.helpers.JComponentHpr<T>
com.inductiveautomation.snap.swing.helpers.JSpinnerHpr<T>
Implements Ribs bindings for JSpinner.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getChildCount
(T anObj) Override to suppress children.getEditorTextField
(JSpinner aSpinner) Returns the spinner editor textfield.getPropertyNamesImpl
(T anObj) Returns the property names for given object.void
Initializes newly created object.void
Sets an object's value for given property name.Methods inherited from class com.inductiveautomation.snap.swing.helpers.JComponentHpr
addBinding, createEventAdapter, getAutosizing, getBinding, getBindingCount, getBindings, getChangeListener, getChild, getConstraints, getEventAdapter, getName, getOwner, getParent, getSendActionOnFocusLost, getSendActionOnFocusLostDefault, isEnabled, removeBinding, setConstraints, setEnabled, setOwner, setSendActionOnFocusLost
Methods inherited from class com.inductiveautomation.snap.swing.SwingHelper
getHelper, getSwingHelper, getSwingHelper
Methods inherited from class com.inductiveautomation.snap.ui.UIHelper
enableEvents, getAction, getBinding, getChild, getItemDisplayKey, getItems, getKeyValue, getPropertyNameMapped, getPropertyNames, getSelectedIndex, getSelectedIndexes, getSelectedIndexs, getSelectedItem, getText, getValue, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItemDisplayKey, setItems, setItems, setKeyValue, setSelectedIndex, setSelectedIndexes, setSelectedItem, setText
-
Constructor Details
-
JSpinnerHpr
public JSpinnerHpr()
-
-
Method Details
-
getChildCount
Override to suppress children.- Overrides:
getChildCount
in classJComponentHpr<T extends JSpinner>
-
initUI
Initializes newly created object.- Overrides:
initUI
in classJComponentHpr<T extends JSpinner>
-
getEditorTextField
Returns the spinner editor textfield. -
getPropertyNamesImpl
Returns the property names for given object.- Overrides:
getPropertyNamesImpl
in classJComponentHpr<T extends JSpinner>
-
setValue
Sets an object's value for given property name.
-