/** * Alignment of facet label title * * @return Alignment * @see com.smartgwt.client.widgets.cube.CubeGrid#getFacetTitleAlign */ public Alignment getTitleAlign() { return EnumUtil.getEnum(Alignment.values(), getAttribute("titleAlign")); }
/** * 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")); }
/** * Selection boundary determining what facets / facetValues can be selected together by drag * selection / shift+click selection * * @return SelectionBoundary */ public SelectionBoundary getSelectionBoundary() { return EnumUtil.getEnum(SelectionBoundary.values(), getAttribute("selectionBoundary")); }
/** * Default alignment of cells (in the body) for this facet * * @return Alignment * @see com.smartgwt.client.widgets.cube.CubeGrid#getCellAlign */ public Alignment getCellAlign() { return EnumUtil.getEnum(Alignment.values(), getAttribute("cellAlign")); }
/** * 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")); }
/** * 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")); }