◆ WeekDayListbox()
org.turro.scheduler.zul.constraints.WeekDayListbox.WeekDayListbox |
( |
| ) |
|
Definition at line 35 of file WeekDayListbox.java.
36 super(WeekDay.values());
37 dfs =
new DateFormatSymbols(Application.getUsedLocale());
◆ getDayIndex()
int org.turro.scheduler.zul.constraints.WeekDayListbox.getDayIndex |
( |
| ) |
|
Definition at line 40 of file WeekDayListbox.java.
41 WeekDay wd = getObjectValue();
42 return wd ==
null ? -1 : wd.ordinal();
◆ getString()
String org.turro.scheduler.zul.constraints.WeekDayListbox.getString |
( |
WeekDay |
v | ) |
|
|
protected |
Definition at line 54 of file WeekDayListbox.java.
55 return Strings.capitalize(dfs.getWeekdays()[WeekDay.map(v.ordinal())]);
◆ setDayIndex()
void org.turro.scheduler.zul.constraints.WeekDayListbox.setDayIndex |
( |
int |
index | ) |
|
Definition at line 45 of file WeekDayListbox.java.
46 if(index > -1 && index < 7) {
47 setObjectValue(WeekDay.values()[index]);
The documentation for this class was generated from the following file: