Class
caplin.streamlink

ContainerEvent

Represents an update to a container subject.

The ContainerEvent will be provided on a onContainerUpdate callback to a caplin.streamlink.SubscriptionListener.

Constructor Summary

Attributes Name and Description
caplin.streamlink.ContainerEvent()

Method Summary

Attributes Name and Description
void getSize()

*

Gets the size of the container.

void getWindowEnd()

*

Gets the index of the end of the container window.

void getWindowStart()

*

Gets the index of the start of the window.

void updateModel( containerModel)

*

Update your implementation of caplin.streamlink.ContainerModel with the contents of this ContainerEvent.

Methods inherited from class caplin.streamlink.DataEvent:
getSubject, isImage

Constructor Detail

caplin.streamlink.ContainerEvent()

Method Detail

void getSize()

*

Gets the size of the container.

* *

The value returned here is the true size of the container, which may be larger than the size of the container * window that you have subscribed to.

* *

The value returned here is useful for sizing the scroll bars of a data view showing the elements * within a container.

* * @returns {int} The size of the container.

void getWindowEnd()

*

Gets the index of the end of the container window.

* @returns {int} The end of the window, or -1 if no window has been specified.

void getWindowStart()

*

Gets the index of the start of the window.

* * @returns {int} The start of the window, or -1 if no window has been specified.

void updateModel( containerModel)

*

Update your implementation of caplin.streamlink.ContainerModel with the contents of this ContainerEvent.

* *@param {caplin.streamlink.ContainerModel} containerModel Your implementation of caplin.streamlink.ContainerModel that should be updated with the contents of this ContainerEvent.

Parameters
containerModel