Modifier and Type | Method and Description |
---|---|
StateNode |
PendingJavaScriptInvocation.getOwner()
Gets the state node that this invocation belongs to.
|
Constructor and Description |
---|
PendingJavaScriptInvocation(StateNode owner,
UIInternals.JavaScriptInvocation invocation)
Creates a new pending invocation for the given owner node and invocation.
|
Modifier and Type | Method and Description |
---|---|
protected StateNode |
AbstractTemplate.getStateNode()
Gets the state node for current template.
|
Constructor and Description |
---|
AbstractTemplate(StateNode stateNode) |
Constructor and Description |
---|
DataCommunicator(DataGenerator<T> dataGenerator,
ArrayUpdater arrayUpdater,
SerializableConsumer<elemental.json.JsonArray> dataUpdater,
StateNode stateNode)
Creates a new instance.
|
Constructor and Description |
---|
HierarchicalDataCommunicator(CompositeDataGenerator<T> dataGenerator,
HierarchicalArrayUpdater arrayUpdater,
SerializableConsumer<elemental.json.JsonArray> dataUpdater,
StateNode stateNode,
SerializableSupplier<ValueProvider<T,String>> uniqueKeyProviderSupplier)
Construct a new hierarchical data communicator backed by a
TreeDataProvider . |
Modifier and Type | Method and Description |
---|---|
StateNode |
ElementStateProvider.attachShadow(StateNode node)
Attaches the shadow root for the
node . |
StateNode |
Node.getNode()
Gets the node this element is connected to.
|
StateNode |
ElementStateProvider.getShadowRoot(StateNode node)
Gets shadow root for the
node if it has been attached. |
Modifier and Type | Method and Description |
---|---|
DomListenerRegistration |
ElementStateProvider.addEventListener(StateNode node,
String eventType,
DomEventListener listener)
Adds a DOM event listener.
|
Registration |
ElementStateProvider.addPropertyChangeListener(StateNode node,
String name,
PropertyChangeListener listener)
Adds a property change listener.
|
void |
ElementStateProvider.addSynchronizedProperty(StateNode node,
String property,
DisabledUpdateMode mode)
Makes the property synchronized from the client side to the server.
|
void |
ElementStateProvider.appendVirtualChild(StateNode node,
Element child,
String type,
String payload)
Append the given element as a virtual child.
|
void |
ElementStateProvider.attachExistingElement(StateNode node,
String tagName,
Element previousSibling,
ChildElementConsumer callback)
Attaches a child element with the given
tagName which is the next
sibling for the previousSibling . |
StateNode |
ElementStateProvider.attachShadow(StateNode node)
Attaches the shadow root for the
node . |
static ShadowRoot |
ShadowRoot.get(StateNode node)
Gets the shadow root instance mapped to the given state node.
|
static Element |
Element.get(StateNode node)
Gets the element mapped to the given state node.
|
static Element |
Element.get(StateNode node,
ElementStateProvider stateProvider)
Gets the element mapped to the given state node and element state
provider.
|
String |
ElementStateProvider.getAttribute(StateNode node,
String attribute)
Gets the value of the given attribute.
|
Stream<String> |
ElementStateProvider.getAttributeNames(StateNode node)
Gets the defined attribute names.
|
Element |
ElementStateProvider.getChild(StateNode node,
int index)
Returns the child element at the given position.
|
int |
ElementStateProvider.getChildCount(StateNode node)
Gets the number of child elements.
|
ClassList |
ElementStateProvider.getClassList(StateNode node)
Gets a list representation of all CSS class names set for an element.
|
default Optional<Component> |
ElementStateProvider.getComponent(StateNode node)
Gets the component this element is mapped to.
|
Node |
ElementStateProvider.getParent(StateNode node)
Gets the parent element.
|
Serializable |
ElementStateProvider.getProperty(StateNode node,
String name)
Gets the value of the given property.
|
Stream<String> |
ElementStateProvider.getPropertyNames(StateNode node)
Gets the defined property names.
|
StateNode |
ElementStateProvider.getShadowRoot(StateNode node)
Gets shadow root for the
node if it has been attached. |
Style |
ElementStateProvider.getStyle(StateNode node)
Returns a style instance for managing element inline styles.
|
Set<String> |
ElementStateProvider.getSynchronizedProperties(StateNode node)
Gets the names of the properties to synchronize from the client side to
the server.
|
Set<String> |
ElementStateProvider.getSynchronizedPropertyEvents(StateNode node)
Gets the event types which should trigger synchronization of properties
from the client side to the server.
|
String |
ElementStateProvider.getTag(StateNode node)
Gets the tag name for the given node.
|
String |
ElementStateProvider.getTextContent(StateNode node)
Gets the text content.
|
boolean |
ElementStateProvider.hasAttribute(StateNode node,
String attribute)
Checks if the given attribute has been set.
|
boolean |
ElementStateProvider.hasProperty(StateNode node,
String name)
Checks if the given property has been set.
|
void |
ElementStateProvider.insertChild(StateNode node,
int index,
Element child)
Inserts the given child at the given position.
|
static boolean |
ShadowRoot.isShadowRoot(StateNode node)
Checks whether the given
node is a shadow root node. |
boolean |
ElementStateProvider.isTextNode(StateNode node)
Checks if the state node represents a text node.
|
boolean |
ElementStateProvider.isVisible(StateNode node)
Gets the
node visibility. |
void |
ElementStateProvider.removeAllChildren(StateNode node)
Removes all child elements.
|
void |
ElementStateProvider.removeAttribute(StateNode node,
String attribute)
Removes the given attribute if it has been set.
|
void |
ElementStateProvider.removeChild(StateNode node,
Element child)
Removes the given child.
|
void |
ElementStateProvider.removeChild(StateNode node,
int index)
Removes the child at the given position.
|
void |
ElementStateProvider.removeProperty(StateNode node,
String name)
Removes the given property if it has been set.
|
void |
ElementStateProvider.setAttribute(StateNode node,
String attribute,
AbstractStreamResource resource)
Sets the given attribute to the given
StreamResource value. |
void |
ElementStateProvider.setAttribute(StateNode node,
String attribute,
String value)
Sets the given attribute to the given value.
|
default void |
ElementStateProvider.setComponent(StateNode node,
Component component)
Defines a mapping between the element and the given component.
|
void |
ElementStateProvider.setProperty(StateNode node,
String name,
Serializable value,
boolean emitChange)
Sets the given property to the given value.
|
void |
ElementStateProvider.setTextContent(StateNode node,
String textContent)
Sets the text content.
|
void |
ElementStateProvider.setVisible(StateNode node,
boolean visible)
Sets the
node visibility. |
boolean |
ElementStateProvider.supports(StateNode node)
Checks if the element state provider supports the given state node.
|
void |
ElementStateProvider.visit(StateNode node,
NodeVisitor visitor)
Visit the
node applying visitor to it and its descendants
based on the return value from the visitor. |
Constructor and Description |
---|
Element(StateNode node,
ElementStateProvider stateProvider)
Private constructor for initializing with an existing node and state
provider.
|
Node(StateNode node,
ElementStateProvider stateProvider)
Private constructor for initializing with an existing node and state
provider.
|
Modifier and Type | Method and Description |
---|---|
StateNode |
ShadowRootStateProvider.attachShadow(StateNode node) |
StateNode |
BasicElementStateProvider.attachShadow(StateNode node) |
StateNode |
AbstractTextElementStateProvider.attachShadow(StateNode node) |
StateNode |
ShadowRootStateProvider.createShadowRootNode(StateNode node)
Create a new shadow root node for the given element
node . |
static StateNode |
BasicTextElementStateProvider.createStateNode(String text)
Creates a compatible text state node using the given text.
|
static StateNode |
BasicElementStateProvider.createStateNode(String tag)
Creates a compatible element state node using the given
tag . |
StateNode |
ShadowRootStateProvider.getShadowRoot(StateNode node) |
StateNode |
BasicElementStateProvider.getShadowRoot(StateNode node) |
StateNode |
AbstractTextElementStateProvider.getShadowRoot(StateNode node) |
Modifier and Type | Method and Description |
---|---|
DomListenerRegistration |
ShadowRootStateProvider.addEventListener(StateNode node,
String eventType,
DomEventListener listener) |
DomListenerRegistration |
BasicElementStateProvider.addEventListener(StateNode node,
String eventType,
DomEventListener listener) |
DomListenerRegistration |
AbstractTextElementStateProvider.addEventListener(StateNode node,
String eventType,
DomEventListener listener) |
Registration |
ShadowRootStateProvider.addPropertyChangeListener(StateNode node,
String name,
PropertyChangeListener listener) |
Registration |
BasicElementStateProvider.addPropertyChangeListener(StateNode node,
String name,
PropertyChangeListener listener) |
Registration |
AbstractTextElementStateProvider.addPropertyChangeListener(StateNode node,
String name,
PropertyChangeListener listener) |
void |
ShadowRootStateProvider.addSynchronizedProperty(StateNode node,
String property,
DisabledUpdateMode mode) |
void |
BasicElementStateProvider.addSynchronizedProperty(StateNode node,
String property,
DisabledUpdateMode mode) |
void |
AbstractTextElementStateProvider.addSynchronizedProperty(StateNode node,
String property,
DisabledUpdateMode mode) |
void |
AbstractTextElementStateProvider.appendVirtualChild(StateNode node,
Element child,
String type,
String payload) |
void |
AbstractNodeStateProvider.appendVirtualChild(StateNode node,
Element child,
String type,
String payload) |
void |
AbstractTextElementStateProvider.attachExistingElement(StateNode node,
String tagName,
Element previousSibling,
ChildElementConsumer callback) |
void |
AbstractNodeStateProvider.attachExistingElement(StateNode node,
String tagName,
Element previousSibling,
ChildElementConsumer callback) |
StateNode |
ShadowRootStateProvider.attachShadow(StateNode node) |
StateNode |
BasicElementStateProvider.attachShadow(StateNode node) |
StateNode |
AbstractTextElementStateProvider.attachShadow(StateNode node) |
StateNode |
ShadowRootStateProvider.createShadowRootNode(StateNode node)
Create a new shadow root node for the given element
node . |
String |
ShadowRootStateProvider.getAttribute(StateNode node,
String attribute) |
String |
BasicElementStateProvider.getAttribute(StateNode node,
String attribute) |
String |
AbstractTextElementStateProvider.getAttribute(StateNode node,
String attribute) |
Stream<String> |
ShadowRootStateProvider.getAttributeNames(StateNode node) |
Stream<String> |
BasicElementStateProvider.getAttributeNames(StateNode node) |
Stream<String> |
AbstractTextElementStateProvider.getAttributeNames(StateNode node) |
Element |
AbstractTextElementStateProvider.getChild(StateNode node,
int index) |
Element |
AbstractNodeStateProvider.getChild(StateNode node,
int index) |
int |
AbstractTextElementStateProvider.getChildCount(StateNode node) |
int |
AbstractNodeStateProvider.getChildCount(StateNode node) |
ClassList |
ShadowRootStateProvider.getClassList(StateNode node) |
ClassList |
BasicElementStateProvider.getClassList(StateNode node) |
ClassList |
AbstractTextElementStateProvider.getClassList(StateNode node) |
protected Node<?> |
ShadowRootStateProvider.getNode(StateNode node) |
protected Node<?> |
BasicElementStateProvider.getNode(StateNode node) |
protected abstract Node<?> |
AbstractNodeStateProvider.getNode(StateNode node)
Gets the flyweight instance for the
node supported by the
provider. |
Node<?> |
BasicTextElementStateProvider.getParent(StateNode node) |
Node |
BasicElementStateProvider.getParent(StateNode node) |
Node |
AbstractNodeStateProvider.getParent(StateNode node) |
Serializable |
ShadowRootStateProvider.getProperty(StateNode node,
String name) |
Serializable |
BasicElementStateProvider.getProperty(StateNode node,
String name) |
Serializable |
AbstractTextElementStateProvider.getProperty(StateNode node,
String name) |
Stream<String> |
ShadowRootStateProvider.getPropertyNames(StateNode node) |
Stream<String> |
BasicElementStateProvider.getPropertyNames(StateNode node) |
Stream<String> |
AbstractTextElementStateProvider.getPropertyNames(StateNode node) |
StateNode |
ShadowRootStateProvider.getShadowRoot(StateNode node) |
StateNode |
BasicElementStateProvider.getShadowRoot(StateNode node) |
StateNode |
AbstractTextElementStateProvider.getShadowRoot(StateNode node) |
Style |
ShadowRootStateProvider.getStyle(StateNode node) |
Style |
BasicElementStateProvider.getStyle(StateNode node) |
Style |
AbstractTextElementStateProvider.getStyle(StateNode node) |
Set<String> |
ShadowRootStateProvider.getSynchronizedProperties(StateNode node) |
Set<String> |
BasicElementStateProvider.getSynchronizedProperties(StateNode node) |
Set<String> |
AbstractTextElementStateProvider.getSynchronizedProperties(StateNode node) |
Set<String> |
ShadowRootStateProvider.getSynchronizedPropertyEvents(StateNode node) |
Set<String> |
BasicElementStateProvider.getSynchronizedPropertyEvents(StateNode node) |
Set<String> |
AbstractTextElementStateProvider.getSynchronizedPropertyEvents(StateNode node) |
String |
ShadowRootStateProvider.getTag(StateNode node) |
String |
BasicElementStateProvider.getTag(StateNode node) |
String |
AbstractTextElementStateProvider.getTag(StateNode node) |
String |
ShadowRootStateProvider.getTextContent(StateNode node) |
String |
BasicTextElementStateProvider.getTextContent(StateNode node) |
String |
BasicElementStateProvider.getTextContent(StateNode node) |
boolean |
ShadowRootStateProvider.hasAttribute(StateNode node,
String attribute) |
boolean |
BasicElementStateProvider.hasAttribute(StateNode node,
String attribute) |
boolean |
AbstractTextElementStateProvider.hasAttribute(StateNode node,
String attribute) |
boolean |
ShadowRootStateProvider.hasProperty(StateNode node,
String name) |
boolean |
BasicElementStateProvider.hasProperty(StateNode node,
String name) |
boolean |
AbstractTextElementStateProvider.hasProperty(StateNode node,
String name) |
void |
AbstractTextElementStateProvider.insertChild(StateNode node,
int index,
Element child) |
void |
AbstractNodeStateProvider.insertChild(StateNode node,
int index,
Element child) |
boolean |
ShadowRootStateProvider.isTextNode(StateNode node) |
boolean |
BasicElementStateProvider.isTextNode(StateNode node) |
boolean |
AbstractTextElementStateProvider.isTextNode(StateNode node) |
boolean |
ShadowRootStateProvider.isVisible(StateNode node) |
boolean |
BasicElementStateProvider.isVisible(StateNode node) |
boolean |
AbstractTextElementStateProvider.isVisible(StateNode node) |
void |
AbstractTextElementStateProvider.removeAllChildren(StateNode node) |
void |
AbstractNodeStateProvider.removeAllChildren(StateNode node) |
void |
ShadowRootStateProvider.removeAttribute(StateNode node,
String attribute) |
void |
BasicElementStateProvider.removeAttribute(StateNode node,
String attribute) |
void |
AbstractTextElementStateProvider.removeAttribute(StateNode node,
String attribute) |
void |
AbstractTextElementStateProvider.removeChild(StateNode node,
Element child) |
void |
AbstractNodeStateProvider.removeChild(StateNode node,
Element child) |
void |
AbstractTextElementStateProvider.removeChild(StateNode node,
int index) |
void |
AbstractNodeStateProvider.removeChild(StateNode node,
int index) |
void |
ShadowRootStateProvider.removeProperty(StateNode node,
String name) |
void |
BasicElementStateProvider.removeProperty(StateNode node,
String name) |
void |
AbstractTextElementStateProvider.removeProperty(StateNode node,
String name) |
void |
ShadowRootStateProvider.setAttribute(StateNode node,
String attribute,
AbstractStreamResource resource) |
void |
BasicElementStateProvider.setAttribute(StateNode node,
String attribute,
AbstractStreamResource receiver) |
void |
AbstractTextElementStateProvider.setAttribute(StateNode node,
String attribute,
AbstractStreamResource resource) |
void |
ShadowRootStateProvider.setAttribute(StateNode node,
String attribute,
String value) |
void |
BasicElementStateProvider.setAttribute(StateNode node,
String attribute,
String value) |
void |
AbstractTextElementStateProvider.setAttribute(StateNode node,
String attribute,
String value) |
void |
ShadowRootStateProvider.setProperty(StateNode node,
String name,
Serializable value,
boolean emitChange) |
void |
BasicElementStateProvider.setProperty(StateNode node,
String name,
Serializable value,
boolean emitChange) |
void |
AbstractTextElementStateProvider.setProperty(StateNode node,
String name,
Serializable value,
boolean emitChange) |
void |
ShadowRootStateProvider.setTextContent(StateNode node,
String textContent) |
void |
BasicTextElementStateProvider.setTextContent(StateNode node,
String textContent) |
void |
BasicElementStateProvider.setTextContent(StateNode node,
String textContent) |
void |
ShadowRootStateProvider.setVisible(StateNode node,
boolean visible) |
void |
BasicElementStateProvider.setVisible(StateNode node,
boolean visible) |
void |
AbstractTextElementStateProvider.setVisible(StateNode node,
boolean visible) |
boolean |
BasicTextElementStateProvider.supports(StateNode node) |
boolean |
BasicElementStateProvider.supports(StateNode node) |
boolean |
AbstractNodeStateProvider.supports(StateNode node) |
void |
ShadowRootStateProvider.visit(StateNode node,
NodeVisitor visitor) |
void |
BasicElementStateProvider.visit(StateNode node,
NodeVisitor visitor) |
void |
AbstractTextElementStateProvider.visit(StateNode node,
NodeVisitor visitor) |
Modifier and Type | Method and Description |
---|---|
StateNode |
StateTree.getNodeById(int id)
Finds a node with the given id.
|
StateNode |
StateNode.getParent()
Gets the parent node that this node belongs to.
|
StateNode |
StateTree.getRootNode()
Gets the root node of this state tree.
|
StateNode |
StateTree.BeforeClientResponseEntry.getStateNode() |
Modifier and Type | Method and Description |
---|---|
Set<StateNode> |
StateTree.collectDirtyNodes()
Gets all the nodes that have been marked.
|
Modifier and Type | Method and Description |
---|---|
StateTree.ExecutionRegistration |
StateTree.beforeClientResponse(StateNode context,
SerializableConsumer<ExecutionContext> execution)
Registers a task to be executed before the response is sent to the
client.
|
boolean |
StateTree.hasNode(StateNode node) |
boolean |
NullOwner.hasNode(StateNode node) |
boolean |
NodeOwner.hasNode(StateNode node)
Check if given node is registered to this node owner.
|
void |
StateTree.markAsDirty(StateNode node) |
void |
NullOwner.markAsDirty(StateNode node) |
void |
NodeOwner.markAsDirty(StateNode node)
Marks a node owned by this instance as dirty.
|
int |
StateTree.register(StateNode node) |
int |
NullOwner.register(StateNode node) |
int |
NodeOwner.register(StateNode node)
Registers a node with this node owner.
|
void |
StateNode.setParent(StateNode parent)
Sets the parent node that this node belongs to.
|
void |
StateTree.unregister(StateNode node) |
void |
NullOwner.unregister(StateNode node) |
void |
NodeOwner.unregister(StateNode node)
Unregisters a node from this owner.
|
Modifier and Type | Method and Description |
---|---|
void |
StateNode.visitNodeTree(Consumer<StateNode> visitor)
Applies the
visitor to this node and all its descendants. |
Constructor and Description |
---|
StateNode(StateNode node)
Create a new instance using the same features as provided
node
declares. |
Modifier and Type | Method and Description |
---|---|
StateNode |
NodeChange.getNode()
Gets the changed node.
|
Constructor and Description |
---|
NodeAttachChange(StateNode node)
Creates a new attach change.
|
NodeChange(StateNode node)
Creates a new change for the given node.
|
NodeDetachChange(StateNode node)
Creates a new detach change.
|
Modifier and Type | Method and Description |
---|---|
StateNode |
VirtualChildrenList.get(int index) |
StateNode |
ModelList.get(int index) |
StateNode |
ElementChildrenList.get(int index) |
StateNode |
ShadowRootHost.getHost()
Gets the host state node of the shadow root node.
|
StateNode |
NodeFeature.getNode()
Gets the node that this feature belongs to.
|
StateNode |
ShadowRootData.getShadowRoot() |
StateNode |
VirtualChildrenList.remove(int index) |
protected StateNode |
StateNodeNodeList.remove(int index) |
StateNode |
ModelList.remove(int index) |
StateNode |
ElementChildrenList.remove(int index) |
Modifier and Type | Method and Description |
---|---|
Iterator<StateNode> |
VirtualChildrenList.iterator() |
Modifier and Type | Method and Description |
---|---|
protected void |
StateNodeNodeList.add(int index,
StateNode item) |
void |
ModelList.add(int index,
StateNode item) |
void |
ElementChildrenList.add(int index,
StateNode node) |
void |
VirtualChildrenList.add(int index,
StateNode node,
String type)
Inserts an item supplied with payload type at the given index of the
list.
|
void |
VirtualChildrenList.add(int index,
StateNode node,
String type,
elemental.json.JsonValue payload)
Inserts an item supplied with payload data at the given index of the
list.
|
void |
VirtualChildrenList.add(int index,
StateNode node,
String type,
String payload)
Inserts an item supplied with payload data at the given index of the
list.
|
void |
ModelList.add(StateNode item) |
void |
VirtualChildrenList.append(StateNode node,
String type)
Appends an item supplied with payload type as last in the list.
|
void |
VirtualChildrenList.append(StateNode node,
String type,
elemental.json.JsonValue payload)
Appends an item supplied with payload data as last in the list.
|
void |
VirtualChildrenList.append(StateNode node,
String type,
String payload)
Appends an item supplied with payload data as last in the list.
|
boolean |
ModelList.contains(StateNode node)
Returns true if this list contains the specified node.
|
static NodeFeature |
NodeFeatureRegistry.create(Class<? extends NodeFeature> nodeFeatureType,
StateNode node)
Creates a feature of the given type for a node.
|
ChildElementConsumer |
AttachExistingElementFeature.getCallback(StateNode node)
Gets callback of the registered
node . |
static Optional<Component> |
ComponentMapping.getComponent(StateNode node)
Gets the component mapped to the given state node.
|
static ElementPropertyMap |
ElementPropertyMap.getModel(StateNode node)
Gets the model map for the given node.
|
Node<?> |
AttachExistingElementFeature.getParent(StateNode node)
Gets parent
Node of the registered node . |
Element |
AttachExistingElementFeature.getPreviousSibling(StateNode node)
Gets previous sibling of the registered
node . |
int |
VirtualChildrenList.indexOf(StateNode node) |
int |
ModelList.indexOf(StateNode item) |
int |
ElementChildrenList.indexOf(StateNode node) |
void |
AttachExistingElementFeature.register(Node<?> parent,
Element previousSibling,
StateNode child,
ChildElementConsumer callback)
Registers the data for the
child node requested as being attached
to an existing element. |
void |
ShadowRootData.setShadowRoot(StateNode node) |
void |
AttachExistingElementFeature.unregister(StateNode node)
Unregister the
node and clean up all associated data. |
Modifier and Type | Method and Description |
---|---|
protected void |
StateNodeNodeList.addAll(Collection<? extends StateNode> items) |
void |
ModelList.addAll(Collection<? extends StateNode> items) |
void |
StateNodeNodeList.forEachChild(Consumer<StateNode> action) |
void |
ServerSideFeature.forEachChild(Consumer<StateNode> action) |
void |
NodeValue.forEachChild(Consumer<StateNode> action) |
void |
NodeMap.forEachChild(Consumer<StateNode> action) |
void |
NodeList.forEachChild(Consumer<StateNode> action) |
abstract void |
NodeFeature.forEachChild(Consumer<StateNode> action)
Passes each child node instance to the given consumer.
|
void |
AttachExistingElementFeature.forEachChild(Consumer<StateNode> action) |
Constructor and Description |
---|
AbstractPropertyMap(StateNode node)
Creates a new element property map for the given node.
|
AbstractServerHandlers(StateNode node)
Creates a new meta information list for the given state node.
|
AttachExistingElementFeature(StateNode node)
Creates a new instance for the given node.
|
BasicTypeValue(StateNode node)
Creates a new value map for the given node.
|
ClientCallableHandlers(StateNode node)
Creates a new meta information list for the given state node.
|
ComponentMapping(StateNode node)
Creates an instance of this node feature.
|
ElementAttributeMap(StateNode node)
Creates a new element attribute map for the given node.
|
ElementChildrenList(StateNode node)
Creates a new element children list for the given node.
|
ElementClassList(StateNode node)
Creates a new class list for the given node.
|
ElementData(StateNode node)
Creates a new element data map for the given node.
|
ElementListenerMap(StateNode node)
Creates a new element listener map for the given node.
|
ElementPropertyMap(StateNode node)
Creates a new element property map for the given node.
|
ElementStylePropertyMap(StateNode node)
Creates a new element style map for the given node.
|
LoadingIndicatorConfigurationMap(StateNode node)
Creates a new map for the given node.
|
ModelList(StateNode node)
Creates an instance of this node feature.
|
NodeFeature(StateNode node)
Creates a new feature for the given node.
|
NodeList(StateNode node)
Creates a new list for the given node.
|
NodeMap(StateNode node)
Creates a new map feature for the given node.
|
NodeValue(StateNode node)
Creates a new feature for the given node.
|
PollConfigurationMap(StateNode node)
Creates a new map for the given node.
|
PolymerEventListenerMap(StateNode node)
Creates a new map feature for the given node.
|
PolymerServerEventHandlers(StateNode node)
Creates a new meta information list for the given state node.
|
PushConfigurationMap(StateNode node)
Creates a new map for the given node.
|
PushConfigurationParametersMap(StateNode node)
Creates a new map for the given node.
|
ReconnectDialogConfigurationMap(StateNode node)
Creates a new map for the given node.
|
ReturnChannelMap(StateNode node)
Creates a new return channel map for the given state node.
|
SerializableNodeList(StateNode node)
Creates a new list for the given node.
|
ServerSideFeature(StateNode node)
Creates a new feature for the given node.
|
ShadowRootData(StateNode node)
Creates a new element data map for the given node.
|
ShadowRootHost(StateNode node)
Creates a new instance of the feature for the given
node . |
StateNodeNodeList(StateNode node)
Creates a new list for the given node.
|
SynchronizedPropertiesList(StateNode node)
Creates a new synchronized properties list for the given node.
|
SynchronizedPropertyEventsList(StateNode node)
Creates a new synchronized property events list for the given node.
|
TextNodeMap(StateNode node)
Creates a new text node map for the given node.
|
VirtualChildrenList(StateNode node)
Creates a new element virtual children list for the given node.
|
Modifier and Type | Method and Description |
---|---|
StateNode |
StreamReceiver.getNode()
Get the node that this stream receiver is linked to.
|
Constructor and Description |
---|
StreamReceiver(StateNode node,
String resourceName,
StreamVariable streamVariable)
Creates
StreamReceiver instance for streamVariable as a
data receiver. |
Modifier and Type | Method and Description |
---|---|
protected void |
StreamReceiverHandler.doHandleMultipartFileUpload(VaadinSession session,
VaadinRequest request,
VaadinResponse response,
StreamReceiver streamReceiver,
StateNode owner)
Streams content from a multipart request to given StreamVariable.
|
protected void |
StreamReceiverHandler.doHandleXhrFilePost(VaadinSession session,
VaadinRequest request,
VaadinResponse response,
StreamReceiver streamReceiver,
StateNode owner,
long contentLength)
Used to stream plain file post (aka XHR2.post(File))
|
protected Optional<Runnable> |
ReturnChannelHandler.handleNode(StateNode node,
elemental.json.JsonObject invocationJson) |
Modifier and Type | Method and Description |
---|---|
Optional<Runnable> |
PublishedServerEventHandlerRpcHandler.handleNode(StateNode node,
elemental.json.JsonObject invocationJson) |
protected Optional<Runnable> |
MapSyncRpcHandler.handleNode(StateNode node,
elemental.json.JsonObject invocationJson) |
Optional<Runnable> |
EventRpcHandler.handleNode(StateNode node,
elemental.json.JsonObject invocationJson) |
protected Optional<Runnable> |
AttachTemplateChildRpcHandler.handleNode(StateNode node,
elemental.json.JsonObject invocationJson) |
protected Optional<Runnable> |
AttachExistingElementRpcHandler.handleNode(StateNode node,
elemental.json.JsonObject invocationJson) |
protected abstract Optional<Runnable> |
AbstractRpcInvocationHandler.handleNode(StateNode node,
elemental.json.JsonObject invocationJson)
Handle the RPC data
invocationJson using target node as a
context. |
Modifier and Type | Method and Description |
---|---|
StateNode |
TemplateModelProxyHandler.ModelProxy.$stateNode()
Gets the state node that this instance is backed by.
|
StateNode |
ListModelType.applicationToModel(Object applicationValue,
PropertyFilter filter) |
StateNode |
ComplexModelType.applicationToModel(Object applicationValue,
PropertyFilter filter) |
StateNode |
BeanModelType.applicationToModel(Object applicationValue,
PropertyFilter filter) |
StateNode |
BasicComplexModelType.applicationToModel(Object applicationValue,
PropertyFilter filter) |
static StateNode |
TemplateModelProxyHandler.getStateNodeForProxy(Object proxy)
Gets the state node that a proxy is bound to.
|
Modifier and Type | Method and Description |
---|---|
void |
TemplateModelProxyHandler.ModelProxy.$stateNode(StateNode node)
Sets the state node that this instance is backed by.
|
void |
ModelType.createInitialValue(StateNode node,
String property)
Create initial value for the given
property and set it for the
node . |
void |
ListModelType.createInitialValue(StateNode node,
String property) |
void |
ConvertedModelType.createInitialValue(StateNode node,
String property) |
void |
BeanModelType.createInitialValue(StateNode node,
String property) |
void |
AbstractBasicModelType.createInitialValue(StateNode node,
String property) |
void |
BeanModelType.createInitialValues(StateNode node)
Creates initial values for the given
node using info from this
model type. |
static <T> T |
TemplateModelProxyHandler.createModelProxy(StateNode stateNode,
BeanModelType<T> modelType)
Creates a proxy object for the given
modelType type for the given
state node. |
Constructor and Description |
---|
TemplateModelListProxy(StateNode stateNode,
ComplexModelType<T> itemType)
Creates a new proxy for the given node and item type.
|
Copyright © 2020. All rights reserved.