Package ro.sync.ecss.extensions.api
Interface AuthorAttributesController
- All Known Subinterfaces:
AuthorDocumentController
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface AuthorAttributesController
Helper used to set attributes
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAttribute
(String attributeName, AttrValue value, AuthorElement element) Sets the value of an attribute in the specified element.
-
Method Details
-
setAttribute
Sets the value of an attribute in the specified element. Attributes set in this manner (as opposed to callingAuthorElement.setAttribute(String, AttrValue)
directly) will be subject to undo/redo.- Parameters:
attributeName
- Name of the attribute being changed.value
- NewAttrValue
for the attribute. Ifnull
, the attribute is removed from the element.element
- TheAuthorElement
whose attribute is changing.
-