public class Value extends Object implements Comparable<Value>
| Constructor and Description |
|---|
Value(Column column,
CellAdapter cell,
Object value,
IComparator comparator)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Value v) |
boolean |
equals(Object obj) |
CellAdapter |
getCell()
Get the source cell.
|
Column |
getColumn()
Get the value column.
|
IComparator |
getComparator()
Gest the value comparator.
|
Object |
getValue()
Gets the value corresponding to the value.
|
int |
hashCode() |
void |
setCell(CellAdapter cell)
Set the cell.
|
Value |
setColumn(Column column)
Set the column.
|
Value |
setComparator(IComparator comparator)
Set the cell comparator.
|
Value |
setValue(Object value)
Set the value.
|
String |
toString() |
public Value(Column column, CellAdapter cell, Object value, IComparator comparator)
column - The column.cell - The cell.value - The value.comparator - The comparator.public Column getColumn()
public Value setColumn(Column column)
column - The column.public CellAdapter getCell()
public void setCell(CellAdapter cell)
cell - A new cell.public Object getValue()
public Value setValue(Object value)
value - The new value.public IComparator getComparator()
public Value setComparator(IComparator comparator)
comparator - A comparator.public int compareTo(Value v)
compareTo in interface Comparable<Value>Copyright © 2017. All rights reserved.