public interface Cell extends java.lang.Comparable<Cell>, java.lang.Iterable<CellValue>
Table
.Modifier and Type | Method and Description |
---|---|
CellValue |
addValue(java.lang.String value)
Adds the value to the end of the list.
|
CellValue |
addValue(java.lang.String value,
java.lang.String relationshipId,
java.lang.String objectId,
java.lang.String objectType)
Adds the value to the end of the list.
|
void |
clearValues()
Removes all values.
|
Column |
getColumn()
Returns the cells
column . |
CellValue |
getFirstValue()
Returns the first value held by the cell, or null if no such value exist.
|
RangeValue |
getRangeValueAt(int i)
The range value at the specified position.
|
int |
getRangeValueCount()
Returns the number of range values this cell has.
|
java.util.Iterator<RangeValue> |
getRangeValues()
Returns the range values for this cell.
|
Row |
getRow()
Returns the cells
row . |
int |
getType()
Returns the data type for the cell's values.
|
CellValue |
getValueAt(int i)
Returns the value at the specified index.
|
int |
getValueCount()
Returns the value count.
|
java.util.Iterator<CellValue> |
getValues()
Returns all values held by the cell.
|
boolean |
hasValues()
Returns whether the cell has any values or not.
|
int |
indexOf(CellValue value) |
boolean |
isBoolean()
Returns whether the data type is boolean or not.
|
boolean |
isDateTime()
Returns whether the data type is datetime or not.
|
boolean |
isEditable()
Returns a boolean value indicating whether the cell is editable or not.
|
boolean |
isInteger()
Returns whether the data type is integer or not.
|
boolean |
isReal()
Returns whether the data type is real or not.
|
boolean |
isString()
Returns whether the data type is string or not.
|
boolean |
isUnknown()
Returns whether the data type is unknown or not.
|
void |
removeValueAt(int i)
Removes the value at the specified index.
|
void |
setEditable(boolean editable)
Sets whether the cell should be editable or not.
|
void |
setRow(Row row)
Sets the row for this cell.
|
void setRow(Row row)
row
- The row.boolean isEditable()
void setEditable(boolean editable)
editable
- whether the cell should be editable or not.int getType()
AttributeUtils
boolean isBoolean()
boolean isDateTime()
boolean isInteger()
boolean isReal()
boolean isString()
boolean isUnknown()
CellValue getFirstValue()
java.util.Iterator<CellValue> getValues()
CellValue getValueAt(int i)
i
- the index of the value to return.java.lang.IndexOutOfBoundsException
- if the index is invalid.int getValueCount()
int indexOf(CellValue value)
CellValue addValue(java.lang.String value)
CellValue addValue(java.lang.String value, java.lang.String relationshipId, java.lang.String objectId, java.lang.String objectType)
void removeValueAt(int i)
void clearValues()
boolean hasValues()
java.util.Iterator<RangeValue> getRangeValues()
RangeValue
int getRangeValueCount()
RangeValue
RangeValue getRangeValueAt(int i)
i
- The index of the range value.RangeValue
Copyright ? Technia AB. All Rights Reserved.