| Modifier and Type | Field and Description |
|---|---|
static String |
TEXT_DATA
Represents text key which should be set to an
Element via
Element.setText(String). |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInjectableElementInitializer(Element element)
Creates an initializer for the
element. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Map<String,String> templateAttributes) |
protected Element |
getElement()
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).
|
public static final String TEXT_DATA
Element via
Element.setText(String).
The real attribute may not contain "=" sign in the name so it's
safe to use this special key for text value in a map.
protected AbstractInjectableElementInitializer(Element element)
element.element - element to initializeprotected abstract boolean isStaticAttribute(String name, String value)
name - the template attribute namevalue - the template attribute valueprotected Element getElement()
Copyright © 2000–2023 Vaadin Ltd. All rights reserved.