org.ujac.util.table
Class GroupRow
java.lang.Object
org.ujac.util.table.BaseRow
org.ujac.util.table.DataRow
org.ujac.util.table.GroupRow
- All Implemented Interfaces:
- Serializable, Row, TableConstants, UjacTypes
public class GroupRow
- extends DataRow
Name: GroupRow
Description: A table row for group rows.
- Author:
- lauerc
- See Also:
- Serialized Form
Fields inherited from interface org.ujac.util.UjacTypes |
TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_NAME_BOOLEAN, TYPE_NAME_DATE, TYPE_NAME_DOUBLE, TYPE_NAME_FLOAT, TYPE_NAME_INT, TYPE_NAME_LONG, TYPE_NAME_OBJECT, TYPE_NAME_SHORT, TYPE_NAME_STRING, TYPE_NAME_TABLE, TYPE_NAME_TIME, TYPE_NAME_TIMESTAMP, TYPE_OBJECT, TYPE_SHORT, TYPE_STRING, TYPE_TABLE, TYPE_TIME, TYPE_TIMESTAMP |
Constructor Summary |
GroupRow(Table table,
String type,
String groupName)
Constructs a GroupRow instance with specific attributes. |
Methods inherited from class org.ujac.util.table.DataRow |
expandRow, getBoolean, getBoolean, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getIndex, getInt, getInt, getLong, getLong, getObject, getObject, getString, getString, getTable, getTime, getTime, getTimestamp, getTimestamp, getType, removeColumn, setBoolean, setBoolean, setDate, setDate, setDouble, setDouble, setFloat, setFloat, setIndex, setInt, setInt, setLong, setLong, setObject, setObject, setString, setString, setTime, setTime, setTimestamp, setTimestamp, setType |
Methods inherited from class org.ujac.util.table.BaseRow |
asList, formatValue, formatValue, getAlign, getAlign, getFieldAlignment, getFormat, getFormat, isEndsBlock, isStartNewPage, isStartsBlock, isVisible, isVisible, setAlign, setAlign, setEndsBlock, setFormat, setFormat, setStartNewPage, setStartsBlock, setVisible, setVisible, toString |
Methods inherited from interface org.ujac.util.table.Row |
asList, formatValue, formatValue, getAlign, getAlign, getFormat, getFormat, isEndsBlock, isStartNewPage, isStartsBlock, isVisible, isVisible, setAlign, setAlign, setEndsBlock, setFormat, setFormat, setStartNewPage, setStartsBlock, setVisible, setVisible |
GroupRow
public GroupRow(Table table,
String type,
String groupName)
- Constructs a GroupRow instance with specific attributes.
Sets all fields invisible by default.
- Parameters:
table
- The table to create the row for.type
- The row type.groupName
- The group name.
getGroupName
public String getGroupName()
- Getter method for the the property groupName.
- Returns:
- The current value of property groupName.
setGroupName
protected void setGroupName(String groupName)
- Setter method for the the property groupName.
- Parameters:
groupName
- The value to set for the property groupName.
writeData
protected void writeData(ObjectOutputStream s)
throws IOException
- Writes the object's data to the given stream.
- Overrides:
writeData
in class DataRow
- Parameters:
s
- The stream to write to
- Throws:
IOException
- In case the data output failed.
readData
protected void readData(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reads the object's data from the given stream.
- Overrides:
readData
in class DataRow
- Parameters:
s
- The stream to read from.
- Throws:
IOException
- In case the data reading failed.
ClassNotFoundException
- In case the class to deserialize could not be found
Copyright © 2003-2004 UJAC.org. All Rights Reserved.