com.sybase.uep.bobclient.controls.celltable.configs
Class CellTableConfig

java.lang.Object
  extended by com.sybase.uep.bobclient.controls.celltable.configs.CellTableConfig

public class CellTableConfig
extends java.lang.Object

Holds configurations that are specified in tooling for a cell table

Author:
congchen

Constructor Summary
CellTableConfig()
           
 
Method Summary
 void addCellAttributeConfig(AbstractCellAttributeConfig cellAttrConfig)
          Adds a cell attribute configuration
 AbstractCellAttributeConfig getCellAttributeConfigByOrder(int order)
          Gets cell attribute by it's order number
 java.util.Vector getCellAttributeConfigs()
          Gets vector of cell attribute configuration
 int[] getColumnPercentage()
          Gets column percentages of the cell table
 FontStyle getFocusFontStyle()
          Gets focus font style of the cell table
 MBOConfig getMboConfig()
          Gets the MBOConfig object that contains information of the mobile business object that is set to the cell table
 int getNumberOfColumns()
          Gets the column number of the cell table
 PagingObject getPagingObject()
          Gets the paging object that is set to the cell table
 java.lang.String getSortingColumn()
          Gets the sorting menu text
 FontStyle getUnfocusFontStyle()
          Gets the unfocus font style of the cell table
 void setCellAttributeConfigs(java.util.Vector cellAttributeConfigs)
          Sets cell attribute configurations
 void setColumnPercentage(int[] columnPercentage)
          Sets column percentages to the cell table
 void setFocusFontStyle(FontStyle focusFontStyle)
          Sets focus font style to the cell table
 void setMboConfig(MBOConfig mboConfig)
          Sets a MBOConfig object to the cell table
 void setNumberOfColumns(int columnNumber)
          Sets number of columns to the cell table
 void setPagingObject(PagingObject pagingObject)
          Sets a paging object to the cell table
 void setSortingColumn(java.lang.String sortingColumn)
          Sets the sorting menu text to the cell table
 void setSortingColumnMenuLabel(int sortingColumnMenuLabelRID)
           
 void setUnfocusFontStyle(FontStyle unfocusFontStyle)
          Sets an unfocus font style to the cell table
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellTableConfig

public CellTableConfig()
Method Detail

getCellAttributeConfigByOrder

public AbstractCellAttributeConfig getCellAttributeConfigByOrder(int order)
Gets cell attribute by it's order number

Parameters:
order - - a number that determines the sequence of cell attributes
Returns:
cell attribute

getCellAttributeConfigs

public java.util.Vector getCellAttributeConfigs()
Gets vector of cell attribute configuration

Returns:
vector of cell attribute configuration

setCellAttributeConfigs

public void setCellAttributeConfigs(java.util.Vector cellAttributeConfigs)
Sets cell attribute configurations

Parameters:
cellAttributeConfigs - - a vector of cell attribute configuration

addCellAttributeConfig

public void addCellAttributeConfig(AbstractCellAttributeConfig cellAttrConfig)
Adds a cell attribute configuration

Parameters:
cellAttrConfig - - a cell attribute configuration

getFocusFontStyle

public FontStyle getFocusFontStyle()
Gets focus font style of the cell table

Returns:
focus font style

setFocusFontStyle

public void setFocusFontStyle(FontStyle focusFontStyle)
Sets focus font style to the cell table

Parameters:
focusFontStyle - - a focus font style

getUnfocusFontStyle

public FontStyle getUnfocusFontStyle()
Gets the unfocus font style of the cell table

Returns:
the unfocus font style

setUnfocusFontStyle

public void setUnfocusFontStyle(FontStyle unfocusFontStyle)
Sets an unfocus font style to the cell table

Parameters:
unfocusFontStyle - - an unfocus font style

getNumberOfColumns

public int getNumberOfColumns()
Gets the column number of the cell table

Returns:
number of columns

setNumberOfColumns

public void setNumberOfColumns(int columnNumber)
Sets number of columns to the cell table

Parameters:
columnNumber - - number of columns

getColumnPercentage

public int[] getColumnPercentage()
Gets column percentages of the cell table

Returns:
column percentages

setColumnPercentage

public void setColumnPercentage(int[] columnPercentage)
Sets column percentages to the cell table

Parameters:
columnPercentage - - column percentages

getPagingObject

public PagingObject getPagingObject()
Gets the paging object that is set to the cell table

Returns:
the paging object

setPagingObject

public void setPagingObject(PagingObject pagingObject)
Sets a paging object to the cell table

Parameters:
pagingObject - - PagingObject

getMboConfig

public MBOConfig getMboConfig()
Gets the MBOConfig object that contains information of the mobile business object that is set to the cell table

Returns:
MBOConfig

setMboConfig

public void setMboConfig(MBOConfig mboConfig)
Sets a MBOConfig object to the cell table

Parameters:
mboConfig - - contains information of the mobile business object that is set to the cell table

getSortingColumn

public java.lang.String getSortingColumn()
Gets the sorting menu text

Returns:
the sorting menu text

setSortingColumn

public void setSortingColumn(java.lang.String sortingColumn)
Sets the sorting menu text to the cell table

Parameters:
sortingColumn - - sorting menu text

setSortingColumnMenuLabel

public void setSortingColumnMenuLabel(int sortingColumnMenuLabelRID)