All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.as400.util.html.LayoutFormPanel
java.lang.Object
|
+----com.ibm.as400.util.html.LayoutFormPanel
- public abstract class LayoutFormPanel
- extends Object
- implements HTMLTagElement, Serializable
The LayoutFormPanel class represents a layout of HTML form elements.
LayoutFormPanel objects generate the following events:
- ElementEvent - The events fired are:
- elementAdded
- elementRemoved
-
LayoutFormPanel()
- Constructs a default LayoutFormPanel.
-
addElement(HTMLTagElement)
- Adds a form element to the panel.
-
addElementListener(ElementListener)
- Adds an ElementListener.
-
getSize()
- Returns the number of elements in the layout.
-
getTag()
- Returns the element tag.
-
removeElement(HTMLTagElement)
- Removes a form element from the panel.
-
removeElementListener(ElementListener)
-
Removes this ElementListener from the internal list.
-
toString()
- Returns a String representation of the panel tag.
LayoutFormPanel
public LayoutFormPanel()
- Constructs a default LayoutFormPanel.
addElement
public void addElement(HTMLTagElement element)
- Adds a form element to the panel.
- Parameters:
- element - The form element.
addElementListener
public void addElementListener(ElementListener listener)
- Adds an ElementListener.
The ElementListener object is added to an internal list of ElementListeners;
it can be removed with removeElementListener.
- Parameters:
- listener - The ElementListener.
- See Also:
- removeElementListener
getSize
public int getSize()
- Returns the number of elements in the layout.
- Returns:
- The number of elements.
removeElement
public void removeElement(HTMLTagElement element)
- Removes a form element from the panel.
- Parameters:
- element - The form element.
removeElementListener
public void removeElementListener(ElementListener listener)
- Removes this ElementListener from the internal list.
If the ElementListener is not on the list, nothing is done.
- Parameters:
- listener - The ElementListener.
- See Also:
- addElementListener
toString
public String toString()
- Returns a String representation of the panel tag.
- Returns:
- The tag.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index