- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 33 of file MonthListbox.java.
◆ MonthListbox()
org.turro.zkoss.input.MonthListbox.MonthListbox |
( |
| ) |
|
Definition at line 37 of file MonthListbox.java.
38 TreeSet<Integer> months =
new TreeSet<Integer>();
39 for(
int d = 1; d <= 12; d++) {
45 setSelectFirst(
false);
◆ convertToString()
String org.turro.zkoss.input.MonthListbox.convertToString |
( |
Integer |
v | ) |
|
|
protected |
Definition at line 49 of file MonthListbox.java.
50 return Strings.capitalize(dfs.getMonths()[v - 1]);
◆ getStringValues() [1/2]
String org.turro.zkoss.input.MonthListbox.getStringValues |
( |
| ) |
|
◆ getStringValues() [2/2]
static String org.turro.zkoss.input.MonthListbox.getStringValues |
( |
Collection< Integer > |
values | ) |
|
|
static |
Definition at line 66 of file MonthListbox.java.
67 PhraseBuilder pb =
new PhraseBuilder();
68 for(Integer i : values) {
69 pb.addWord(i.toString());
70 pb.addPendingSeparator(
", ");
◆ selectItemByText()
void org.turro.zkoss.input.MonthListbox.selectItemByText |
( |
String |
value | ) |
|
Definition at line 53 of file MonthListbox.java.
54 String[] va = value ==
null ? null : value.split(
",");
55 ArrayList<Integer> ali =
new ArrayList<Integer>();
57 ali.add(Integer.valueOf(v.trim()));
The documentation for this class was generated from the following file: