|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.as400.util.html.HTMLTagAttributes
com.ibm.as400.util.html.HTMLListItem
public abstract class HTMLListItem extends HTMLTagAttributes implements 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:
| Constructor and Description |
|---|
HTMLListItem()
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDirection()
Returns the direction of the text interpretation. |
String |
getFOTag()
Returns the tag for the XSL-FO list item. |
HTMLTagElement |
getItemData()
Returns the data in the HTMLListItem. |
String |
getLanguage()
Returns the language of the input element. |
String |
getTag()
Returns the tag for the HTML list item. |
boolean |
isUseFO()
Returns if Formatting Object tags are outputted. |
void |
setDirection(String dir)
Sets the direction of the text interpretation. |
void |
setItemData(HTMLTagElement data)
Sets the item data in the HTMLListItem. |
void |
setLanguage(String lang)
Sets the language of the input tag. |
void |
setUseFO(boolean useFO)
Sets if Formatting Object tags should be used. |
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 |
|---|
public HTMLListItem()
| Method Detail |
|---|
public String getDirection()
public HTMLTagElement getItemData()
public String getLanguage()
public String getTag()
getTag in interface HTMLTagElementpublic String getFOTag()
getFOTag in interface HTMLTagElementpublic boolean isUseFO()
public void setDirection(String dir)
dir - The direction. One of the following constants
defined in HTMLConstants: LTR or RTL.HTMLConstantspublic void setItemData(HTMLTagElement data)
data - The item data.public void setLanguage(String lang)
lang - The language. Example language tags include:
en and en-US.public void setUseFO(boolean useFO)
useFO - - true if output generated is an XSL formatting object, false if the output generated is HTML.public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||