Uses of Class
com.vaadin.flow.internal.StateNode
-
-
Uses of StateNode in com.vaadin.flow.component.combobox
Constructors in com.vaadin.flow.component.combobox with parameters of type StateNode Constructor Description ComboBoxDataCommunicator(ComboBoxBase<?,TItem,?> comboBox, DataGenerator<TItem> dataGenerator, ArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode, boolean fetchEnabled)
-
Uses of StateNode in com.vaadin.flow.component.internal
Methods in com.vaadin.flow.component.internal that return StateNode Modifier and Type Method Description StateNode
PendingJavaScriptInvocation. getOwner()
Gets the state node that this invocation belongs to.Constructors in com.vaadin.flow.component.internal with parameters of type StateNode Constructor Description PendingJavaScriptInvocation(StateNode owner, UIInternals.JavaScriptInvocation invocation)
Creates a new pending invocation for the given owner node and invocation. -
Uses of StateNode in com.vaadin.flow.component.ironlist.paging
Constructors in com.vaadin.flow.component.ironlist.paging with parameters of type StateNode Constructor Description PagelessDataCommunicator(DataGenerator<T> dataGenerator, ArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode)
-
Uses of StateNode in com.vaadin.flow.component.polymertemplate
Methods in com.vaadin.flow.component.polymertemplate that return StateNode Modifier and Type Method Description protected StateNode
AbstractTemplate. getStateNode()
Deprecated.Gets the state node for current template.Constructors in com.vaadin.flow.component.polymertemplate with parameters of type StateNode Constructor Description AbstractTemplate(StateNode stateNode)
Deprecated. -
Uses of StateNode in com.vaadin.flow.component.virtuallist.paging
Constructors in com.vaadin.flow.component.virtuallist.paging with parameters of type StateNode Constructor Description PagelessDataCommunicator(DataGenerator<T> dataGenerator, ArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode)
-
Uses of StateNode in com.vaadin.flow.data.provider
Constructors in com.vaadin.flow.data.provider with parameters of type StateNode Constructor Description DataCommunicator(DataGenerator<T> dataGenerator, ArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode)
Creates a new instance.DataCommunicator(DataGenerator<T> dataGenerator, ArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode, boolean fetchEnabled)
Creates a new instance. -
Uses of StateNode in com.vaadin.flow.data.provider.hierarchy
Constructors in com.vaadin.flow.data.provider.hierarchy with parameters of type StateNode Constructor 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 aTreeDataProvider
. -
Uses of StateNode in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom that return StateNode Modifier and Type Method Description StateNode
ElementStateProvider. attachShadow(StateNode node)
Attaches the shadow root for thenode
.StateNode
Node. getNode()
Gets the node this element is connected to.StateNode
ElementStateProvider. getShadowRoot(StateNode node)
Gets shadow root for thenode
if it has been attached.Methods in com.vaadin.flow.dom with parameters of type StateNode Modifier and Type Method 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. 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 giventagName
which is the next sibling for thepreviousSibling
.StateNode
ElementStateProvider. attachShadow(StateNode node)
Attaches the shadow root for thenode
.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.static ShadowRoot
ShadowRoot. get(StateNode node)
Gets the shadow root instance mapped to the given state node.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 thenode
if it has been attached.Style
ElementStateProvider. getStyle(StateNode node)
Returns a style instance for managing element inline styles.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 givennode
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 thenode
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, int index)
Removes the child at the given position.void
ElementStateProvider. removeChild(StateNode node, Element child)
Removes the given child.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 givenStreamResource
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 thenode
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 thenode
applyingvisitor
to it and its descendants based on the return value from the visitor.Constructors in com.vaadin.flow.dom with parameters of type StateNode Constructor 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. -
Uses of StateNode in com.vaadin.flow.dom.impl
Methods in com.vaadin.flow.dom.impl that return StateNode Modifier and Type Method Description StateNode
AbstractTextElementStateProvider. attachShadow(StateNode node)
StateNode
BasicElementStateProvider. attachShadow(StateNode node)
StateNode
ShadowRootStateProvider. attachShadow(StateNode node)
StateNode
ShadowRootStateProvider. createShadowRootNode(StateNode node)
Create a new shadow root node for the given elementnode
.static StateNode
BasicElementStateProvider. createStateNode(String tag)
Creates a compatible element state node using the giventag
.static StateNode
BasicTextElementStateProvider. createStateNode(String text)
Creates a compatible text state node using the given text.StateNode
AbstractTextElementStateProvider. getShadowRoot(StateNode node)
StateNode
BasicElementStateProvider. getShadowRoot(StateNode node)
StateNode
ShadowRootStateProvider. getShadowRoot(StateNode node)
Methods in com.vaadin.flow.dom.impl with parameters of type StateNode Modifier and Type Method Description DomListenerRegistration
AbstractTextElementStateProvider. addEventListener(StateNode node, String eventType, DomEventListener listener)
DomListenerRegistration
BasicElementStateProvider. addEventListener(StateNode node, String eventType, DomEventListener listener)
DomListenerRegistration
ShadowRootStateProvider. addEventListener(StateNode node, String eventType, DomEventListener listener)
Registration
AbstractTextElementStateProvider. addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener)
Registration
BasicElementStateProvider. addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener)
Registration
ShadowRootStateProvider. addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener)
void
AbstractNodeStateProvider. appendVirtualChild(StateNode node, Element child, String type, String payload)
void
AbstractTextElementStateProvider. appendVirtualChild(StateNode node, Element child, String type, String payload)
void
AbstractNodeStateProvider. attachExistingElement(StateNode node, String tagName, Element previousSibling, ChildElementConsumer callback)
void
AbstractTextElementStateProvider. attachExistingElement(StateNode node, String tagName, Element previousSibling, ChildElementConsumer callback)
StateNode
AbstractTextElementStateProvider. attachShadow(StateNode node)
StateNode
BasicElementStateProvider. attachShadow(StateNode node)
StateNode
ShadowRootStateProvider. attachShadow(StateNode node)
StateNode
ShadowRootStateProvider. createShadowRootNode(StateNode node)
Create a new shadow root node for the given elementnode
.String
AbstractTextElementStateProvider. getAttribute(StateNode node, String attribute)
String
BasicElementStateProvider. getAttribute(StateNode node, String attribute)
String
ShadowRootStateProvider. getAttribute(StateNode node, String attribute)
Stream<String>
AbstractTextElementStateProvider. getAttributeNames(StateNode node)
Stream<String>
BasicElementStateProvider. getAttributeNames(StateNode node)
Stream<String>
ShadowRootStateProvider. getAttributeNames(StateNode node)
Element
AbstractNodeStateProvider. getChild(StateNode node, int index)
Element
AbstractTextElementStateProvider. getChild(StateNode node, int index)
int
AbstractNodeStateProvider. getChildCount(StateNode node)
int
AbstractTextElementStateProvider. getChildCount(StateNode node)
ClassList
AbstractTextElementStateProvider. getClassList(StateNode node)
ClassList
BasicElementStateProvider. getClassList(StateNode node)
ClassList
ShadowRootStateProvider. getClassList(StateNode node)
protected abstract Node<?>
AbstractNodeStateProvider. getNode(StateNode node)
Gets the flyweight instance for thenode
supported by the provider.protected Node<?>
BasicElementStateProvider. getNode(StateNode node)
protected Node<?>
ShadowRootStateProvider. getNode(StateNode node)
Node
AbstractNodeStateProvider. getParent(StateNode node)
Node
BasicElementStateProvider. getParent(StateNode node)
Node<?>
BasicTextElementStateProvider. getParent(StateNode node)
Serializable
AbstractTextElementStateProvider. getProperty(StateNode node, String name)
Serializable
BasicElementStateProvider. getProperty(StateNode node, String name)
Serializable
ShadowRootStateProvider. getProperty(StateNode node, String name)
Stream<String>
AbstractTextElementStateProvider. getPropertyNames(StateNode node)
Stream<String>
BasicElementStateProvider. getPropertyNames(StateNode node)
Stream<String>
ShadowRootStateProvider. getPropertyNames(StateNode node)
StateNode
AbstractTextElementStateProvider. getShadowRoot(StateNode node)
StateNode
BasicElementStateProvider. getShadowRoot(StateNode node)
StateNode
ShadowRootStateProvider. getShadowRoot(StateNode node)
Style
AbstractTextElementStateProvider. getStyle(StateNode node)
Style
BasicElementStateProvider. getStyle(StateNode node)
Style
ShadowRootStateProvider. getStyle(StateNode node)
String
AbstractTextElementStateProvider. getTag(StateNode node)
String
BasicElementStateProvider. getTag(StateNode node)
String
ShadowRootStateProvider. getTag(StateNode node)
String
BasicElementStateProvider. getTextContent(StateNode node)
String
BasicTextElementStateProvider. getTextContent(StateNode node)
String
ShadowRootStateProvider. getTextContent(StateNode node)
boolean
AbstractTextElementStateProvider. hasAttribute(StateNode node, String attribute)
boolean
BasicElementStateProvider. hasAttribute(StateNode node, String attribute)
boolean
ShadowRootStateProvider. hasAttribute(StateNode node, String attribute)
boolean
AbstractTextElementStateProvider. hasProperty(StateNode node, String name)
boolean
BasicElementStateProvider. hasProperty(StateNode node, String name)
boolean
ShadowRootStateProvider. hasProperty(StateNode node, String name)
void
AbstractNodeStateProvider. insertChild(StateNode node, int index, Element child)
void
AbstractTextElementStateProvider. insertChild(StateNode node, int index, Element child)
boolean
AbstractTextElementStateProvider. isTextNode(StateNode node)
boolean
BasicElementStateProvider. isTextNode(StateNode node)
boolean
ShadowRootStateProvider. isTextNode(StateNode node)
boolean
AbstractTextElementStateProvider. isVisible(StateNode node)
boolean
BasicElementStateProvider. isVisible(StateNode node)
boolean
ShadowRootStateProvider. isVisible(StateNode node)
void
AbstractNodeStateProvider. removeAllChildren(StateNode node)
void
AbstractTextElementStateProvider. removeAllChildren(StateNode node)
void
AbstractTextElementStateProvider. removeAttribute(StateNode node, String attribute)
void
BasicElementStateProvider. removeAttribute(StateNode node, String attribute)
void
ShadowRootStateProvider. removeAttribute(StateNode node, String attribute)
void
AbstractNodeStateProvider. removeChild(StateNode node, int index)
void
AbstractNodeStateProvider. removeChild(StateNode node, Element child)
void
AbstractTextElementStateProvider. removeChild(StateNode node, int index)
void
AbstractTextElementStateProvider. removeChild(StateNode node, Element child)
void
AbstractTextElementStateProvider. removeProperty(StateNode node, String name)
void
BasicElementStateProvider. removeProperty(StateNode node, String name)
void
ShadowRootStateProvider. removeProperty(StateNode node, String name)
void
AbstractTextElementStateProvider. setAttribute(StateNode node, String attribute, AbstractStreamResource resource)
void
AbstractTextElementStateProvider. setAttribute(StateNode node, String attribute, String value)
void
BasicElementStateProvider. setAttribute(StateNode node, String attribute, AbstractStreamResource receiver)
void
BasicElementStateProvider. setAttribute(StateNode node, String attribute, String value)
void
ShadowRootStateProvider. setAttribute(StateNode node, String attribute, AbstractStreamResource resource)
void
ShadowRootStateProvider. setAttribute(StateNode node, String attribute, String value)
void
AbstractTextElementStateProvider. setProperty(StateNode node, String name, Serializable value, boolean emitChange)
void
BasicElementStateProvider. setProperty(StateNode node, String name, Serializable value, boolean emitChange)
void
ShadowRootStateProvider. setProperty(StateNode node, String name, Serializable value, boolean emitChange)
void
BasicElementStateProvider. setTextContent(StateNode node, String textContent)
void
BasicTextElementStateProvider. setTextContent(StateNode node, String textContent)
void
ShadowRootStateProvider. setTextContent(StateNode node, String textContent)
void
AbstractTextElementStateProvider. setVisible(StateNode node, boolean visible)
void
BasicElementStateProvider. setVisible(StateNode node, boolean visible)
void
ShadowRootStateProvider. setVisible(StateNode node, boolean visible)
boolean
AbstractNodeStateProvider. supports(StateNode node)
boolean
BasicElementStateProvider. supports(StateNode node)
boolean
BasicTextElementStateProvider. supports(StateNode node)
void
AbstractTextElementStateProvider. visit(StateNode node, NodeVisitor visitor)
void
BasicElementStateProvider. visit(StateNode node, NodeVisitor visitor)
void
ShadowRootStateProvider. visit(StateNode node, NodeVisitor visitor)
-
Uses of StateNode in com.vaadin.flow.internal
Methods in com.vaadin.flow.internal that return StateNode Modifier and Type Method 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()
Methods in com.vaadin.flow.internal that return types with arguments of type StateNode Modifier and Type Method Description Set<StateNode>
StateTree. collectDirtyNodes()
Gets all the nodes that have been marked.Methods in com.vaadin.flow.internal with parameters of type StateNode Modifier and Type Method 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
NodeOwner. hasNode(StateNode node)
Check if given node is registered to this node owner.boolean
NullOwner. hasNode(StateNode node)
boolean
StateTree. hasNode(StateNode node)
void
NodeOwner. markAsDirty(StateNode node)
Marks a node owned by this instance as dirty.void
NullOwner. markAsDirty(StateNode node)
void
StateTree. markAsDirty(StateNode node)
int
NodeOwner. register(StateNode node)
Registers a node with this node owner.int
NullOwner. register(StateNode node)
int
StateTree. register(StateNode node)
void
StateNode. setParent(StateNode parent)
Sets the parent node that this node belongs to.void
NodeOwner. unregister(StateNode node)
Unregisters a node from this owner.void
NullOwner. unregister(StateNode node)
void
StateTree. unregister(StateNode node)
Method parameters in com.vaadin.flow.internal with type arguments of type StateNode Modifier and Type Method Description void
StateNode. forEachChild(Consumer<StateNode> action)
Executes the given action for each child node of this state node.void
StateNode. visitNodeTree(Consumer<StateNode> visitor)
Applies thevisitor
to this node and all its descendants.Constructors in com.vaadin.flow.internal with parameters of type StateNode Constructor Description StateNode(StateNode node)
Create a new instance using the same features as providednode
declares. -
Uses of StateNode in com.vaadin.flow.internal.change
Methods in com.vaadin.flow.internal.change that return StateNode Modifier and Type Method Description StateNode
NodeChange. getNode()
Gets the changed node.Constructors in com.vaadin.flow.internal.change with parameters of type StateNode Constructor 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. -
Uses of StateNode in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature that return StateNode Modifier and Type Method Description StateNode
ElementChildrenList. get(int index)
StateNode
ModelList. get(int index)
StateNode
VirtualChildrenList. 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
ElementChildrenList. remove(int index)
StateNode
ModelList. remove(int index)
protected StateNode
StateNodeNodeList. remove(int index)
StateNode
VirtualChildrenList. remove(int index)
Methods in com.vaadin.flow.internal.nodefeature that return types with arguments of type StateNode Modifier and Type Method Description Iterator<StateNode>
VirtualChildrenList. iterator()
Methods in com.vaadin.flow.internal.nodefeature with parameters of type StateNode Modifier and Type Method Description void
ElementChildrenList. add(int index, StateNode node)
void
ModelList. add(int index, StateNode item)
void
ModelList. add(StateNode item)
protected void
StateNodeNodeList. add(int index, StateNode item)
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
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)
Returnstrue
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 registerednode
.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 parentNode
of the registerednode
.Element
AttachExistingElementFeature. getPreviousSibling(StateNode node)
Gets previous sibling of the registerednode
.int
ElementChildrenList. indexOf(StateNode node)
int
ModelList. indexOf(StateNode item)
int
VirtualChildrenList. indexOf(StateNode node)
void
AttachExistingElementFeature. register(Node<?> parent, Element previousSibling, StateNode child, ChildElementConsumer callback)
Registers the data for thechild
node requested as being attached to an existing element.void
ShadowRootData. setShadowRoot(StateNode node)
void
AttachExistingElementFeature. unregister(StateNode node)
Unregister thenode
and clean up all associated data.Method parameters in com.vaadin.flow.internal.nodefeature with type arguments of type StateNode Modifier and Type Method Description void
ModelList. addAll(Collection<? extends StateNode> items)
protected void
StateNodeNodeList. addAll(Collection<? extends StateNode> items)
void
AttachExistingElementFeature. forEachChild(Consumer<StateNode> action)
abstract void
NodeFeature. forEachChild(Consumer<StateNode> action)
Passes each child node instance to the given consumer.void
NodeList. forEachChild(Consumer<StateNode> action)
void
NodeMap. forEachChild(Consumer<StateNode> action)
void
NodeValue. forEachChild(Consumer<StateNode> action)
void
ServerSideFeature. forEachChild(Consumer<StateNode> action)
void
StateNodeNodeList. forEachChild(Consumer<StateNode> action)
Constructors in com.vaadin.flow.internal.nodefeature with parameters of type StateNode Constructor 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.InertData(StateNode node)
Creates a new feature 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)
Deprecated.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 givennode
.StateNodeNodeList(StateNode node)
Creates a new 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. -
Uses of StateNode in com.vaadin.flow.server
Methods in com.vaadin.flow.server that return StateNode Modifier and Type Method Description StateNode
StreamReceiver. getNode()
Get the node that this stream receiver is linked to.Constructors in com.vaadin.flow.server with parameters of type StateNode Constructor Description StreamReceiver(StateNode node, String resourceName, StreamVariable streamVariable)
CreatesStreamReceiver
instance forstreamVariable
as a data receiver. -
Uses of StateNode in com.vaadin.flow.server.communication
Methods in com.vaadin.flow.server.communication with parameters of type StateNode Modifier and Type Method 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 boolean
StreamReceiverHandler. handleFileUploadValidationAndData(VaadinSession session, InputStream inputStream, StreamReceiver streamReceiver, String filename, String mimeType, long contentLength, StateNode node)
Validate that stream target is in a valid state for receiving data and send stream to receiver.protected Optional<Runnable>
ReturnChannelHandler. handleNode(StateNode node, elemental.json.JsonObject invocationJson)
-
Uses of StateNode in com.vaadin.flow.server.communication.rpc
Methods in com.vaadin.flow.server.communication.rpc with parameters of type StateNode Modifier and Type Method Description protected abstract Optional<Runnable>
AbstractRpcInvocationHandler. handleNode(StateNode node, elemental.json.JsonObject invocationJson)
Handle the RPC datainvocationJson
using targetnode
as a context.protected Optional<Runnable>
AttachExistingElementRpcHandler. handleNode(StateNode node, elemental.json.JsonObject invocationJson)
protected Optional<Runnable>
AttachTemplateChildRpcHandler. handleNode(StateNode node, elemental.json.JsonObject invocationJson)
Optional<Runnable>
EventRpcHandler. handleNode(StateNode node, elemental.json.JsonObject invocationJson)
protected Optional<Runnable>
MapSyncRpcHandler. handleNode(StateNode node, elemental.json.JsonObject invocationJson)
Optional<Runnable>
PublishedServerEventHandlerRpcHandler. handleNode(StateNode node, elemental.json.JsonObject invocationJson)
-
Uses of StateNode in com.vaadin.flow.templatemodel
Methods in com.vaadin.flow.templatemodel that return StateNode Modifier and Type Method Description StateNode
TemplateModelProxyHandler.ModelProxy. $stateNode()
Gets the state node that this instance is backed by.StateNode
BasicComplexModelType. applicationToModel(Object applicationValue, PropertyFilter filter)
Deprecated.StateNode
BeanModelType. applicationToModel(Object applicationValue, PropertyFilter filter)
Deprecated.StateNode
ComplexModelType. applicationToModel(Object applicationValue, PropertyFilter filter)
Deprecated.StateNode
ListModelType. applicationToModel(Object applicationValue, PropertyFilter filter)
Deprecated.static StateNode
TemplateModelProxyHandler. getStateNodeForProxy(Object proxy)
Deprecated.Gets the state node that a proxy is bound to.Methods in com.vaadin.flow.templatemodel with parameters of type StateNode Modifier and Type Method Description void
TemplateModelProxyHandler.ModelProxy. $stateNode(StateNode node)
Sets the state node that this instance is backed by.void
AbstractBasicModelType. createInitialValue(StateNode node, String property)
Deprecated.void
BeanModelType. createInitialValue(StateNode node, String property)
Deprecated.void
ConvertedModelType. createInitialValue(StateNode node, String property)
Deprecated.void
ListModelType. createInitialValue(StateNode node, String property)
Deprecated.void
ModelType. createInitialValue(StateNode node, String property)
Deprecated.Create initial value for the givenproperty
and set it for thenode
.void
BeanModelType. createInitialValues(StateNode node)
Deprecated.Creates initial values for the givennode
using info from this model type.static <T> T
TemplateModelProxyHandler. createModelProxy(StateNode stateNode, BeanModelType<T> modelType)
Deprecated.Creates a proxy object for the givenmodelType
type for the given state node.Constructors in com.vaadin.flow.templatemodel with parameters of type StateNode Constructor Description TemplateModelListProxy(StateNode stateNode, ComplexModelType<T> itemType)
Deprecated.Creates a new proxy for the given node and item type.
-