Interface HtmlViewElement.Functions
- Enclosing interface:
- HtmlViewElement
public static interface HtmlViewElement.Functions
Nested interface which contains wither functions specific for HTML view elements.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeWitherFunction<Object>
Configure aaria-
attribute value.Configure anaria-
attribute value.static AttributeWitherFunction<Object>
Configure a custom attribute value.Configure a custom attribute value.children
(ViewElement... elements) Add children to a container element.static CssClassWitherFunction
Configure one or more CSS classes.static AttributeWitherFunction<Object>
Configure adata-
attribute value.Configure adata-
attribute value.static ViewElement.WitherSetter
Set internalHtmlViewElement.getHtmlId()
property.static ViewElement.WitherSetter
Set internalHtmlViewElement.getTagName()
property.
-
Method Details
-
tagName
Set internalHtmlViewElement.getTagName()
property. -
htmlId
Set internalHtmlViewElement.getHtmlId()
property. -
css
Configure one or more CSS classes. Can also be used for removal. -
data
static AttributeWitherFunction.AttributeValueWitherFunction<Object> data(String attributeName, Object attributeValue) Configure adata-
attribute value. -
data
Configure adata-
attribute value. Can be used for getting the attribute value, removing the attribute, or setting it usingAttributeWitherFunction.withValue(Object)
. -
aria
static AttributeWitherFunction.AttributeValueWitherFunction<Object> aria(String attributeName, Object attributeValue) Configure anaria-
attribute value. -
aria
Configure aaria-
attribute value. Can be used for getting the attribute value, removing the attribute, or setting it usingAttributeWitherFunction.withValue(Object)
. -
attribute
static AttributeWitherFunction.AttributeValueWitherFunction<Object> attribute(String attributeName, Object attributeValue) Configure a custom attribute value. -
attribute
Configure a custom attribute value. Can be used for getting the attribute value, removing the attribute, or setting it usingAttributeWitherFunction.withValue(Object)
. Can also be used to check for the presence of the attribute (asPredicate
). -
children
Add children to a container element.
-