public final class Polltrack extends AbstractList<Poll> implements AsyncCallback<JavaScriptObject>, Track
PolltrackV
Modifier and Type | Field and Description |
---|---|
(package private) Object |
eventSource
The source of change events for the track.
|
modCount
Constructor and Description |
---|
Polltrack()
Constructs a Polltrack.
|
Modifier and Type | Method and Description |
---|---|
Poll |
get(int p) |
static Polltrack |
i(Stage stage)
Returns the staged instance of Polltrack, or null if
none is staged.
|
PolltrackV |
newView(StageV _stageV)
Constructs a view of this track.
|
void |
onFailure(Throwable x) |
void |
onSuccess(JavaScriptObject response) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
final Object eventSource
public Polltrack()
public static Polltrack i(Stage stage)
public void onFailure(Throwable x)
onFailure
in interface AsyncCallback<JavaScriptObject>
public void onSuccess(JavaScriptObject response)
onSuccess
in interface AsyncCallback<JavaScriptObject>
public int size()
size
in interface Collection<Poll>
size
in interface List<Poll>
size
in class AbstractCollection<Poll>