| |
|
| java.lang.Object com.jeta.forms.store.AbstractJETAPersistable com.jeta.forms.store.memento.FormGroup
FormGroup | public class FormGroup extends AbstractJETAPersistable (Code) | | Defines a set of rows or columns that belong to the same group in a form. A
FormGroup is used to store a single group of rows or columns.
author: Jeff Tassin |
Constructor Summary | |
public | FormGroup() Creates an unitialized FormGroup instance. |
Method Summary | |
void | assign(int index) Add a row or column to this group. | public boolean | contains(int index) Returns true if this group contains the specified row or column. | public void | read(JETAObjectInput in) | void | remove(int index) | public int | size() Returns the number of rows or columns in this group. | public int[] | toArray() Returns the group as an array of row or column indexes. | public void | write(JETAObjectOutput out) |
VERSION | final public static int VERSION(Code) | | The version of this class.
|
serialVersionUID | final static long serialVersionUID(Code) | | |
FormGroup | public FormGroup()(Code) | | Creates an unitialized FormGroup instance.
|
assign | void assign(int index)(Code) | | Add a row or column to this group.
Parameters: index - the 1-based row or column to add |
contains | public boolean contains(int index)(Code) | | Returns true if this group contains the specified row or column.
true if this group contains the 1-based row or column |
remove | void remove(int index)(Code) | | Remove a row or column from this group
Parameters: index - the 1-based row or column to remove |
size | public int size()(Code) | | Returns the number of rows or columns in this group.
the size of this group |
toArray | public int[] toArray()(Code) | | Returns the group as an array of row or column indexes.
the group as an array of row or column indexes. |
|
|
|