com.adobe.icc.dbforms.obj
Class Table

java.lang.Object
  extended by com.adobe.icc.dbforms.obj.Table
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class Table
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

Represents a table in layout. Will contain all the target areas and fields in the table.

See Also:
Serialized Form

Constructor Summary
Table()
           
 
Method Summary
 int compareTo(Table table)
           
 java.util.List getAdditionalTableColumns()
          Returns the details of table column configuration.
 java.util.List getBodyRows()
          Returns the body rows.
 int getConfiguredBodyRowCount()
          Returns the table row count after customization.
 int getConfiguredColumnCount()
          Returns the table column count after customization.
 int getContainerFieldPosition()
          For internal use.
 int getContainerTargetAreaPosition()
          For internal use.
 TableRow getFooterRow()
          Returns the footer row.
 TableRow getHeaderRow()
          Returns the header row.
 java.lang.String getId()
          Get id of the table object.
 int getOriginalBodyRowCount()
          Returns the table row count before customization.
 int getOriginalColumnCount()
          Returns the table column count before customization.
 java.lang.Integer getPosition()
          Returns the table position in container layout.
 java.lang.String getTableName()
          Returns the table name.
 java.lang.String getTableSOMExpression()
          Returns the SOM expression of table.
 boolean isCustomizable()
          Returns true if this table is customizable.
 boolean isDynamicTable()
          Returns true if this is a dynamic table, else returns false.
 boolean isPlaceHolderTable()
          Returns true if this is a place holder table.
 boolean isShowFooterRow()
          Returns the value of showFooterRow flag.
 boolean isShowHeaderRow()
          Returns the value of showHeaderRow flag.
 void setAdditionalTableColumns(java.util.List additionalTableColumns)
          Sets the details of table column configuration.
 void setBodyRows(java.util.List bodyRows)
          Sets the body rows.
 void setConfiguredBodyRowCount(int configuredBodyRowCount)
          Sets the table row count after customization.
 void setConfiguredColumnCount(int configuredColumnCount)
          Sets the table column count after customization.
 void setContainerFieldPosition(int containerFieldPosition)
          For internal use.
 void setContainerTargetAreaPosition(int containerTargetAreaPosition)
          For internal use.
 void setCustomizable(boolean customizable)
          Sets the value of customizable flag.
 void setDynamicTable(boolean dynamicTable)
          Sets value of dynamic table flag.
 void setFooterRow(TableRow footerRow)
          Sets the footer row.
 void setHeaderRow(TableRow headerRow)
          Sets the header row.
 void setId(java.lang.String id)
          Sets id of the table object.
 void setOriginalBodyRowCount(int originalBodyRowCount)
          Sets the table row count before customization.
 void setOriginalColumnCount(int originalColumnCount)
          Sets the table column count before customization.
 void setPlaceHolderTable(boolean placeHolderTable)
          Sets the value of place holder table flag.
 void setPosition(java.lang.Integer position)
          Sets the table position in container layout.
 void setShowFooterRow(boolean showFooterRow)
          Sets the value of showFooterRow flag.
 void setShowHeaderRow(boolean showHeaderRow)
          Sets the value of showHeaderRow flag.
 void setTableName(java.lang.String tableName)
          Sets the table name.
 void setTableSOMExpression(java.lang.String tableSOMExpression)
          Sets the SOM expression of table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table()
Method Detail

getId

public java.lang.String getId()
Get id of the table object.

Returns:
the id

setId

public void setId(java.lang.String id)
Sets id of the table object.

Parameters:
id - the id to set

isDynamicTable

public boolean isDynamicTable()
Returns true if this is a dynamic table, else returns false.

Returns:
the dynamicTable

setDynamicTable

public void setDynamicTable(boolean dynamicTable)
Sets value of dynamic table flag.

Parameters:
dynamicTable - the dynamicTable to set

getTableName

public java.lang.String getTableName()
Returns the table name.

Returns:
the tableName

setTableName

public void setTableName(java.lang.String tableName)
Sets the table name.

Parameters:
tableName - the tableName to set

getPosition

public java.lang.Integer getPosition()
Returns the table position in container layout. Index starts with 0.

Returns:
the position

setPosition

public void setPosition(java.lang.Integer position)
Sets the table position in container layout.

Parameters:
position - the position to set

getContainerFieldPosition

public int getContainerFieldPosition()
For internal use.


setContainerFieldPosition

public void setContainerFieldPosition(int containerFieldPosition)
For internal use.


getContainerTargetAreaPosition

public int getContainerTargetAreaPosition()
For internal use.


setContainerTargetAreaPosition

public void setContainerTargetAreaPosition(int containerTargetAreaPosition)
For internal use.


getTableSOMExpression

public java.lang.String getTableSOMExpression()
Returns the SOM expression of table.

Returns:
the tableSOMExpression

setTableSOMExpression

public void setTableSOMExpression(java.lang.String tableSOMExpression)
Sets the SOM expression of table.

Parameters:
tableSOMExpression - the tableSOMExpression to set

getHeaderRow

public TableRow getHeaderRow()
Returns the header row.

Returns:
the headerRow

setHeaderRow

public void setHeaderRow(TableRow headerRow)
Sets the header row.

Parameters:
headerRow - the headerRow to set

getBodyRows

public java.util.List getBodyRows()
Returns the body rows.

Returns:
the bodyRows

setBodyRows

public void setBodyRows(java.util.List bodyRows)
Sets the body rows.

Parameters:
bodyRows - the bodyRows to set

getFooterRow

public TableRow getFooterRow()
Returns the footer row.

Returns:
the footerRow

setFooterRow

public void setFooterRow(TableRow footerRow)
Sets the footer row.

Parameters:
footerRow - the footerRow to set

isShowHeaderRow

public boolean isShowHeaderRow()
Returns the value of showHeaderRow flag. If this is false, header row is removed from the table.

Returns:
the showHeaderRow

setShowHeaderRow

public void setShowHeaderRow(boolean showHeaderRow)
Sets the value of showHeaderRow flag.

Parameters:
showHeaderRow - the showHeaderRow to set

isShowFooterRow

public boolean isShowFooterRow()
Returns the value of showFooterRow flag. If this is false, footer row is removed from the table.

Returns:
the showFooterRow

setShowFooterRow

public void setShowFooterRow(boolean showFooterRow)
Sets the value of showFooterRow flag.

Parameters:
showFooterRow - the showFooterRow to set

getOriginalBodyRowCount

public int getOriginalBodyRowCount()
Returns the table row count before customization.

Returns:
the originalBodyRowCount

setOriginalBodyRowCount

public void setOriginalBodyRowCount(int originalBodyRowCount)
Sets the table row count before customization.

Parameters:
originalBodyRowCount - the originalBodyRowCount to set

getOriginalColumnCount

public int getOriginalColumnCount()
Returns the table column count before customization.

Returns:
the originalColumnCount

setOriginalColumnCount

public void setOriginalColumnCount(int originalColumnCount)
Sets the table column count before customization.

Parameters:
originalColumnCount - the originalColumnCount to set

getConfiguredBodyRowCount

public int getConfiguredBodyRowCount()
Returns the table row count after customization.

Returns:
the configuredBodyRowCount

setConfiguredBodyRowCount

public void setConfiguredBodyRowCount(int configuredBodyRowCount)
Sets the table row count after customization.

Parameters:
configuredBodyRowCount - the configuredBodyRowCount to set

getConfiguredColumnCount

public int getConfiguredColumnCount()
Returns the table column count after customization.

Returns:
the configuredColumnCount

setConfiguredColumnCount

public void setConfiguredColumnCount(int configuredColumnCount)
Sets the table column count after customization.

Parameters:
configuredColumnCount - the configuredColumnCount to set

getAdditionalTableColumns

public java.util.List getAdditionalTableColumns()
Returns the details of table column configuration.

Returns:
the additionalTableColumns

setAdditionalTableColumns

public void setAdditionalTableColumns(java.util.List additionalTableColumns)
Sets the details of table column configuration.

Parameters:
additionalTableColumns - the additionalTableColumns to set

isPlaceHolderTable

public boolean isPlaceHolderTable()
Returns true if this is a place holder table. A place holder table contains a single draw element.

Returns:
the placeHolderTable

setPlaceHolderTable

public void setPlaceHolderTable(boolean placeHolderTable)
Sets the value of place holder table flag.

Parameters:
placeHolderTable - the placeHolderTable to set

isCustomizable

public boolean isCustomizable()
Returns true if this table is customizable. A table's parent subform should be flowed to be customizable.

Returns:
the customizable

setCustomizable

public void setCustomizable(boolean customizable)
Sets the value of customizable flag.

Parameters:
customizable - the customizable to set

compareTo

public int compareTo(Table table)
Specified by:
compareTo in interface java.lang.Comparable


[an error occurred while processing this directive] [an error occurred while processing this directive]