Esempio n. 1
0
 /**
  * Default alignment for facet label title, and cells for this facet. Can be overridden at the
  * facetValue level, or by setting titleAlign or cellAlign on the facet.
  *
  * @param align align Default value is null
  * @see com.smartgwt.client.widgets.cube.Facet#setTitleAlign
  * @see com.smartgwt.client.widgets.cube.Facet#setCellAlign
  */
 public void setAlign(Alignment align) {
   setAttribute("align", align == null ? null : align.getValue());
 }
Esempio n. 2
0
 /**
  * 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"));
 }
Esempio n. 3
0
 /**
  * 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"));
 }
Esempio n. 4
0
 /**
  * Alignment of facet label title
  *
  * @param titleAlign titleAlign Default value is cubeGrid.facetTitleAlign
  * @see com.smartgwt.client.widgets.cube.CubeGrid#setFacetTitleAlign
  */
 public void setTitleAlign(Alignment titleAlign) {
   setAttribute("titleAlign", titleAlign == null ? null : titleAlign.getValue());
 }
Esempio n. 5
0
 /**
  * Default alignment of cells (in the body) for this facet
  *
  * @param cellAlign cellAlign Default value is cubeGrid.cellAlign
  * @see com.smartgwt.client.widgets.cube.CubeGrid#setCellAlign
  */
 public void setCellAlign(Alignment cellAlign) {
   setAttribute("cellAlign", cellAlign == null ? null : cellAlign.getValue());
 }