Package javascript.swing.MnR
Class DefaultKeyValueComboBoxModelAndRenderer<K extends java.lang.Comparable<K>,V>
- java.lang.Object
-
- javascript.swing.MnR.AbstractComboBoxModelAndRenderer<KeyValue<K,V>>
-
- javascript.swing.MnR.DefaultKeyValueComboBoxModelAndRenderer<K,V>
-
- Type Parameters:
K
- The key typeV
- The value type
public class DefaultKeyValueComboBoxModelAndRenderer<K extends java.lang.Comparable<K>,V> extends AbstractComboBoxModelAndRenderer<KeyValue<K,V>>
The default key/value implementation of the AbstractKeyValueComboBoxModelAndRenderer- Author:
- gianpiero.diblasi
-
-
Constructor Summary
Constructors Constructor Description DefaultKeyValueComboBoxModelAndRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected def.dom.Node
render(KeyValue<K,V> element, boolean inlist)
Renders an element-
Methods inherited from class javascript.swing.MnR.AbstractComboBoxModelAndRenderer
addElement, getSelectedElement, setComboBox, setSelectedElement
-
-
-
-
Method Detail
-
render
protected def.dom.Node render(KeyValue<K,V> element, boolean inlist)
Description copied from class:AbstractComboBoxModelAndRenderer
Renders an element- Specified by:
render
in classAbstractComboBoxModelAndRenderer<KeyValue<K extends java.lang.Comparable<K>,V>>
- Parameters:
element
- The elementinlist
- true if the rendered element is added to the list, false otherwise (the rendered element is used to show the selected value)- Returns:
- The renderer element
-
-