|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pajes.html.Tag
org.pajes.html.TraversableElement
org.pajes.html.SingleElementContainer
org.pajes.html.ListItem
public class ListItem
Creates a List Item that appears in an Ordered or Unordered List
| Field Summary |
|---|
| Fields inherited from class org.pajes.html.Tag |
|---|
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
|---|---|
ListItem()
Creates an empty list item. |
|
ListItem(HTML listItem)
Creates a list item. |
|
ListItem(java.lang.String listItem)
Creates a list item. |
|
| Method Summary | |
|---|---|
HTML |
getListItem()
Returns the list item content. |
protected void |
init()
Called by the constructor and the Tag.destroy() method to correctly
clear and initialise internal variables. |
ListItem |
setListItem(HTML listItem)
Sets the item to appear in the list. |
| Methods inherited from class org.pajes.html.SingleElementContainer |
|---|
add, delete, get, set, size, writeContent |
| Methods inherited from class org.pajes.html.TraversableElement |
|---|
dump, dump, getAll, getFieldByName, getFirstFieldByName, getFirstTagByAttribute, getFirstTagByClass, getFirstTagByID, getFirstTagByName, getTagByAttribute, getTagByClass, getTagByID, getTagByName, setWritable |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.pajes.html.Traversable |
|---|
isWritable |
| Methods inherited from interface org.pajes.html.HTML |
|---|
addContent, clone, destroy, getContainer, getDocument, getId, getParent, getWritePermission, isChildOf, isChildOf, setContainer, setContent, setParent, setWritePermission, write |
| Constructor Detail |
|---|
public ListItem()
public ListItem(HTML listItem)
listItem - HTML item to appear in the list.public ListItem(java.lang.String listItem)
listItem - string of text to appear in the list.| Method Detail |
|---|
public HTML getListItem()
public ListItem setListItem(HTML listItem)
listItem - HTML item to appear in the list.
java.lang.NullPointerException - if a null item is specified.protected void init()
Tag.destroy() method to correctly
clear and initialise internal variables.
Sub-classes must call super.init() before doing
anything else to ensure the Tag is initialised correctly.
init in class Tag
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||