    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.forms.DoubleField

    java.lang.Object
       |
       +----w3c.jigsaw.forms.FormField
               |
               +----w3c.jigsaw.forms.DoubleField

public class DoubleField
extends FormField

##

DoubleField()
DoubleField(String, String, String, Double)
  Create a new double field.

##

dump(HtmlGenerator)
  Dump this field as a form element.
getValue()
  Get this field value.
initialize(String, String, String, Object)
setValue(String)
  Set this field's value, by parsing the provided String.

##

DoubleField

      public DoubleField(String name,
                         String title,
                         String url,
                         Double value) throws FormFieldException

  Create a new double field.
  Parameters:
    name - The name of the field.
    title - The title of the field.
    url - The URL of the field.
    value - Its initial value.

DoubleField

      public DoubleField()

##

getValue

      public Object getValue()

  Get this field value.
  Overrides:
    getValue in class FormField

setValue

      public boolean setValue(String nval) throws FormFieldException

  Set this field's value, by parsing the provided String.
  Parameters:
    nval - The new field value.
  Returns:
    A boolean true if the value is valid.
  Overrides:
    setValue in class FormField

dump

      public void dump(HtmlGenerator into)

  Dump this field as a form element.
  Parameters:
    into - The HtmlGenerator to dump the field to.
  Overrides:
    dump in class FormField

initialize

      public void initialize(String name,
                             String title,
                             String url,
                             Object val) throws FormFieldException

Overrides:
  initialize in class FormField

    All Packages  Class Hierarchy  This Package  Previous  Next  Index