public class LabelFormElement extends java.lang.Object implements HTMLTagElement, java.io.Serializable
LabelFormElement objects generate the following events:
Constructor and Description |
---|
LabelFormElement()
Constructs a default LabelFormElement object.
|
LabelFormElement(java.lang.String label)
Constructs a LabelFormElement object with the specified viewable text label.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener.
|
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds the VetoableChangeListener.
|
java.lang.String |
getFOTag()
Returns a comment tag.
|
java.lang.String |
getLabel()
Returns the viewable text label.
|
java.lang.String |
getTag()
Returns the label tag.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes the PropertyChangeListener from the internal list.
|
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes the VetoableChangeListener from the internal list.
|
void |
setLabel(java.lang.String label)
Sets the viewable text label.
|
java.lang.String |
toString()
Returns the String representation of the label tag.
|
public LabelFormElement()
public LabelFormElement(java.lang.String label)
label
- The viewable text label.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener.removePropertyChangeListener(java.beans.PropertyChangeListener)
public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The VetoableChangeListener.removeVetoableChangeListener(java.beans.VetoableChangeListener)
public java.lang.String getLabel()
public java.lang.String getFOTag()
getFOTag
in interface HTMLTagElement
public java.lang.String getTag()
getTag
in interface HTMLTagElement
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The VetoableChangeListener.addVetoableChangeListener(java.beans.VetoableChangeListener)
public void setLabel(java.lang.String label) throws java.beans.PropertyVetoException
label
- The viewable text label.java.beans.PropertyVetoException
- If a change is vetoed.public java.lang.String toString()
toString
in class java.lang.Object