com.ibm.as400.util.html
Class HTMLTagAttributes
java.lang.Object
|
+--com.ibm.as400.util.html.HTMLTagAttributes
- All Implemented Interfaces:
- HTMLTagElement, java.io.Serializable
- Direct Known Subclasses:
- BidiOrdering, FormInput, HTMLAlign, HTMLApplet, HTMLForm, HTMLHead, HTMLHeading, HTMLHyperlink, HTMLImage, HTMLList, HTMLListItem, HTMLMeta, HTMLParameter, HTMLServlet, HTMLTable, HTMLTableCaption, HTMLTableCell, HTMLTableRow, HTMLText, RadioFormInputGroup, SelectFormElement, SelectOption, TextAreaFormElement
- public abstract class HTMLTagAttributes
- extends java.lang.Object
- implements HTMLTagElement, java.io.Serializable
The HTMLTagAttributes class represents any additional HTML tag attributes
not implemented in the HTML classes.
HTMLTagAttributes objects generate the following events:
- See Also:
- Serialized Form
Method Summary |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener. |
java.util.Properties |
getAttributes()
Returns the attribute properties object. |
java.lang.String |
getAttributeString()
Returns the attribute string. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes the PropertyChangeListener from the internal list. |
void |
setAttributes(java.util.Properties attributes)
Set the additional HTML tag attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLTagAttributes
public HTMLTagAttributes()
- Constructs a default HTMLTagAttributes.
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Adds a PropertyChangeListener. The specified PropertyChangeListener's
propertyChange method will be called each time the value of any
bound property is changed.
- Parameters:
listener
- The PropertyChangeListener.- See Also:
removePropertyChangeListener(java.beans.PropertyChangeListener)
getAttributes
public java.util.Properties getAttributes()
- Returns the attribute properties object.
- Returns:
- The attributes.
getAttributeString
public java.lang.String getAttributeString()
- Returns the attribute string.
- Returns:
- The attributes.
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Removes the PropertyChangeListener from the internal list.
If the PropertyChangeListener is not on the list, nothing is done.
- Parameters:
listener
- The PropertyChangeListener.- See Also:
addPropertyChangeListener(java.beans.PropertyChangeListener)
setAttributes
public void setAttributes(java.util.Properties attributes)
- Set the additional HTML tag attributes.
- Parameters:
The
- attributes.