Пример #1
0
 /**
  * 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());
 }
Пример #2
0
 /**
  * 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());
 }