FIM.Util.WWW.Form
Class InputCheckboxElement
java.lang.Object
|
+--FIM.Util.WWW.Form.FormElement
|
+--FIM.Util.WWW.Form.SelectableElement
|
+--FIM.Util.WWW.Form.InputCheckboxElement
- All Implemented Interfaces:
- Element, Serializable
- public class InputCheckboxElement
- extends SelectableElement
Class for the HTML element INPUT with subtype CHECKBOX.
- Version:
- 1.0, 1.7.2000
- Author:
- Michael Sonntag
- See Also:
- Serialized Form
Method Summary |
String |
toString()
Returns a string representation of the input checkbox element. |
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 |
InputCheckboxElement
public InputCheckboxElement(HTMLDocument doc,
Element parent,
ElementGroup group,
int startOffs,
int endOffs,
String name,
String value,
boolean initiallySelected)
- Creates a new INPUT/CHECKBOX element.
- Parameters:
doc
- the document this element belongs toparent
- the parent of this elementgroup
- the group this element belongs tostartOffs
- start offset of the element in the documentendOffs
- end offset of the element in the documentname
- the name of the elementvalue
- the value of the elementinitiallySelected
- if true
, this element is selected at the beginning
toString
public String toString()
- Returns a string representation of the input checkbox element.
- Overrides:
toString
in class SelectableElement
- Returns:
- string representation of the form element
Submit a bug
Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.