com.vaadin.flow.component.template.internal.
Class AbstractInjectableElementInitializer
Direct Known Subclasses:
Generic initializer logic.
For internal use only. May be renamed or removed in a future release.
Since:
Author:
Vaadin Ltd
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Creates an initializer for the
element
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected Element
Returns server side element to initialize.
protected abstract boolean
isStaticAttribute
(String name, String value) Checks whether the attribute declaration is an attribute with a static value ( so it can be set on the serve side).
-
Constructor Details
-
AbstractInjectableElementInitializer
Creates an initializer for the
element
.Parameters:
element
- element to initialize
-
-
Method Details
-
accept
-
isStaticAttribute
Checks whether the attribute declaration is an attribute with a static value ( so it can be set on the serve side).
Parameters:
name
- the template attribute namevalue
- the template attribute valueReturns:
whether the attribute declaration is an attribute with a static value
-
getElement
Returns server side element to initialize.
Returns:
the server side element to initialize
-