net.sf.colle.forms.test
Class TestForm.Car

java.lang.Object
  extended bynet.sf.colle.forms.test.TestForm.Car
Enclosing class:
TestForm

public static class TestForm.Car
extends Object

Java doc for the car list structure Define the inner car structure class. This class extends the structure base class to provide useful helper methods. Lists define structures also--the structure defined here for a list will be later put into a java.util.List object.


Constructor Summary
TestForm.Car(FormElement pxParent)
          Create a new car structure element.
 
Method Summary
 Text getMake()
          Returns the 'make' form element.
 Text getModel()
          Returns the 'model' form element.
 Text getName()
          Returns the 'name' form element.
 Structure getStructure()
          Returns the inner structure object.
 Number getYear()
          Returns the 'year' form element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestForm.Car

public TestForm.Car(FormElement pxParent)
Create a new car structure element.

Parameters:
pxParent - parent in the form element tree
Method Detail

getStructure

public Structure getStructure()
Returns the inner structure object. Your structure or list 'has-a' net.sf.colle.forms.Structure object as opposed to 'is-a' (inheritance) structure object to minimize naming collisions. For instance it would be impossible to have a form text field called 'name' if this structure was derived from net.sf.colle.forms.Structure because of the getName() method.


getMake

public Text getMake()
Returns the 'make' form element.

Returns:
form element instance

getModel

public Text getModel()
Returns the 'model' form element.

Returns:
form element instance

getYear

public Number getYear()
Returns the 'year' form element.

Returns:
form element instance

getName

public Text getName()
Returns the 'name' form element.

Returns:
form element instance