|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.commons.table.spansupport.TEITableCellSpanProvider
public class TEITableCellSpanProvider
Provides cell spanning information about TEI tables.
Constructor Summary | |
---|---|
TEITableCellSpanProvider()
|
Method Summary | |
---|---|
Integer |
getColSpan(AuthorElement cellElement)
Compute the number of columns the cell spans across by looking at the 'cols' attribute. |
String |
getDescription()
|
Integer |
getRowSpan(AuthorElement cellElement)
Compute the number of rows the cell spans across by looking at the 'rows' attribute. |
boolean |
hasColumnSpecifications(AuthorElement tableElement)
This method tells if the table contains column specifications. |
void |
init(AuthorElement tableElement)
Nothing to do. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TEITableCellSpanProvider()
Method Detail |
---|
public Integer getColSpan(AuthorElement cellElement)
getColSpan
in interface AuthorTableCellSpanProvider
cellElement
- The node that represents a table cell in CSS.
null
if not specified.AuthorTableCellSpanProvider.getColSpan(AuthorElement)
public Integer getRowSpan(AuthorElement cellElement)
getRowSpan
in interface AuthorTableCellSpanProvider
cellElement
- The AuthorElement
that represents a table cell in CSS.
null
if not specified.AuthorTableCellSpanProvider.getRowSpan(AuthorElement)
public void init(AuthorElement tableElement)
init
in interface AuthorTableCellSpanProvider
tableElement
- The AuthorElement
representing a table (it has the CSS display property
set on 'table').AuthorTableCellSpanProvider.init(AuthorElement)
public String getDescription()
getDescription
in interface Extension
Extension.getDescription()
public boolean hasColumnSpecifications(AuthorElement tableElement)
AuthorTableCellSpanProvider
colspec
elements to be present.
hasColumnSpecifications
in interface AuthorTableCellSpanProvider
tableElement
- The AuthorElement
that is rendered as a table.
true
if some column specification info is present or if the table doesn't
require any column specification info.AuthorTableCellSpanProvider.hasColumnSpecifications(ro.sync.ecss.extensions.api.node.AuthorElement)
|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |