Interface MutableViewElement
- All Superinterfaces:
ViewElement
- All Known Subinterfaces:
HtmlViewElement
- All Known Implementing Classes:
AbstractNodeViewElement
,AbstractTextNodeViewElement
,AbstractVoidNodeViewElement
,ContainerViewElement
,NodeViewElement
,TemplateViewElement
,TextViewElement
,ViewElementGenerator
,ViewElementSupport
,VoidNodeViewElement
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
CommonViewElement.Wither
functions for the defaultMutableViewElement
properties.Nested classes/interfaces inherited from interface com.foreach.across.modules.web.ui.ViewElement
ViewElement.Wither<T extends ViewElement>, ViewElement.WitherGetter<T extends ViewElement,
U>, ViewElement.WitherRemover<T extends ViewElement>, ViewElement.WitherSetter<T extends ViewElement> -
Method Summary
Modifier and TypeMethodDescriptiondefault MutableViewElement
remove
(ViewElement.WitherRemover... functions) Execute one or more remover functions.default MutableViewElement
set
(ViewElement.WitherSetter... setters) Execute one or more setter functions.setCustomTemplate
(String customTemplate) Methods inherited from interface com.foreach.across.modules.web.ui.ViewElement
get, getCustomTemplate, getElementType, getName, matches
-
Method Details
-
setName
-
setCustomTemplate
-
set
Description copied from interface:ViewElement
Execute one or more setter functions.- Specified by:
set
in interfaceViewElement
- Parameters:
setters
- to execute- Returns:
- self
-
remove
Description copied from interface:ViewElement
Execute one or more remover functions. A remover is defined as a separate interface so implementations can both implement setter and remover at the same time.- Specified by:
remove
in interfaceViewElement
- Parameters:
functions
- to execute- Returns:
- self
-