|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcox.jmatt.java.MathTools.markup.latex.LaBaseTag
cox.jmatt.java.MathTools.markup.latex.LaTable
public class LaTable
This class provides LaTeX table-generating ('tabular') capability. When instantiated it creates an empty table with a single center-aligned column. Any number of columns are available but the column alignment String must be set.
Field Summary |
---|
Fields inherited from class cox.jmatt.java.MathTools.markup.latex.LaBaseTag |
---|
BS, DBS, DBSN, myAuthor, myDate, myEndTag, myEnvironment, myEnvParams, myOptions, myPicHasOrigin, myPicX, myPicXOrigin, myPicY, myPicYOrigin, mySectionLabel, myTagName, myTitle |
Constructor Summary | |
---|---|
LaTable()
Basic constructor for an empty table. |
|
LaTable(java.lang.String pColAlign)
Deluxe constructor that allows column alignment to be set. |
Method Summary | |
---|---|
LaTable |
addLine()
Add a horizontal line ('/hline') to the table. |
LaTable |
addLine(int pLN,
int pRN)
Add a '/cline{}' tag to the table. |
LaTable |
addRow(java.lang.String... pRow)
Add a row to the table. |
LaTable |
copyOf()
Standard copy method. |
LaTable |
copyOfSET()
Copy method, end tag suppressed. |
void |
reset()
Overridden to reset local settings. |
LaTable |
setColAlign(java.lang.String pAlign)
Set the column alignment. |
Methods inherited from class cox.jmatt.java.MathTools.markup.latex.LaBaseTag |
---|
_addContent, _addRawContent, _getContent, _setEndTagEnabled, _setETEn, getEndTag, hasEndTag, isEndTagEnabled, setLabel, toString, toStringSET |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LaTable()
public LaTable(java.lang.String pColAlign)
pColAlign
- The column alignment specifier for this table.Method Detail |
---|
public LaTable setColAlign(java.lang.String pAlign)
public LaTable addRow(java.lang.String... pRow)
pRow
- The row of elements to add to the table.public LaTable addLine()
public LaTable addLine(int pLN, int pRN)
pLN
- The left-side number in the curly braces.pRN
- The right-side number.public void reset()
reset
in class LaBaseTag
public LaTable copyOf()
copyOf
in class LaBaseTag
public LaTable copyOfSET()
copyOfSET
in class LaBaseTag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |