public class Rows extends Object implements Serializable
Constructor and Description |
---|
Rows() |
Modifier and Type | Method and Description |
---|---|
RowDef |
addRow(String rowLabel,
String categoryName) |
void |
addRowDef(int index,
RowDef vRowDef) |
void |
addRowDef(RowDef vRowDef) |
Enumeration<RowDef> |
enumerateRowDef()
Method enumerateRowDef.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
RowDef[] |
getRowDef()
Method getRowDef.Returns the contents of the collection in an Array.
|
RowDef |
getRowDef(int index)
Method getRowDef.
|
List<RowDef> |
getRowDefCollection()
Method getRowDefCollection.Returns a reference to 'rowDefList'.
|
int |
getRowDefCount()
Method getRowDefCount.
|
int |
hashCode()
Method hashCode.
|
Iterator<RowDef> |
iterateRowDef()
Method iterateRowDef.
|
void |
removeAllRowDef() |
boolean |
removeRowDef(RowDef vRowDef)
Method removeRowDef.
|
RowDef |
removeRowDefAt(int index)
Method removeRowDefAt.
|
void |
setRowDef(int index,
RowDef vRowDef) |
void |
setRowDef(List<RowDef> vRowDefList)
Sets the value of 'rowDefList' by copying the given Vector.
|
void |
setRowDef(RowDef[] vRowDefArray) |
void |
setRowDefCollection(List<RowDef> rowDefList)
Deprecated.
|
public void addRowDef(RowDef vRowDef) throws IndexOutOfBoundsException
vRowDef
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void addRowDef(int index, RowDef vRowDef) throws IndexOutOfBoundsException
index
- vRowDef
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Enumeration<RowDef> enumerateRowDef()
public boolean equals(Object obj)
public RowDef getRowDef(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic RowDef[] getRowDef()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<RowDef> getRowDefCollection()
public int getRowDefCount()
public int hashCode()
public Iterator<RowDef> iterateRowDef()
public void removeAllRowDef()
public boolean removeRowDef(RowDef vRowDef)
vRowDef
- public RowDef removeRowDefAt(int index)
index
- public void setRowDef(int index, RowDef vRowDef) throws IndexOutOfBoundsException
index
- vRowDef
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void setRowDef(RowDef[] vRowDefArray)
vRowDefArray
- public void setRowDef(List<RowDef> vRowDefList)
vRowDefList
- the Vector to copy.Copyright © 2017. All rights reserved.