org.japano.pagenode
Class FormNode

java.lang.Object
  extended by org.japano.PageNode
      extended by org.japano.pagenode.Part
          extended by org.japano.pagenode.FormNode

public class FormNode
extends Part

Version:
$Id: FormNode.java,v 1.12 2005/11/30 03:54:38 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )

Nested Class Summary
 
Nested classes/interfaces inherited from class org.japano.PageNode
PageNode.Output
 
Field Summary
protected  java.lang.String actionName
           
protected  java.util.Map attributes
           
protected  java.lang.String id
           
protected  java.lang.String klass
           
protected  PingPongContext pingPongContext
           
protected  java.lang.String style
           
protected  java.lang.String submitFunctionName
           
protected  java.lang.String tagName
           
 
Fields inherited from class org.japano.pagenode.Part
PARAMETER_NAME, partId
 
Fields inherited from class org.japano.PageNode
children, context, EMPTY, nodeId, parent
 
Constructor Summary
FormNode()
           
 
Method Summary
 void generate(Buffer out)
          Generates this node The base implementation just calls PageNode.generateChildren(Buffer)
 Action getAction()
           
 java.lang.Class getActionClass()
           
 ActionParameter getActionParameter()
           
 java.lang.String getFieldClass(java.lang.String qName, java.lang.String styleClass)
           
 java.util.List getMessages()
           
 boolean hasMessageFor(java.lang.String qName)
           
 void init()
          Initializes the node.
 void printFieldClassCode(Buffer out, java.lang.String qName, java.lang.String styleClass)
           
 void setActionClass(java.lang.Class actionClass)
           
 java.lang.String toString()
           
 
Methods inherited from class org.japano.pagenode.Part
getContentType, getId, setClass, setContentType, setId, setStyle
 
Methods inherited from class org.japano.PageNode
findChildren, findParent, findRootNode, generateChildren, getChildren, getContext, getNodeId, getParent, recInit, release, setChildren, setContext, setNodeId, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tagName

protected java.lang.String tagName

id

protected java.lang.String id

klass

protected java.lang.String klass

style

protected java.lang.String style

actionName

protected java.lang.String actionName

submitFunctionName

protected java.lang.String submitFunctionName

attributes

protected java.util.Map attributes

pingPongContext

protected PingPongContext pingPongContext
Constructor Detail

FormNode

public FormNode()
Method Detail

init

public void init()
Description copied from class: PageNode
Initializes the node. The init method is called after all nodes of the page are constructed, linked and configured.

Overrides:
init in class Part

setActionClass

public void setActionClass(java.lang.Class actionClass)

getActionClass

public java.lang.Class getActionClass()

generate

public void generate(Buffer out)
Description copied from class: PageNode
Generates this node The base implementation just calls PageNode.generateChildren(Buffer)

Overrides:
generate in class Part

getAction

public Action getAction()

getActionParameter

public ActionParameter getActionParameter()

getMessages

public java.util.List getMessages()

hasMessageFor

public boolean hasMessageFor(java.lang.String qName)

getFieldClass

public java.lang.String getFieldClass(java.lang.String qName,
                                      java.lang.String styleClass)

printFieldClassCode

public void printFieldClassCode(Buffer out,
                                java.lang.String qName,
                                java.lang.String styleClass)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object