public class StringRangeCell extends StringCell
StringCell.StringCellValue
AbstractCell.AbstractCellValue
Constructor and Description |
---|
StringRangeCell(Column column,
Updater updater)
Create a cell.
|
StringRangeCell(Column column,
Updater updater,
java.lang.String[] rangeValues)
Create a cell.
|
StringRangeCell(Column column,
Updater updater,
java.lang.String[] rangeValues,
MultilingualText[] displayValues)
Create a cell.
|
StringRangeCell(Column column,
Updater updater,
java.lang.String[] rangeValues,
java.lang.String[] displayValues)
Create a cell.
|
StringRangeCell(Column column,
Updater updater,
com.technia.tvc.core.gui.table.impl.StringRangeValue[] rangeValues)
Create a cell.
|
Modifier and Type | Method and Description |
---|---|
static com.technia.tvc.core.gui.table.impl.StringRangeValue[] |
createRangeValues(java.lang.String[] values)
Create an array of range values.
|
static com.technia.tvc.core.gui.table.impl.StringRangeValue[] |
createRangeValues(java.lang.String[] values,
java.util.Locale locale)
Create an array of range values.
|
static com.technia.tvc.core.gui.table.impl.StringRangeValue[] |
createRangeValues(java.lang.String[] values,
MultilingualText[] displayValues,
java.util.Locale locale)
Create an array of range values.
|
static com.technia.tvc.core.gui.table.impl.StringRangeValue[] |
createRangeValues(java.lang.String[] values,
java.lang.String[] displayValues)
Create an array of range values.
|
static com.technia.tvc.core.gui.table.impl.StringRangeValue[] |
createRangeValues(java.lang.String[] values,
java.lang.String[] displayValues,
java.util.Locale locale)
Create an array of range values.
|
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.
|
void |
setRangeValues(java.lang.String[] values)
Sets the range values.
|
void |
setRangeValues(java.lang.String[] values,
MultilingualText[] displayValues)
Sets the range values.
|
void |
setRangeValues(java.lang.String[] values,
java.lang.String[] displayValues)
Sets the range values.
|
void |
setRangeValues(com.technia.tvc.core.gui.table.impl.StringRangeValue[] rangeValues)
Sets the range values.
|
addValue, addValue, addValue
add, addValue, clearValues, compareTo, equals, getColumn, getFirstValue, getRow, getType, getValueAt, getValueCount, getValues, hashCode, hasValues, indexOf, isBoolean, isDateTime, isEditable, isInteger, isReal, isString, isUnknown, iterator, paramString, removeValueAt, setEditable, setRow, toString
public StringRangeCell(Column column, Updater updater)
column
- The column of the cell.updater
- The updater on the column.public StringRangeCell(Column column, Updater updater, java.lang.String[] rangeValues)
column
- The column of the cell.rangeValues
- The range values.public StringRangeCell(Column column, Updater updater, java.lang.String[] rangeValues, java.lang.String[] displayValues)
column
- The column of the cell.rangeValues
- The range values.displayValues
- The displayed range values.public StringRangeCell(Column column, Updater updater, java.lang.String[] rangeValues, MultilingualText[] displayValues)
column
- The column of the cell.rangeValues
- The actual range values.displayValues
- The displayed range values.public RangeValue getRangeValueAt(int i)
Cell
getRangeValueAt
in interface Cell
getRangeValueAt
in class AbstractCell
i
- The index of the range value.RangeValue
public int getRangeValueCount()
Cell
getRangeValueCount
in interface Cell
getRangeValueCount
in class AbstractCell
RangeValue
public java.util.Iterator<RangeValue> getRangeValues()
Cell
getRangeValues
in interface Cell
getRangeValues
in class AbstractCell
RangeValue
public void setRangeValues(com.technia.tvc.core.gui.table.impl.StringRangeValue[] rangeValues)
rangeValues
- The range values.public void setRangeValues(java.lang.String[] values)
values
- The range values.public void setRangeValues(java.lang.String[] values, java.lang.String[] displayValues)
values
- The range values.displayValues
- The displayed values.public void setRangeValues(java.lang.String[] values, MultilingualText[] displayValues)
values
- The range values.displayValues
- The displayed values.public static com.technia.tvc.core.gui.table.impl.StringRangeValue[] createRangeValues(java.lang.String[] values)
values
- The values.public static com.technia.tvc.core.gui.table.impl.StringRangeValue[] createRangeValues(java.lang.String[] values, java.util.Locale locale)
values
- The values.locale
- The locale of the values (used when sorting).public static com.technia.tvc.core.gui.table.impl.StringRangeValue[] createRangeValues(java.lang.String[] values, java.lang.String[] displayValues)
values
- The values.displayValues
- The displayed values.public static com.technia.tvc.core.gui.table.impl.StringRangeValue[] createRangeValues(java.lang.String[] values, java.lang.String[] displayValues, java.util.Locale locale)
values
- The values.displayValues
- The displayed values.locale
- The locale of the values (used when sorting).public static com.technia.tvc.core.gui.table.impl.StringRangeValue[] createRangeValues(java.lang.String[] values, MultilingualText[] displayValues, java.util.Locale locale)
values
- The values.displayValues
- The displayed values (here represented as
MultilingualText
instances).locale
- The locale of the values (used when sorting and to get the
display value).Copyright © Technia AB. All Rights Reserved.