Package | Description |
---|---|
com.vaadin.flow.dom.impl | |
com.vaadin.flow.internal | |
com.vaadin.flow.internal.change | |
com.vaadin.flow.internal.nodefeature |
Modifier and Type | Method and Description |
---|---|
static Collection<Class<? extends NodeFeature>> |
BasicElementStateProvider.getFeatures()
Gets all the features used by an element node.
|
Modifier and Type | Method and Description |
---|---|
<T extends NodeFeature> |
StateNode.getFeature(Class<T> featureType)
Gets the feature of the given type, creating one if necessary.
|
<T extends NodeFeature> |
StateNode.getFeatureIfInitialized(Class<T> featureType)
Gets the feature of the given type if it has been initialized.
|
Modifier and Type | Method and Description |
---|---|
<T extends Serializable> |
StateNode.getChangeTracker(NodeFeature feature,
Supplier<T> factory)
Gets or creates a change tracker object for the provided feature.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StateNode.hasFeature(Class<? extends NodeFeature> featureType)
Checks whether this node contains a feature.
|
boolean |
StateNode.isReportedFeature(Class<? extends NodeFeature> featureType)
Returns whether the
featureType should be reported to the client
even if it doesn't contain any data. |
Constructor and Description |
---|
StateNode(List<Class<? extends NodeFeature>> reportableFeatureTypes,
Class<? extends NodeFeature>... additionalFeatureTypes)
Creates a state node with the given feature types and required features
that are always sent to the client side.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends NodeFeature> |
NodeFeatureChange.getFeature()
Gets the feature affected by the change.
|
Constructor and Description |
---|
EmptyChange(NodeFeature feature)
Creates a new empty change.
|
MapPutChange(NodeFeature map,
String key,
Object value)
Creates a new put change.
|
NodeFeatureChange(NodeFeature feature)
Creates a new change for the given feature.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPropertyMap
Abstract class to be used as a parent for node maps which supports setting
properties in a map.
|
class |
AbstractServerHandlers<T>
Abstract class for collecting Methods which are published as
serverObject.<name> on the client side. |
class |
AttachExistingElementFeature
Temporary storage of data required to handle existing element attachment
callback from the client side.
|
class |
BasicTypeValue
The feature contains a value of the basic type.
|
class |
ClientCallableHandlers
Methods which are published as
element.$server.<name> on
the client side. |
class |
ComponentMapping
A server side only node feature for mapping a node to a component.
|
class |
ElementAttributeMap
Map for element attribute values.
|
class |
ElementChildrenList
List of nodes describing the child elements of an element.
|
class |
ElementClassList
Handles CSS class names for an element.
|
class |
ElementData
Map of basic element information.
|
class |
ElementListenerMap
Map of DOM events with server-side listeners.
|
class |
ElementPropertyMap
Map for element property values.
|
class |
ElementStylePropertyMap
Map for element style values.
|
class |
LoadingIndicatorConfigurationMap
Map for storing configuration for the loading indicator.
|
class |
ModelList
List for model values used in data binding in templates.
|
class |
NodeList<T extends Serializable>
A state node feature that structures data as a list.
|
class |
NodeMap
A state node feature that structures data as a map.
|
class |
NodeValue<T extends Serializable>
A node feature that carries a single value.
|
class |
PollConfigurationMap
A node map for storing configuration for polling.
|
class |
PolymerEventListenerMap
Map of PolymerTemplate events with server-side listeners.
|
class |
PolymerServerEventHandlers
Deprecated.
Polymer template support is deprecated - we recommend you to use
LitTemplate instead. Read more details from the
Vaadin blog. |
class |
PushConfigurationMap
Map for storing the push configuration for a UI.
|
static class |
PushConfigurationMap.PushConfigurationParametersMap
Map for storing push parameters.
|
class |
ReconnectDialogConfigurationMap
Map for storing the reconnect dialog configuration for a UI.
|
class |
ReturnChannelMap
Server-side node feature that keeps track of the return channels registered
for a state node.
|
class |
SerializableNodeList<T extends Serializable>
A list which contains
Serializable values but not StateNode s. |
class |
ServerSideFeature
Abstract node feature that is only present on the server.
|
class |
ShadowRootData
Map of basic element information.
|
class |
ShadowRootHost
Marker feature for a
StateNode which is a shadow root for some
element. |
class |
StateNodeNodeList
A list which contains
StateNode s. |
class |
TextNodeMap
Map holding the data of a text node.
|
class |
VirtualChildrenList
List of nodes describing the virtually connected child elements of an
element.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<Class<? extends NodeFeature>> |
NodeFeatureRegistry.PRIORITY_COMPARATOR
Comparator for finding the priority order between node feature types.
|
Modifier and Type | Method and Description |
---|---|
static NodeFeature |
NodeFeatureRegistry.create(Class<? extends NodeFeature> nodeFeatureType,
StateNode node)
Creates a feature of the given type for a node.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends NodeFeature> |
NodeFeatureRegistry.getFeature(int featureId)
Finds the node feature type corresponding to the give node feature id.
|
static Collection<Class<? extends NodeFeature>> |
NodeFeatureRegistry.getFeatures()
Gets all registered feature types.
|
Modifier and Type | Method and Description |
---|---|
static NodeFeature |
NodeFeatureRegistry.create(Class<? extends NodeFeature> nodeFeatureType,
StateNode node)
Creates a feature of the given type for a node.
|
static int |
NodeFeatureRegistry.getId(Class<? extends NodeFeature> nodeFeature)
Gets the id of a node feature.
|
Copyright © 2022. All rights reserved.