PAJES 2.3.9

org.pajes.html
Class InputString

java.lang.Object
  extended byorg.pajes.html.Tag
      extended byorg.pajes.html.Input
          extended byorg.pajes.html.InputField
              extended byorg.pajes.html.InputString
All Implemented Interfaces:
java.lang.Cloneable, HTML, InputMandatoryValidation, InputValidation, java.io.Serializable
Direct Known Subclasses:
InputDateTimeString, InputDecimal, InputFormattedString, InputInteger, InputNumber

public class InputString
extends InputField

This class creates an input field in a form that accepts a string from the user.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pajes.html.Input
TYPE_ATTRIBUTE
 
Fields inherited from class org.pajes.html.Tag
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT
 
Constructor Summary
protected InputString()
          Creates a new InputString object.
  InputString(Form form, java.lang.String name)
          Creates a named input field.
  InputString(Form form, java.lang.String name, java.lang.String value)
          Creates a named input field with a default value.
  InputString(Form form, java.lang.String name, java.lang.String value, int size)
          Creates a named input field of the specified size.
  InputString(Form form, java.lang.String name, java.lang.String value, int size, int maxLength)
          Creates a named input field of the specified size and maximum input length.
  InputString(Form form, java.lang.String name, java.lang.String value, int size, int maxLength, boolean isRequired)
          Creates a named input field of the specified size and maximum input length.
  InputString(InputField source)
          Creates a named input field.
 
Methods inherited from class org.pajes.html.InputField
getClientValidation, getMaxLength, getSize, isMandatory, setMandatory, setMandatory, setMandatory, setMaxLength, setMaxLength, setSize, setSize
 
Methods inherited from class org.pajes.html.Input
addClientValidation, addContent, clone, getClientValidation, getDOMReference, getFieldNameForErrorMessage, getForm, getInstance, getLabel, getName, getOnBlurHandler, getOnChangeHandler, getOnFocusHandler, getOnSelectHandler, getReadOnlyStyleSheetClass, getTabIndex, getType, getValue, isChangeFlagEnabled, isDisabled, isReadOnly, isRequiringValidation, logNoFormWarning, removeClientValidation, removeClientValidation, removeClientValidation, removeMandatoryClientValidation, setChanged, setChangedFlag, setContent, setDisabled, setFieldNameInErrorMessage, setFieldNameInErrorMessage, setForm, setId, setLabel, setName, setOnBlurHandler, setOnBlurValidation, setOnChangeHandler, setOnClickHandler, setOnFocusHandler, setOnSelectHandler, setReadOnly, setReadOnlyStyleSheetClass, setTabIndex, setTabIndex, setTabIndex, setValue, write
 
Methods inherited from class org.pajes.html.Tag
addAttribute, addAttributes, addAttributes, clearAttribute, clearAttributes, destroy, getAttribute, getAttributes, getAttributeSet, getContainer, getContent, getDocument, getId, getOnClickHandler, getOnDBLClickHandler, getOnKeyDownHandler, getOnKeyPressHandler, getOnKeyUpHandler, getOnMouseDownHandler, getOnMouseOutHandler, getOnMouseOverHandler, getOnMouseUpHandler, getStyle, getStyleSheetClass, getTagName, getTitle, getWritePermission, init, initAttributes, isWritable, isWritable, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContainer, setContent, setOnDBLClickHandler, setOnKeyDownHandler, setOnKeyPressHandler, setOnKeyUpHandler, setOnMouseDownHandler, setOnMouseOutHandler, setOnMouseOverHandler, setOnMouseUpHandler, setStyle, setStyleSheetClass, setTagName, setTitle, setWritable, setWriteAttributes, setWriteEndTag, setWritelnAfter, setWritelnAfterContent, setWritelnBefore, setWritelnBeforeContent, setWritePermission, toString, writeContent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.pajes.html.InputValidation
getDOMReference, getName, isRequiringValidation, setOnBlurValidation
 

Constructor Detail

InputString

public InputString(InputField source)
Creates a named input field.

Parameters:
source - the input field from which this input field will be created.

InputString

public InputString(Form form,
                   java.lang.String name)
Creates a named input field.

Parameters:
form - the form on which this input field will appear. Note that the element must still be added to the form - this reference is used by the getDOMReference() method to determine the fully qualified element name.
name - the name to apply to the input object, so that it may be manipulated using client-side JavaScript.

InputString

public InputString(Form form,
                   java.lang.String name,
                   java.lang.String value)
Creates a named input field with a default value.

Parameters:
form - the form on which this input field will appear. Note that the element must still be added to the form - this reference is used by the getDOMReference() method to determine the fully qualified element name.
name - the name to apply to the input object, so that it may be manipulated using client-side JavaScript.
value - the default value to assign to the field.

InputString

public InputString(Form form,
                   java.lang.String name,
                   java.lang.String value,
                   int size)
Creates a named input field of the specified size.

Parameters:
form - the form on which this input field will appear. Note that the element must still be added to the form - this reference is used by the getDOMReference() method to determine the fully qualified element name.
name - the name to apply to the input object, so that it may be manipulated using client-side JavaScript.
value - the default value to assign.
size - the display size of the input field.

InputString

public InputString(Form form,
                   java.lang.String name,
                   java.lang.String value,
                   int size,
                   int maxLength)
Creates a named input field of the specified size and maximum input length.

Parameters:
form - the form on which this input field will appear. Note that the element must still be added to the form - this reference is used by the getDOMReference() method to determine the fully qualified element name.
name - the name to apply to the input object, so that it may be manipulated using client-side JavaScript.
value - the default value to assign.
size - the display size of the input field.
maxLength - the maximum number of characters to accept into the field.

InputString

public InputString(Form form,
                   java.lang.String name,
                   java.lang.String value,
                   int size,
                   int maxLength,
                   boolean isRequired)
Creates a named input field of the specified size and maximum input length.

Parameters:
form - the form on which this input field will appear. Note that the element must still be added to the form - this reference is used by the getDOMReference() method to determine the fully qualified element name.
name - the name to apply to the input object, so that it may be manipulated using client-side JavaScript.
value - the default value to assign.
size - the display size of the input field.
maxLength - the maximum number of characters to accept into the field.
isRequired - true if a value is required, or false if it may be left blank

InputString

protected InputString()
Creates a new InputString object.


PAJES 2.3.9

Copyright © 2002-2003 Viridian Pty Limited. All Rights Reserved.