|
|||||||||
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.LaListTag
public class LaListTag
This class provides LaTeX list blocks, both '{itemize}' and '{enumerate}'. By default an unordered list is created but the 'setEnumerate()' method changes between the two types as needed.
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 | |
---|---|
LaListTag()
All the necessary information is internal. |
Method Summary | |
---|---|
LaListTag |
addItem(java.lang.String pContent)
Convenience method for addItem(null, pContent) . |
LaListTag |
addItem(java.lang.String pBullet,
java.lang.String pContent)
Add an item to the list, full-power version. |
LaListTag |
addItems(java.lang.String pBullet,
java.lang.String[] pItems)
Add a String[] array of items to the list. |
LaListTag |
copyOf()
Return a copy of this tag at its CURRENT state. |
LaListTag |
copyOfSET()
Return a copy of this tag with end tag disabled. |
void |
reset()
Overridden to reset the list type to unordered as well as clear the content. |
LaListTag |
setEnumerate(boolean pEnumerate)
Switch between '{itemize}' and '{enumerate}' modes. |
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 LaListTag()
Method Detail |
---|
public LaListTag setEnumerate(boolean pEnumerate)
pEnumerate
- true for 'enumerate,' false for 'itemize.'public LaListTag addItem(java.lang.String pBullet, java.lang.String pContent)
pBullet
- The bullet symbol to use. If null or blank a standard '/item{}' tag is created.pContent
- The content of the item. NOTHING is done if this is null or blank.public LaListTag addItems(java.lang.String pBullet, java.lang.String[] pItems)
public void reset()
reset
in class LaBaseTag
public LaListTag addItem(java.lang.String pContent)
addItem(null, pContent)
.
public LaListTag copyOf()
copyOf
in class LaBaseTag
public LaListTag copyOfSET()
copyOfSET
in class LaBaseTag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |