java.lang.Object
com.voytechs.html.component.Component
com.voytechs.html.component.SimpleComponent
com.voytechs.html.component.Container
com.voytechs.html.component.Form
- public class Form
- extends Container
A Form object is has a collection of form input/button elements.
| Fields inherited from class com.voytechs.html.component.Container |
|
| Methods inherited from class com.voytechs.html.component.Component |
areFlagsSet, clearFlags, getParent, getRootFrame, getUriPath, setFlags, setParent, show, show, toStringPrefix, toStringPrefixCap, toStringPrefixTee |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
actionUrl
private java.lang.String actionUrl
Form
public Form(java.lang.String actionUrl)
Form
public Form()
paint
public void paint(com.voytechs.html.io.HtmlWriter htmlOut)
throws java.io.IOException
- Setup the initial HTML Document with the required headers.
- Overrides:
paint in class Container
addElement
public Form addElement(FormComponent formElement)
throws com.voytechs.html.event.EventException
- Add all form related components.
addElement
public Form addElement(SimpleComponent simpleElement)
throws com.voytechs.html.event.EventException
- Add all form related components.
main
public static void main(java.lang.String[] args)
- Add HTML TAG parameter
/**
Test function for Form