public class PollConfigurationMap extends NodeMap
Modifier and Type | Field and Description |
---|---|
static String |
POLL_INTERVAL_KEY |
Constructor and Description |
---|
PollConfigurationMap(StateNode node)
Creates a new map for the given node.
|
Modifier and Type | Method and Description |
---|---|
int |
getPollInterval()
Gets the poll interval.
|
void |
setPollInterval(int pollInterval)
Sets the poll interval.
|
clear, collectChanges, contains, forEachChild, generateChangesFromEmpty, get, getOrDefault, getOrDefault, getOrDefault, keySet, mayUpdateFromClient, put, put, remove, updateFromClient
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetach
public static final String POLL_INTERVAL_KEY
public PollConfigurationMap(StateNode node)
node
- the node that the map belongs topublic void setPollInterval(int pollInterval)
pollInterval
- the intervalUI.setPollInterval(int)
public int getPollInterval()
UI.getPollInterval()
Copyright © 2019. All rights reserved.