Package ro.sync.ecss.extensions.xhtml
Class XHTMLAuthorImageDecorator
- java.lang.Object
-
- ro.sync.ecss.extensions.api.AuthorImageDecorator
-
- ro.sync.ecss.extensions.commons.imagemap.AuthorImageMapDecorator
-
- ro.sync.ecss.extensions.xhtml.XHTMLAuthorImageDecorator
-
- All Implemented Interfaces:
Extension
@API(type=INTERNAL, src=PUBLIC) public class XHTMLAuthorImageDecorator extends AuthorImageMapDecorator
Handles an HTML vocabulary image map. It renders the areas from the map over the image.
-
-
Constructor Summary
Constructors Constructor Description XHTMLAuthorImageDecorator()
XHTML - AuthorImageMapDecorator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Method Detail
-
isNodeOfInterest
protected boolean isNodeOfInterest(AuthorNode node, SupportedFrameworks framework)
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:
AuthorImageMapDecorator.isNodeOfInterest(ro.sync.ecss.extensions.api.node.AuthorNode, ro.sync.ecss.imagemap.SupportedFrameworks)
-
-