Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method
Description
String
columnLabel (int column)
returns the label of the given column.
List <String >
columnLabels ()
returns a list of all available columns.
int
columns ()
returns the number of columns (except header).
List <@IsVarType Object >
getColumn (String columnIdentifier)
returns the content of a column accessed by identifier if available, otherwise null.
List <@IsVarType Object >
getColumn (String columnIdentifier,
int startRow,
int lastRow)
returns the content of a column accessed by identifier if available, otherwise null.
Map <String ,@IsVarType Object >
getRowByIdentifiers (int row)
returns the content of a row accessed by index if available, otherwise null.
Map <String ,@IsVarType Object >
getRowByIdentifiers (int row,
int startColumn,
int lastColumn)
returns the content of a row accessed by index if available, otherwise null.
@IsVarType Object
getValueByColumn (String columnIdentifier,
int row)
returns the content of a cell accessed by column identifier and row index if available, otherwise null.
boolean
isColumnAvailable (String columnIdentifier)
checks the availability of a column identifier
VHeaderTable
transposed ()
Returns the transposed table matrix of the current table.
Methods inherited from interface omix.lang.data.Table
getColumn , getColumn , getIdentifier , getRow , getRow , getSelection , getSourceIdentifier , getValue , rows , toHorizontalHeaderTable , toHVHeadersTable , toPlainTable , toVerticalHeaderTable
Method Details
int columns ()
returns the number of columns (except header).
Specified by:
columns
in interface Table
Returns:
rows
boolean isColumnAvailable (
String columnIdentifier)
checks the availability of a column identifier
Parameters:
columnIdentifier
-
Returns:
availability
returns a list of all available columns.
Returns:
column list
String columnLabel (
int column)
returns the label of the given column.
Parameters:
column
-
Returns:
label
returns the content of a cell accessed by column identifier and row index if available, otherwise null.
Parameters:
columnIdentifier
-
row
-
Returns:
cell content
returns the content of a column accessed by identifier if available, otherwise null.
Parameters:
columnIdentifier
-
Returns:
column content
returns the content of a column accessed by identifier if available, otherwise null.
Parameters:
columnIdentifier
-
startRow
-
lastRow
-
Returns:
column content
returns the content of a row accessed by index if available, otherwise null.
Parameters:
row
-
Returns:
row content
returns the content of a row accessed by index if available, otherwise null.
Parameters:
row
-
startColumn
-
lastColumn
-
Returns:
row content
Description copied from interface: Table
Returns the transposed table matrix of the current table.
The returned table is a new object which does no longer represent the actual
table representation in the data manager sidebar, i.e.
Table.getSelection()
will always
return an empty list.
Specified by:
transposed
in interface Table
Returns:
transposed table