public interface AttributeWriteStylesAdvanced extends AttributeReadStylesAdvanced, AttributeWriteStyles, AttributeWritePrimaryStyle
AttributeReadStylesAdvanced
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
Modifier and Type | Method and Description |
---|---|
boolean |
addStyle(String style)
This method adds the given
style to the styles . |
boolean |
removeStyle(String style)
This method removes the given
style from the styles . |
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
boolean addStyle(String style)
style
to the styles
.style
- is the style to add. If this style is already contained in the styles
,
this will have no effect.true
if the styles has actually been added, false
if it was already
present before.boolean removeStyle(String style)
style
from the styles
.style
- is the style to remove. If this style is NOT contained in the styles
,
this will have no effect.true
if the given style
has actually been removed, false
otherwise (if it was NOT present
).Copyright © 2001–2016 mmm-Team. All rights reserved.