Class JComboBoxHpr<T extends JComboBox>
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.JComboBoxHpr<T>
This class provides Ribs functionality for JComboBox.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA combobox model implementation to handle binding.static classA SwingEventListener for JComboBox.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected SwingEventAdaptercreateEventAdapter(T aComboBox) Creates a SwingEventAdapter subclass.intgetChildCount(T anObj) Override to suppress children.getItemDisplayKey(T aComboBox) 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.voidInitializes newly created object.voidsetItemDisplayKey(T aComboBox, String aKey) Sets the display key for ComboBox items.voidSets the items for an object.voidsetSelectedIndex(T aCBox, int anIndex) Override to repaint.voidOverride to convert SelectedItem enums to String if needed.Methods inherited from class com.inductiveautomation.snap.swing.helpers.JComponentHpraddBinding, 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, getSelectedItem, getText, getValue, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItems, setKeyValue, setSelectedIndexes, setSelectedItem, setText
- 
Constructor Details- 
JComboBoxHprpublic JComboBoxHpr()
 
- 
- 
Method Details- 
getChildCountOverride to suppress children.- Overrides:
- getChildCountin class- JComponentHpr<T extends JComboBox>
 
- 
initUIInitializes newly created object.- Overrides:
- initUIin class- JComponentHpr<T extends JComboBox>
 
- 
createEventAdapterCreates a SwingEventAdapter subclass.- Overrides:
- createEventAdapterin class- JComponentHpr<T extends JComboBox>
 
- 
getPropertyNamesImplReturns the property names for given object.- Overrides:
- getPropertyNamesImplin class- JComponentHpr<T extends JComboBox>
 
- 
getPropertyNameMappedReturns a mapped property name.- Overrides:
- getPropertyNameMappedin class- UIHelper<T extends JComboBox>
 
- 
setValueOverride to convert SelectedItem enums to String if needed.
- 
setSelectedIndexOverride to repaint.- Overrides:
- setSelectedIndexin class- UIHelper<T extends JComboBox>
 
- 
getItemsReturns the items for an object.
- 
setItemsSets the items for an object.
- 
getItemDisplayKeyReturns the render key chain.- Overrides:
- getItemDisplayKeyin class- UIHelper<T extends JComboBox>
 
- 
setItemDisplayKeySets the display key for ComboBox items.- Overrides:
- setItemDisplayKeyin class- UIHelper<T extends JComboBox>
 
 
-