Interface MutableViewElement.Functions
- Enclosing interface:
- MutableViewElement
public static interface MutableViewElement.Functions
Common
ViewElement.Wither
functions for the default MutableViewElement
properties.-
Method Summary
Modifier and TypeMethodDescriptionstatic ViewElement.WitherSetter
customTemplate
(String template) Set internalViewElement.getCustomTemplate()
()} property.static ViewElement.WitherSetter
elementName
(String name) Set internalViewElement.getName()
property.static ViewElement.WitherSetter
elementType
(String elementType) Set internalViewElement.getElementType()
property.static ViewElement.WitherSetter
remove
(ViewElement.WitherRemover... removers) Converts a number of removers into a single setter.static ViewElement.WitherSetter
wither
(ViewElement.WitherSetter... setters) Combines a number of wither setters into a single one.static <U extends ViewElement>
ViewElement.WitherSetter<U>witherFor
(Class<U> elementType, ViewElement.WitherSetter<U> setter) Short-hand for creating an anonymous typed wither setter, can be used to inline create setters.
-
Method Details
-
wither
Combines a number of wither setters into a single one. -
witherFor
static <U extends ViewElement> ViewElement.WitherSetter<U> witherFor(Class<U> elementType, ViewElement.WitherSetter<U> setter) Short-hand for creating an anonymous typed wither setter, can be used to inline create setters. -
remove
Converts a number of removers into a single setter. -
elementName
Set internalViewElement.getName()
property. -
customTemplate
Set internalViewElement.getCustomTemplate()
()} property. -
elementType
Set internalViewElement.getElementType()
property.
-