Agent System POND 1.0 (1.7.2000)

FIM.Util.WWW.Form
Class ButtonElement

java.lang.Object
  |
  +--FIM.Util.WWW.Form.FormElement
        |
        +--FIM.Util.WWW.Form.ActionElement
              |
              +--FIM.Util.WWW.Form.ButtonElement
Direct Known Subclasses:
ResetButtonElement, SubmitButtonElement

public abstract class ButtonElement
extends ActionElement

An element of a HTML-form of type BUTTON.

Version:
1.0, 1.7.2000
Author:
Michael Sonntag
See Also:
Serialized Form

Fields inherited from class FIM.Util.WWW.Form.FormElement
attributes, children
 
Constructor Summary
ButtonElement(HTMLDocument doc, Element parent, int startOffs, int endOffs, String name, String value, String type)
          Creates a new BUTTON element.
 
Method Summary
 String getType()
          Retrieve the type of the button.
 String toString()
          Returns a string representation of the button element.
 
Methods inherited from class FIM.Util.WWW.Form.ActionElement
doAction, getEncoded, getValue, match, reset
 
Methods inherited from class FIM.Util.WWW.Form.FormElement
getAttributes, getDocument, getElement, getElementCount, getElementIndex, getEndOffset, getLabel, getName, getParentElement, getStartOffset, isLeaf, setLabel
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ButtonElement

public ButtonElement(HTMLDocument doc,
                     Element parent,
                     int startOffs,
                     int endOffs,
                     String name,
                     String value,
                     String type)
Creates a new BUTTON element.
Parameters:
doc - the document this element belongs to
parent - the parent of this element
startOffs - start offset of the element in the document
endOffs - end offset of the element in the document
name - the name of the element
value - the value of the element or null if none exists
type - the type of the button
Method Detail

getType

public String getType()
Retrieve the type of the button.
Returns:
type of the button

toString

public String toString()
Returns a string representation of the button element.
Returns:
string representation of the form element
Overrides:
toString in class ActionElement

Agent System POND 1.0 (1.7.2000)

Submit a bug

Copyright 2000 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.