Class JListHpr<T extends JList>
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.JListHpr<T>
An RibsHelper implementation for JList.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classList Model implementation for lists of items.static classInner class to dereference the display value from list value using given key (from binding).
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetChildCount(T anObj) Override to suppress children.getItemDisplayKey(T aList) Returns the render key chain.Returns the items for an object.getPropertyNameMapped(T anObj, String aName) Returns a mapped property name.getPropertyNamesImpl(T anObj) Returns the property names for given object.getSelectedItem(T aList) Returns the selected object property of given object.voidInitializes newly created object.static voidscrollCellToVisible(JList aList, int aRow) Scrolls a JList to make given row visible (-1 for current selection).voidsetItemDisplayKey(T aList, String aKey) Sets the display key for UI node item.voidSets the items for an object.voidsetSelectedItem(T aList, Object aValue) Sets the selected object property of given object to given value.Methods inherited from class com.inductiveautomation.snap.swing.helpers.JComponentHpraddBinding, createEventAdapter, getAutosizing, getBinding, getBindingCount, getBindings, getChangeListener, getChild, getConstraints, getEventAdapter, getName, getOwner, getParent, getSendActionOnFocusLost, getSendActionOnFocusLostDefault, isEnabled, removeBinding, setConstraints, setEnabled, setOwner, setSendActionOnFocusLostMethods inherited from class com.inductiveautomation.snap.swing.SwingHelpergetHelper, getSwingHelper, getSwingHelperMethods inherited from class com.inductiveautomation.snap.ui.UIHelperenableEvents, getAction, getBinding, getChild, getKeyValue, getPropertyNames, getSelectedIndex, getSelectedIndexes, getSelectedIndexs, getText, getValue, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItems, setKeyValue, setSelectedIndex, setSelectedIndexes, setText, setValue
- 
Constructor Details- 
JListHprpublic JListHpr()
 
- 
- 
Method Details- 
getChildCountOverride to suppress children.- Overrides:
- getChildCountin class- JComponentHpr<T extends JList>
 
- 
initUIInitializes newly created object.- Overrides:
- initUIin class- JComponentHpr<T extends JList>
 
- 
scrollCellToVisibleScrolls a JList to make given row visible (-1 for current selection).
- 
getPropertyNamesImplReturns the property names for given object.- Overrides:
- getPropertyNamesImplin class- JComponentHpr<T extends JList>
 
- 
getPropertyNameMappedReturns a mapped property name.- Overrides:
- getPropertyNameMappedin class- UIHelper<T extends JList>
 
- 
getItemsReturns the items for an object.
- 
setItemsSets the items for an object.
- 
getItemDisplayKeyReturns the render key chain.- Overrides:
- getItemDisplayKeyin class- UIHelper<T extends JList>
 
- 
setItemDisplayKeyDescription copied from class:UIHelperSets the display key for UI node item.- Overrides:
- setItemDisplayKeyin class- UIHelper<T extends JList>
 
- 
getSelectedItemReturns the selected object property of given object.- Overrides:
- getSelectedItemin class- UIHelper<T extends JList>
 
- 
setSelectedItemSets the selected object property of given object to given value.- Overrides:
- setSelectedItemin class- UIHelper<T extends JList>
 
 
-