com.objex.panywhere
Class Subtext.MultiColumnSubtextItem
java.lang.Object
com.objex.panywhere.Subtext.SubtextItem
com.objex.panywhere.Subtext.MultiColumnSubtextItem
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Subtext
public static class Subtext.MultiColumnSubtextItem
- extends Subtext.SubtextItem
A subtext item that encapsulates a row with more than one subtext items or columns on one row.
- See Also:
- Serialized Form
| Methods inherited from class com.objex.panywhere.Subtext.SubtextItem |
append, getFieldid, getText, getX, getY, isComputed, setComputed, setFieldid, setText, setX, setY |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Subtext.MultiColumnSubtextItem
public Subtext.MultiColumnSubtextItem()
addItem
public void addItem(int ai_column,
Subtext.SubtextItem a_item)
- Add subitems for legend items that represent a field that is included in the subtext for this table item
- Parameters:
a_item -
getColumns
public java.util.Vector<Subtext.SubtextItem> getColumns()
- Returns:
- A list of subtext legend items each repsenting a column or field
setColumns
public void setColumns(java.util.Vector<Subtext.SubtextItem> columns)
- Set the new list of subtext legend items each repsenting a column or field
- Parameters:
columns - New list
getItemAt
public Subtext.SubtextItem getItemAt(int ai_column)
- Parameters:
ai_column - The column to retrieve subitem from
- Returns:
- The subtext item at the specified column in a multi-column subtext item. May return null if
getRownumber
public int getRownumber()
- Returns:
- Row number corresponds to the order or row number for this aggregate item
setRownumber
public void setRownumber(int ai_row)
- Set the new row number corresponds to the order or row number for this aggregate item
- Parameters:
ai_row - New row or order number
iterator
public java.util.Iterator<Subtext.SubtextItem> iterator()
- Returns:
- An iterator of subtext legend items representing each column in this row of items