Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.voytechs.html.component
Class Form  view Form download Form.java

java.lang.Object
  extended bycom.voytechs.html.component.Component
      extended bycom.voytechs.html.component.SimpleComponent
          extended bycom.voytechs.html.component.Container
              extended bycom.voytechs.html.component.Form

public class Form
extends Container

A Form object is has a collection of form input/button elements.


Field Summary
private  java.lang.String actionUrl
           
 
Fields inherited from class com.voytechs.html.component.Container
 
Fields inherited from class com.voytechs.html.component.Component
COMPONENT_FLAG_DISPATCHABLE, COMPONENT_FLAG_FORM, COMPONENT_FLAG_INIT, COMPONENT_FLAG_SHOW, tagProperties
 
Constructor Summary
Form()
           
Form(java.lang.String actionUrl)
           
 
Method Summary
 Form addElement(FormComponent formElement)
          Add all form related components.
 Form addElement(SimpleComponent simpleElement)
          Add all form related components.
static void main(java.lang.String[] args)
          Add HTML TAG parameter /** Test function for Form
 void paint(com.voytechs.html.io.HtmlWriter htmlOut)
          Setup the initial HTML Document with the required headers.
 
Methods inherited from class com.voytechs.html.component.Container
addChild, init, paintChildren, process, removeElement, toStringTree
 
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
 

Field Detail

actionUrl

private java.lang.String actionUrl
Constructor Detail

Form

public Form(java.lang.String actionUrl)

Form

public Form()
Method Detail

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