|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.util.html.HTMLTagAttributes | +--com.ibm.as400.util.html.HTMLList
The HTMLList class represents a list. The list can either be an ordered list <ol> or an unordered list <ul>.
HTMLList objects generate the following events:
Constructor Summary | |
HTMLList()
Constructs a default HTMLList object. |
|
HTMLList(java.util.Vector itemList)
Constructs an HTMLList object with the specified itemList. |
Method Summary | |
void |
addList(HTMLList list)
Adds an HTML list to the HTMLList. |
void |
addListItem(HTMLListItem item)
Adds an HTMLListItem item to the HTMLList. |
void |
addListItemElementListener(ElementListener listener)
Adds an ElementListener. |
java.lang.String |
getDirection()
Returns the direction of the text interpretation. |
int |
getItemCount()
Returns the number of items in the HTMLList. |
java.util.Vector |
getItems()
Returns the list of items. |
java.lang.String |
getLanguage()
Returns the language of the input element. |
boolean |
isCompact()
Indicates if the list is initialized to compact. |
void |
removeList(HTMLList list)
Removes an HTML list from the HTMLList. |
void |
removeListItem(HTMLListItem item)
Removes an HTMLListItem item from the HTMLList. |
void |
removeListItemElementListener(ElementListener listener)
Removes this ElementListener. |
void |
setCompact(boolean compact)
Sets whether the list is initialized to being compact. |
void |
setDirection(java.lang.String dir)
Sets the direction of the text interpretation. |
void |
setItems(java.util.Vector itemList)
Sets the items in the HTMLList. |
void |
setLanguage(java.lang.String lang)
Sets the language of the input tag. |
java.lang.String |
toString()
Returns a String representation for the HTMLList tag. |
Methods inherited from class com.ibm.as400.util.html.HTMLTagAttributes |
addPropertyChangeListener, getAttributes, getAttributeString, removePropertyChangeListener, setAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.as400.util.html.HTMLTagElement |
getTag |
Constructor Detail |
public HTMLList()
public HTMLList(java.util.Vector itemList)
itemList
- The items in the HTMLList.Method Detail |
public void addListItem(HTMLListItem item)
item
- The HTMLTagElement.public void addList(HTMLList list)
item
- The HTMLList.public void addListItemElementListener(ElementListener listener)
listener
- The ElementListener.public java.lang.String getDirection()
public int getItemCount()
public java.util.Vector getItems()
public java.lang.String getLanguage()
public boolean isCompact()
public void removeListItem(HTMLListItem item)
item
- The HTMLTagElement.public void removeList(HTMLList list)
list
- The HTMLList.public void removeListItemElementListener(ElementListener listener)
listener
- The ElementListener.public void setCompact(boolean compact)
compact
- true if initialized to compact; false otherwise. The default is false.public void setDirection(java.lang.String dir)
dir
- The direction. One of the following constants
defined in HTMLConstants: LTR or RTL.HTMLConstants
public void setItems(java.util.Vector itemList)
itemList
- The list of items.public void setLanguage(java.lang.String lang)
lang
- The language. Example language tags include:
en and en-US.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |