Package ro.sync.ecss.extensions.dita
Class DITAAuthorImageDecorator
java.lang.Object
ro.sync.ecss.extensions.api.AuthorImageDecorator
ro.sync.ecss.extensions.commons.imagemap.AuthorImageMapDecorator
ro.sync.ecss.extensions.dita.DITAAuthorImageDecorator
- All Implemented Interfaces:
Extension
@API(type=EXTENDABLE,
src=PUBLIC)
public class DITAAuthorImageDecorator
extends AuthorImageMapDecorator
Handles a DITA vocabulary image map. It renders the areas from the map over the image.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isNodeOfInterest
(AuthorNode node, SupportedFrameworks framework) Check if the node to be painted is part of an image map.Methods inherited from class ro.sync.ecss.extensions.commons.imagemap.AuthorImageMapDecorator
paint
Methods inherited from class ro.sync.ecss.extensions.api.AuthorImageDecorator
getDescription
-
Constructor Details
-
DITAAuthorImageDecorator
public DITAAuthorImageDecorator()DITA author image map decorator.
-
-
Method Details
-
isNodeOfInterest
Description copied from class:AuthorImageMapDecorator
Check if the node to be painted is part of an image map.- Specified by:
isNodeOfInterest
in classAuthorImageMapDecorator
- Parameters:
node
- The current node.framework
- The current framework.- Returns:
true
if the node is part of an image map and we shall paint something over the image.- See Also:
-