|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.biltmore.tools.odttoapt.maven.plugin.models.APT se.biltmore.tools.odttoapt.maven.plugin.models.APTParent se.biltmore.tools.odttoapt.maven.plugin.models.APTListItem
public class APTListItem
This represents a list item. See APTList for more information. It is this list item that is responsible for the list bullet handling, and also all formatting for the list item. It can take APTParagraph and APTList children. For APTParagraph it gets its values unformatted and does its own formatting since the requirements of a normal paragraph and one in a list item are different. APTList children are passed along as is since they should contain already formatted APTParagraph children and sub lists.
APTList
Field Summary | |
---|---|
private String |
bulletType
The list bullet type. |
private String |
bulletTypeSpace
Prefix for other than first line that matches the bullet type size. |
private String |
level
The list level. |
Constructor Summary | |
---|---|
APTListItem()
Creates a new APTListItem instance. |
Method Summary | |
---|---|
void |
addChild(APT apt)
Adds the specified APT object as a child to this APT object. |
protected String |
getBulletType()
Returns the bullet type. |
protected String |
getLevel()
Returns the level of this list. |
String |
getValue()
Returns the value. |
(package private) void |
setBulletType(String bulletType)
Sets the bullet type of the list. |
(package private) void |
setLevel(String level)
Sets the level of this list. |
Methods inherited from class se.biltmore.tools.odttoapt.maven.plugin.models.APTParent |
---|
getChildren, getLastChild, getUnformattedValue, hasChildren |
Methods inherited from class se.biltmore.tools.odttoapt.maven.plugin.models.APT |
---|
done, formatText, getParent, hasValue, isAllowFormat, isLink, setAllowFormat, setLink, setParent, setValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private String level
private String bulletType
private String bulletTypeSpace
Constructor Detail |
---|
public APTListItem()
Method Detail |
---|
void setLevel(String level)
level
- protected String getLevel()
void setBulletType(String bulletType)
bulletType
- The bullet type to set.protected String getBulletType()
public void addChild(APT apt)
addChild
in class APTParent
apt
- The APT object to add.public String getValue()
getValue
in class APT
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |