HTML Client 5.0.1

Class VisualTable

Object
   |
   +--Table
         |
         +--VisualTable
Direct Known Subclasses:
ChartTable, DynaMetapushTable, ScrollTable, OverwriteTable, DynaScrollTable, MetapushTable

class VisualTable
extends Table


The base class for all the data-table classes that delegate to Lightstreamer the visualization of the data on the page. The class contains the subscription details and the event handlers that allow Lightstreamer to display the real-time data. A specialized (derived) object, rather than a VisualTable object, should be created and used.
The visualization of pushed values is performed by associating a screen table (i.e. a set of HTML cells defined in the page) to the data table, in a way that depends on the specific type of data table. Several visualization actions can also be performed through the provided event handlers.
The class constructor, its prototype and any other properties should never be used directly; actually, VisualTable is not even defined as a global name.
Defined in lspushpage.js


Constructor Summary
VisualTable (<GroupDescriptor> tGroup, <SchemaDescriptor> tSchema, <String> tSubscriptionMode)
            Used by the specialized data table objects to inherit the basic support for all data tables whose visualization on the page is managed by Lightstreamer.
 
Method Summary
 boolean isPushedHtmlEnabled()
           Inquiry method that gets the type of interpretation to be applied for the pushed values for this data table.
 void setClearOnAdd(<boolean> clear)
           Setter method that enables or disables the clearing of the screen table assigned to the data table when the data table is brought to "running" state, through PushPage.addTable().
 void setClearOnDisconnected(<boolean> clear)
           Setter method that enables or disables the clearing of the screen table assigned to the data table as soon as the connection with Lightstreamer Server is lost.
 void setClearOnRemove(<boolean> clear)
           Setter method that enables or disables the clearing of the screen table assigned to the data table after the data table is reset to "inactive" state, through PushPage.removeTable() or, implicitly, through PushPage.addTable() for the same screen table.
 void setPushedHtmlEnabled(<boolean> enable)
           Setter method that enables or disables the interpretation of the pushed values as HTML code.
 void showValues(<ItemDescriptor> item, _values)
           Operation method that sends a data row directly to the associated screen table.
 
Methods inherited from class Table
getSchema, getGroup, setDataAdapter, getId, setSelector, setItemsRange, setRequestedMaxFrequency, setRequestedBufferSize, setSnapshotRequired, onItemUpdate, onLostUpdates, onEndOfSnapshot, onStart, getClassName
 

Constructor Detail

VisualTable

VisualTable(<GroupDescriptor> tGroup, <SchemaDescriptor> tSchema, <String> tSubscriptionMode)

Method Detail

isPushedHtmlEnabled

boolean isPushedHtmlEnabled()

setClearOnAdd

void setClearOnAdd(<boolean> clear)

setClearOnDisconnected

void setClearOnDisconnected(<boolean> clear)

setClearOnRemove

void setClearOnRemove(<boolean> clear)

setPushedHtmlEnabled

void setPushedHtmlEnabled(<boolean> enable)

showValues

void showValues(<ItemDescriptor> item, _values)

HTML Client 5.0.1

Lightstreamer HTML Client API
Documentation generated by JSDoc on Tue May 22 11:46:54 2012