public class XMLBlock extends AbstractParagraph implements BorderedElement, StyledElement
elementsTYPE_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, waithasBordergetInlinedStyle, 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 BorderedElementBorderTypepublic boolean hasShadow()
hasShadow in interface 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