class O2GTableColumn

Brief

The class provides access to a column of a trading table.

Details

Every column of the trading tables has a unique identifier and a data type. These properties of a column can be accessed by the methods of the class: getId and getType respectively.

To get an instance of the class, use one of the implementations of the O2GTableColumnCollection get methods.

Example

Get column identifiers and data types [hide]

 private void useGenericReader(O2GGenericTableResponseReader genericReader) {
    O2GTableColumnCollection columns = genericReader.getColumns();
    for (int i = 0; i < columns.size(); i++) {
        O2GTableColumn column = columns.get(i);
        System.out.println("Identifier: " + column.getId() + "Data Type: " + column.getType());
    }
 }

The namespace is com.fxcore2.

Public Methods

getId

Gets the unique identifier of a column.

getType

Gets the data type of a column.

back