Beispiel #1
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
  *
  * @return TimeDisplayFormat
  */
 public TimeDisplayFormat getTimeFormatter() {
   return EnumUtil.getEnum(TimeDisplayFormat.values(), getAttribute("timeFormatter"));
 }
Beispiel #2
0
 /**
  * What format should this item's time string be presented in?
  *
  * @return TimeDisplayFormat
  */
 public TimeDisplayFormat getDisplayFormat() {
   return EnumUtil.getEnum(TimeDisplayFormat.values(), getAttribute("displayFormat"));
 }
Beispiel #3
0
 /**
  * Indicates whether the image should be tiled/cropped, stretched, or centered when the size of
  * this widget does not match the size of the image. CENTER shows the image in it's natural size,
  * but can't do so while the transparency fix is active for IE. The transparency fix can be
  * manually disabled by setting {@link com.smartgwt.client.widgets.Img#getUsePNGFix usePNGFix} to
  * false. See ImageStyle for further details.
  *
  * @return ImageStyle
  * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods
  */
 public ImageStyle getImageType() {
   return EnumUtil.getEnum(ImageStyle.values(), getAttribute("imageType"));
 }