public class DefaultValueAttributeWitherFunction<T>
extends com.foreach.across.modules.web.ui.elements.support.AttributeWitherFunction<T>
implements com.foreach.across.modules.web.ui.ViewElement.WitherSetter<com.foreach.across.modules.web.ui.elements.HtmlViewElement>
AttributeWitherFunction which sets a default attribute value.
The Predicate implementation still only checks for the presence of the attribute.| Constructor and Description |
|---|
DefaultValueAttributeWitherFunction(String attributeKey,
T defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(com.foreach.across.modules.web.ui.elements.HtmlViewElement target) |
getValueFrom, removeFrom, test, withValueCopyright © 2020. All rights reserved.