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:


Constructor Index

 o LayoutFormPanel()
Constructs a default LayoutFormPanel.

Method Index

 o addElement(HTMLTagElement)
Adds a form element to the panel.
 o addElementListener(ElementListener)
Adds an ElementListener.
 o getSize()
Returns the number of elements in the layout.
 o getTag()
Returns the element tag.
 o removeElement(HTMLTagElement)
Removes a form element from the panel.
 o removeElementListener(ElementListener)
Removes this ElementListener from the internal list.
 o toString()
Returns a String representation of the panel tag.

Constructors

 o LayoutFormPanel
 public LayoutFormPanel()
Constructs a default LayoutFormPanel.

Methods

 o addElement
 public void addElement(HTMLTagElement element)
Adds a form element to the panel.

Parameters:
element - The form element.
 o 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
 o getSize
 public int getSize()
Returns the number of elements in the layout.

Returns:
The number of elements.
 o removeElement
 public void removeElement(HTMLTagElement element)
Removes a form element from the panel.

Parameters:
element - The form element.
 o 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
 o 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