/** * What format should this item's time string be presented in? * * @return TimeDisplayFormat */ public TimeDisplayFormat getDisplayFormat() { return EnumUtil.getEnum(TimeDisplayFormat.values(), getAttribute("displayFormat")); }
/** * What format should this item's time string be presented in? If unset the format will be derived * from {@link com.smartgwt.client.widgets.form.DynamicForm#getTimeFormatter timeFormatter} or the * system-side * * @return TimeDisplayFormat */ public TimeDisplayFormat getTimeFormatter() { return EnumUtil.getEnum(TimeDisplayFormat.values(), getAttribute("timeFormatter")); }
/** * What format should this item's time string be presented in? * * @param TimeDisplayFormat displayFormat Default value is "toShort24HourTime" */ public void setDisplayFormat(TimeDisplayFormat timeFormatter) { setAttribute("displayFormat", timeFormatter.getValue()); }
/** * What format should this item's time string be presented in? If unset the format will be derived * from {@link com.smartgwt.client.widgets.form.DynamicForm#getTimeFormatter timeFormatter} or the * system-side * * @param timeFormatter timeFormatter Default value is "toShort24HourTime" */ public void setTimeFormatter(TimeDisplayFormat timeFormatter) { setAttribute("timeFormatter", timeFormatter == null ? null : timeFormatter.getValue()); }