◆ GenericComboModel() [1/2]
org.turro.zkoss.input.GenericComboModel.GenericComboModel |
( |
Object[] |
data | ) |
|
◆ GenericComboModel() [2/2]
org.turro.zkoss.input.GenericComboModel.GenericComboModel |
( |
List |
data | ) |
|
◆ getElementAt()
Object org.turro.zkoss.input.GenericComboModel.getElementAt |
( |
int |
index | ) |
|
Definition at line 50 of file GenericComboModel.java.
51 return data !=
null && index >= 0 && index < data.length ? data[index] :
null;
◆ getSize()
int org.turro.zkoss.input.GenericComboModel.getSize |
( |
| ) |
|
◆ getSortDirection()
String org.turro.zkoss.input.GenericComboModel.getSortDirection |
( |
Comparator< Object > |
cmpr | ) |
|
◆ getSubModel()
synchronized ListModel org.turro.zkoss.input.GenericComboModel.getSubModel |
( |
Object |
value, |
|
|
int |
nRows |
|
) |
| |
Definition at line 71 of file GenericComboModel.java.
72 if(value !=
null && value.equals(lastValue))
return this;
74 LinkedList list =
new LinkedList();
75 if(nRows < 1) nRows = 20;
79 public void populateList(String value, LinkedList list,
int nRows) {
80 throw new UnsupportedOperationException(
"Submodel does not populate items");
◆ populateList()
abstract void org.turro.zkoss.input.GenericComboModel.populateList |
( |
String |
value, |
|
|
LinkedList |
list, |
|
|
int |
nRows |
|
) |
| |
|
abstract |
◆ sort()
void org.turro.zkoss.input.GenericComboModel.sort |
( |
Comparator |
cmpr, |
|
|
boolean |
ascending |
|
) |
| |
Definition at line 60 of file GenericComboModel.java.
61 Arrays.sort(data, cmpr);
62 fireEvent(ListDataEvent.CONTENTS_CHANGED, -1, -1);
The documentation for this class was generated from the following file: