Class JSliderHpr<T extends javax.swing.JSlider>
- 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.JSliderHpr<T>
-
public class JSliderHpr<T extends javax.swing.JSlider> extends JComponentHpr<T>
This class is a RibsHelper implementation for JSlider.
-
-
Constructor Summary
Constructors Constructor Description JSliderHpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getChildCount(T anObj)
Override to suppress children.protected java.util.List<java.lang.String>
getPropertyNamesImpl(T anObj)
Returns the property names for given object.void
initUI(T aSlider, UIOwner anOwner)
Override to add ChangeListener to slider.-
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, setValue
-
-
-
-
Method Detail
-
getChildCount
public int getChildCount(T anObj)
Override to suppress children.- Overrides:
getChildCount
in classJComponentHpr<T extends javax.swing.JSlider>
-
initUI
public void initUI(T aSlider, UIOwner anOwner)
Override to add ChangeListener to slider.- Overrides:
initUI
in classJComponentHpr<T extends javax.swing.JSlider>
-
getPropertyNamesImpl
protected java.util.List<java.lang.String> getPropertyNamesImpl(T anObj)
Returns the property names for given object.- Overrides:
getPropertyNamesImpl
in classJComponentHpr<T extends javax.swing.JSlider>
-
-