Class XHTMLUpdateImageMapOperation.XHTMLNewShapeDescriptor
- java.lang.Object
-
- ro.sync.ecss.extensions.xhtml.imagemap.XHTMLUpdateImageMapOperation.XHTMLNewShapeDescriptor
-
- All Implemented Interfaces:
NewShapeDescriptor
- Enclosing class:
- XHTMLUpdateImageMapOperation
public static class XHTMLUpdateImageMapOperation.XHTMLNewShapeDescriptor extends java.lang.Object implements NewShapeDescriptor
Descriptor of a shape that was added client-side.
-
-
Constructor Summary
Constructors Constructor Description XHTMLNewShapeDescriptor(NewWebappAreaView areaView)
Descriptor of a shape that was added client-side.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Integer>
getOriginalLayer()
void
mergeIntoOriginalShape(AuthorDocumentController controller, AuthorElement shapeElement)
Merge this new shape into the exiting one.java.util.Optional<java.lang.String>
serializeToXml()
-
-
-
Constructor Detail
-
XHTMLNewShapeDescriptor
public XHTMLNewShapeDescriptor(NewWebappAreaView areaView)
Descriptor of a shape that was added client-side.- Parameters:
areaView
- The new webapp area view.
-
-
Method Detail
-
serializeToXml
public java.util.Optional<java.lang.String> serializeToXml()
- Specified by:
serializeToXml
in interfaceNewShapeDescriptor
- Returns:
- The XML serialization of the new shape in DITA.
- See Also:
NewShapeDescriptor.serializeToXml()
-
mergeIntoOriginalShape
public void mergeIntoOriginalShape(AuthorDocumentController controller, AuthorElement shapeElement) throws javax.swing.text.BadLocationException
Description copied from interface:NewShapeDescriptor
Merge this new shape into the exiting one.- Specified by:
mergeIntoOriginalShape
in interfaceNewShapeDescriptor
- Parameters:
controller
- The document controller.shapeElement
- The existing shape element.- Throws:
javax.swing.text.BadLocationException
- See Also:
NewShapeDescriptor.mergeIntoOriginalShape(ro.sync.ecss.extensions.api.AuthorDocumentController, ro.sync.ecss.extensions.api.node.AuthorElement)
-
getOriginalLayer
public java.util.Optional<java.lang.Integer> getOriginalLayer()
- Specified by:
getOriginalLayer
in interfaceNewShapeDescriptor
- Returns:
- Returns the originalLayer.
- See Also:
NewShapeDescriptor.getOriginalLayer()
-
-