Beispiel #1
0
 /**
  * This attribute controls how the displayed fiscalYear value should be calculated for dates
  * falling within a period not explicitly listed in the +lik{fiscalCalendar.fiscalYears,fiscal
  * years array}.
  *
  * <p>The {@link com.smartgwt.client.widgets.FiscalCalendar#getDefaultMonth defaultMonth} and
  * {@link com.smartgwt.client.widgets.FiscalCalendar#getDefaultDate defaultDate} will be used to
  * calculate the start of the fiscal year period. The defaultYearMode determines whether the
  * reported fiscalYear for this period matches the year in which the period starts or the year in
  * which it ends (so whether a fiscal year spanning dates within both 2020 and 2021 is reported as
  * fiscalYear 2020 or 2021).
  *
  * @return FiscalYearMode
  */
 public FiscalYearMode getDefaultYearMode() {
   return EnumUtil.getEnum(FiscalYearMode.values(), getAttribute("defaultYearMode"));
 }
Beispiel #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
  *
  * @return TimeDisplayFormat
  */
 public TimeDisplayFormat getTimeFormatter() {
   return EnumUtil.getEnum(TimeDisplayFormat.values(), getAttribute("timeFormatter"));
 }
Beispiel #3
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 #4
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"));
 }