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

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

public class CellLabelItemConfig
extends java.lang.Object

Cell label item configuration

Author:
congchen

Constructor Summary
CellLabelItemConfig()
           
 
Method Summary
 int getLabelItemType()
          Gets the label item type.
 java.lang.String getLiteralText()
          Gets the literal text that is assigned to the label item
 java.lang.String getMboAttrId()
          Gets mobile business object attribute id that is bind to the label item
 int getOrder()
          Gets the index that is assigned to the label item
 ControlVariable getVariable()
          Gets the variable that is set to the label item.
 void setLabelItemType(int type)
          Sets the label item type.
 void setLiteralText(java.lang.String literalText)
          Sets a literal text to the label item
 void setMboAttrId(java.lang.String mboAttrId)
          Sets mobile business object attribute id to the label item
 void setOrder(int order)
          Sets a index to the label item
 void setVariable(ControlVariable variable)
          Sets a variable to the label item
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellLabelItemConfig

public CellLabelItemConfig()
Method Detail

getMboAttrId

public java.lang.String getMboAttrId()
Gets mobile business object attribute id that is bind to the label item

Returns:
mobile business object attribute id

setMboAttrId

public void setMboAttrId(java.lang.String mboAttrId)
Sets mobile business object attribute id to the label item

Parameters:
mboAttrId - - mobile business object attribute id

getLiteralText

public java.lang.String getLiteralText()
Gets the literal text that is assigned to the label item

Returns:
the literal text

setLiteralText

public void setLiteralText(java.lang.String literalText)
Sets a literal text to the label item

Parameters:
literalText -

getVariable

public ControlVariable getVariable()
Gets the variable that is set to the label item. The variable is supposed to reference to a literal text.

Returns:
ControlVariable

setVariable

public void setVariable(ControlVariable variable)
Sets a variable to the label item

Parameters:
variable - - a variable that is supposed to reference to a literal text

getOrder

public int getOrder()
Gets the index that is assigned to the label item

Returns:
the index that is used among label items to determine their sequence.

setOrder

public void setOrder(int order)
Sets a index to the label item

Parameters:
order - - an index that is used among label items to determine their sequence.

getLabelItemType

public int getLabelItemType()
Gets the label item type. The value is one constant of the ICellAttributeTypeContants.

Returns:
the label item type. eg.ICellAttributeTypeContants.MBO_ATTRIBUTE_TYPE

setLabelItemType

public void setLabelItemType(int type)
Sets the label item type.

Parameters:
type - - one constant of ICellAttributeTypeContants. eg.ICellAttributeTypeContants.MBO_ATTRIBUTE_TYPE