com.ibm.as400.util.html
Class HTMLListItem

java.lang.Object
  |
  +--com.ibm.as400.util.html.HTMLTagAttributes
        |
        +--com.ibm.as400.util.html.HTMLListItem
All Implemented Interfaces:
HTMLTagElement, java.io.Serializable
Direct Known Subclasses:
OrderedListItem, UnorderedListItem

public abstract class HTMLListItem
extends HTMLTagAttributes
implements java.io.Serializable

The HTMLListItem class represents items within a HTMLList. The items within the list can either be ordered or unordered.

HTMLListItem objects generate the following events:

See Also:
Serialized Form

Constructor Summary
HTMLListItem()
           
 
Method Summary
 java.lang.String getDirection()
          Returns the direction of the text interpretation.
 HTMLTagElement getItemData()
          Returns the data in the HTMLListItem.
 java.lang.String getLanguage()
          Returns the language of the input element.
 java.lang.String getTag()
          Returns the tag for the HTML list item.
 void setDirection(java.lang.String dir)
          Sets the direction of the text interpretation.
 void setItemData(HTMLTagElement data)
          Sets the item data in the HTMLListItem.
 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
 

Constructor Detail

HTMLListItem

public HTMLListItem()
Method Detail

getDirection

public java.lang.String getDirection()
Returns the direction of the text interpretation.
Returns:
The direction of the text.

getItemData

public HTMLTagElement getItemData()
Returns the data in the HTMLListItem.
Returns:
The item data.

getLanguage

public java.lang.String getLanguage()
Returns the language of the input element.
Returns:
The language of the input element.

getTag

public java.lang.String getTag()
Returns the tag for the HTML list item.
Returns:
The tag.

setDirection

public void setDirection(java.lang.String dir)
Sets the direction of the text interpretation.
Parameters:
dir - The direction. One of the following constants defined in HTMLConstants: LTR or RTL.
See Also:
HTMLConstants

setItemData

public void setItemData(HTMLTagElement data)
Sets the item data in the HTMLListItem.
Parameters:
data - The item data.

setLanguage

public void setLanguage(java.lang.String lang)
Sets the language of the input tag.
Parameters:
lang - The language. Example language tags include: en and en-US.

toString

public java.lang.String toString()
Returns a String representation for the HTMLList tag.
Overrides:
toString in class java.lang.Object
Returns:
The tag.