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, setElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStyle
countElements, getElement, getFirstElement, getLastElement, hasElements, isEmpty
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public final void setBorderType(short borderType)
borderType
- the block border typeBorderType
public short getBorderType()
getBorderType
in interface org.docgene.model.BorderedElement
BorderType
public boolean hasShadow()
hasShadow
in interface org.docgene.model.BorderedElement
public void setCustomStyles(java.util.Set<java.lang.String> classes)
setCustomStyles
in interface StyledElement
classes
- the custom element classespublic java.util.Set<java.lang.String> getCustomStyles()
getCustomStyles
in interface StyledElement
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence