public class XMLTableHeader
extends org.docgene.model.AbstractStyledElement
TYPE_NONE
Constructor and Description |
---|
XMLTableHeader(XMLTable table)
The table.
|
Modifier and Type | Method and Description |
---|---|
void |
addColumn(XMLTableColumn column)
Add a column to the header.
|
java.util.List<XMLTableColumn> |
getColumns()
Return the columns in the header.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
boolean |
isSortable()
Return true if the table parent is sortable.
|
boolean |
isVertical()
Return true if the table header is vertical.
|
void |
resolveWidth()
Resolve the width of the table columns.
|
void |
setVertical(boolean isVertical)
Set if the table header is horizontal or vertical.
|
getCustomStyles, getInlinedStyle, setCustomStyles, setInlinedStyle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStyle, hasInlinedStyle, setCustomStyles
public XMLTableHeader(XMLTable table)
table
- the tablepublic boolean isSortable()
public java.lang.String getDeclaration()
public void addColumn(XMLTableColumn column)
column
- the columnpublic java.util.List<XMLTableColumn> getColumns()
public boolean isVertical()
public void setVertical(boolean isVertical)
isVertical
- true if the table header is verticalpublic void resolveWidth()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence