class O2GTable
Parents | |
|
Brief
The class provides methods to access up-to-date information about a trading table.
Details
The O2GTable
is a generic class that provides access to the in-memory representation of the trading tables.
The class is available only if your application uses the O2GTableManager class. An instance of the O2GTableManager
class must have the O2GTableManagerStatus.TABLES_LOADED status.
For complete instructions on the table manager usage, see the How to use table manager in ForexConnect API section.
You can not create an instance of the class directly. You can only use the methods of the class on the following subclasses:
O2GAccountsTable
,
O2GOffersTable
,
O2GOrdersTable
,
O2GTradesTable
,
O2GClosedTradesTable
,
O2GSummaryTable
, and
O2GMessagesTable
.
The class allows you to perform the following operations:
To iterate through the rows of a table by using the forEachRow
method.
To traverse a table. The traversing can be done consecutively or on a particular column value basis by using the
getNextGenericRow
or
getNextGenericRowByColumnValue
methods respectively.
To subscribe/unsubscribe an instance of the class implementing the IO2GTableListener
interface to table updates. It is accomplished by using the subscribeUpdate
and
unsubscribeUpdate
methods respectively.
To subscribe/unsubscribe an instance of the class implementing the IO2GTableListener
interface to table status changes. It is accomplished by using the subscribeStatus
and
unsubscribeStatus
methods respectively. You can also obtain the current status of a table at any time
by using the getStatus
method.
To check whether the value of a table cell has changed or not. It is accomplished by using the isCellChanged
method.
The namespace is com.fxcore2
.
Public Methods | |
Iterates through the rows of a table. |
|
Gets the next row from a table. |
|
Gets the next row from |
|
Gets the next row from |
|
Gets the next row from |
|
Gets the status of a table. |
|
Checks whether the value of a cell has changed on not. |
|
Subscribes a table listener to table status changes. |
|
Subscribes a table listener to table updates. |
|
Unsubscribes a table listener from table status changes. |
|
Unsubscribes a table listener from table updates. |