com.objex.panywhere.subtext
Class TableSubtextLegendItem.Row

java.lang.Object
  extended by com.objex.panywhere.subtext.TableSubtextLegendItem.Row
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
TableSubtextLegendItem

public static class TableSubtextLegendItem.Row
extends java.lang.Object
implements java.io.Serializable

Row defines a single row of subtext legend item in a TableSubtextItem. A Row has a number (N) of columns of subtext legend items depending on the number of subfields in the table field linked to the
TableSubtextItem.

See Also:
Serialized Form

Constructor Summary
TableSubtextLegendItem.Row()
          Create a new instance of Row
 
Method Summary
 void addItem(SubtextLegendItem a_item)
          Add subitems for legend items that represent a field that is included in the subtext for this table item
 java.util.List<SubtextLegendItem> getColumns()
           
 int getId()
           
 void setColumns(java.util.List<SubtextLegendItem> columns)
          Set the list of subtext legend items for the Row
 void setId(int id)
          Set the Unique number identifying the Row of subtext legend items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableSubtextLegendItem.Row

public TableSubtextLegendItem.Row()
Create a new instance of Row

Method Detail

addItem

public void addItem(SubtextLegendItem a_item)
Add subitems for legend items that represent a field that is included in the subtext for this table item

Parameters:
a_item - The new subtext legend item being added as a column (field) for this row.

getColumns

public java.util.List<SubtextLegendItem> getColumns()
Returns:
A list of subtext legend items for the Row

setColumns

public void setColumns(java.util.List<SubtextLegendItem> columns)
Set the list of subtext legend items for the Row

Parameters:
columns - The new list of subtext legend items for the Row

getId

public int getId()
Returns:
ID of row

setId

public void setId(int id)
Set the Unique number identifying the Row of subtext legend items. This is usually the relative record number of a record derived from the database table

Parameters:
id - The new ID for this Row