public class GridRow extends Object implements IndexedEntity
Modifier | Constructor and Description |
---|---|
protected |
GridRow()
Constructs a new GridRow.
|
protected |
GridRow(Collection<Object> c)
Constructs a new GridRow.
|
protected |
GridRow(int initialCapacity)
Constructs a new GridRow.
|
Modifier and Type | Method and Description |
---|---|
protected void |
add(int beforeCell,
Object data)
This method adds a new value before the specified cell.
|
protected void |
add(Object cell)
Adds a new cell value at the end of row.
|
boolean |
equals(Object o) |
protected String |
generateUniqueString()
This method egnerates an unique string.
|
protected Object |
get(int index)
This method gets data placed in the specified cell.
|
Object[] |
getData()
This method gets data of this row.
|
protected List<Object> |
getDelegate()
Getter for property 'delegate'.
|
String |
getIdentifier()
Getter for property 'identifier'.
|
int |
getIndex()
Gets an unique index of the object.
|
int |
hashCode() |
protected void |
remove(int cellNumber)
Removes specified cell.
|
protected void |
set(int column,
Object data)
Sets the specified data to the cell.
|
void |
setData(Object[] data)
This method sets data into the row.
|
protected void |
setIdentifier(String identifier)
Setter for property 'identifier'.
|
void |
setIndex(int index)
Sets an unique index of the object.
|
protected GridRow(int initialCapacity)
initialCapacity
- is an initial capacity value.protected GridRow()
protected GridRow(Collection<Object> c)
c
- is an initial collection.public String getIdentifier()
public Object[] getData()
getData
in interface IndexedEntity
public void setData(Object[] data)
data
- is row data.protected void setIdentifier(String identifier)
identifier
- Value to set for property 'identifier'.protected String generateUniqueString()
public int getIndex()
getIndex
in interface IndexedEntity
public void setIndex(int index)
setIndex
in interface IndexedEntity
index
- is an index value.protected List<Object> getDelegate()
protected void add(Object cell)
cell
- is a cell value to add.protected void add(int beforeCell, Object data)
beforeCell
- is a cell index.data
- is cell data to be added.protected Object get(int index)
index
- a cell index.protected void remove(int cellNumber)
cellNumber
- is a cell index.protected void set(int column, Object data)
column
- is a cell index.data
- is data to be set.Copyright © 2008–2013. All rights reserved.