PAJES 2.3.9

org.pajes.html
Class InputRadio

java.lang.Object
  extended byorg.pajes.html.Tag
      extended byorg.pajes.html.Input
          extended byorg.pajes.html.InputChecked
              extended byorg.pajes.html.InputRadio
All Implemented Interfaces:
java.lang.Cloneable, HTML, InputValidation, java.io.Serializable

public class InputRadio
extends InputChecked

This class builds the HTML radio button tag.

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
InputRadio(Form form, java.lang.String name, java.lang.String value, boolean isChecked)
          Create a radio button tag.
InputRadio(Form form, java.lang.String name, java.lang.String value, boolean isChecked, HTML displayText, boolean textOnLeft)
          Create a radio button tag.
InputRadio(Form form, java.lang.String name, java.lang.String value, boolean isChecked, java.lang.String displayText, boolean textOnLeft)
          Create a radio button tag.
InputRadio(InputField source)
          Creates a radio button from another input field.
 
Methods inherited from class org.pajes.html.InputChecked
isChecked, isMandatory, setChecked, setCheckedValue, setDisplayText, setDisplayText, setDisplayTextOnLeft, setMandatory, setMandatory, setValue, write
 
Methods inherited from class org.pajes.html.Input
addClientValidation, addContent, clone, getClientValidation, 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
 
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
getClientValidation, getDOMReference, getName, isRequiringValidation, setOnBlurValidation
 

Constructor Detail

InputRadio

public InputRadio(InputField source)
Creates a radio button from another input field.

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

InputRadio

public InputRadio(Form form,
                  java.lang.String name,
                  java.lang.String value,
                  boolean isChecked)
Create a radio button tag.

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 value returned if the radio button is selected
isChecked - true if you want the radio button to have a check in it

InputRadio

public InputRadio(Form form,
                  java.lang.String name,
                  java.lang.String value,
                  boolean isChecked,
                  HTML displayText,
                  boolean textOnLeft)
Create a radio button tag.

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 value returned if the radio button is selected
isChecked - true if you want the radio button to have a check in it
displayText - the text to be displayed next to the radio button
textOnLeft - true if the text is to be displayed on the left of the radio button, or false if it is to be displayed on the right

InputRadio

public InputRadio(Form form,
                  java.lang.String name,
                  java.lang.String value,
                  boolean isChecked,
                  java.lang.String displayText,
                  boolean textOnLeft)
Create a radio button tag.

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 value returned if the radio button is selected
isChecked - true if you want the radio button to have a check in it
displayText - the text to be displayed next to the radio button
textOnLeft - true if the text is to be displayed on the left of the radio button, or false if it is to be displayed on the right

PAJES 2.3.9

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