Uses of Class
com.flowingcode.vaadin.addons.litetemplate.LiteComponent
-
Uses of LiteComponent in com.flowingcode.vaadin.addons.litetemplate
Methods in com.flowingcode.vaadin.addons.litetemplate that return LiteComponentModifier and TypeMethodDescriptionstatic <C extends Component>
LiteComponent<C>LiteComponent.of(C component) Returns an instance ofLiteComponentfor the given component.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withAttribute(String attribute, boolean value) Sets a boolean attribute on the component.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withAttribute(String attribute, ValueProvider<SOURCE, ?> valueProvider) Sets a dynamic attribute on the component.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withAttribute(String attribute, String value) Sets a string attribute on the component.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withElementProperty(String name, boolean value) Sets an element property to the given boolean value.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withElementProperty(String name, double value) Sets an element property to the given numeric value.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withElementProperty(String name, ValueProvider<SOURCE, ?> valueProvider) Sets a dynamic element property.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withElementProperty(String name, String value) Sets an element property to the given string value.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withElementPropertyBean(String name, Object value) Sets an element property to the given bean, converted to a JSON object.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withElementPropertyJson(String name, elemental.json.JsonValue value) Sets an element property to the given JSON value.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withElementPropertyList(String name, List<?> value) Sets an element property to the given list of beans or primitive values, converted to a JSON array.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withElementPropertyMap(String name, Map<String, ?> value) Sets an element property to the given map of beans or primitive values, converted to a JSON array.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withListener(String eventType, SerializableBiConsumer<SOURCE, elemental.json.JsonArray> handler, String... eventArguments) Registers an event listener for a DOM event on one of the child elements within the template component.<SOURCE> LiteComponent<COMPONENT>LiteComponent.withListener(String eventType, SerializableConsumer<SOURCE> handler) Registers an event listener for a DOM event on one of the child elements within the template component.