public class XMLBlock extends org.docgene.model.AbstractParagraph implements org.docgene.model.BorderedElement, StyledElement
TYPE_NONE| Constructor and Description |
|---|
XMLBlock() |
| Modifier and Type | Method and Description |
|---|---|
short |
getBorderType()
Return the block border type.
|
java.util.Set<java.lang.String> |
getCustomStyles()
Return the element custom classes.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
boolean |
hasShadow()
Return true if the image has a shadowed border.
|
void |
setBorderType(short borderType)
Set if the block border type.
|
void |
setCustomStyles(java.util.Set<java.lang.String> classes)
Set the element custom classes.
|
addElement, getElements, removeLastElement, setElementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStylecountElements, getElement, getFirstElement, getLastElement, hasElements, isEmptypublic java.lang.String getDeclaration()
getDeclaration in interface StyledElementpublic final void setBorderType(short borderType)
borderType - the block border typeBorderTypepublic short getBorderType()
getBorderType in interface org.docgene.model.BorderedElementBorderTypepublic boolean hasShadow()
hasShadow in interface org.docgene.model.BorderedElementpublic void setCustomStyles(java.util.Set<java.lang.String> classes)
setCustomStyles in interface StyledElementclasses - the custom element classespublic java.util.Set<java.lang.String> getCustomStyles()
getCustomStyles in interface StyledElementCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence