public abstract class StyleAttributeModifier extends AttributeAppender
AttributeModifier.ValuelessAttributeAddModel, AttributeModifier.ValuelessAttributeRemoveModelVALUELESS_ATTRIBUTE_ADD, VALUELESS_ATTRIBUTE_REMOVE| Constructor and Description |
|---|
StyleAttributeModifier()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
newValue(String currentValue,
String appendValue)
Gets the value that should replace the current attribute value.
|
protected abstract Map<String,String> |
update(Map<String,String> oldStyles)
Callback to update the CSS class values for a tag.
|
getSeparator, setSeparator, toStringappend, append, detach, getAttribute, getReplaceModel, onComponentTag, prepend, prepend, remove, replace, replace, replaceAttributeValueafterRender, beforeRender, bind, canCallListenerInterface, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove, renderHead, unbindprotected String newValue(String currentValue, String appendValue)
AttributeModifiernewValue in class AttributeAppendercurrentValue - The current attribute value. This value might be null!appendValue - The replacement value. This value might be null!Copyright © 2006–2021 Apache Software Foundation. All rights reserved.