info.informatica.ui.html.tag
Class FormRadioField

java.lang.Object
  extended by info.informatica.doc.DocumentFragment
      extended by info.informatica.html.tag.HTMLTag
          extended by info.informatica.ui.html.tag.FormData
              extended by info.informatica.ui.html.tag.FormField
                  extended by info.informatica.ui.html.tag.FormRadioField
All Implemented Interfaces:
info.informatica.doc.DocumentElement, info.informatica.html.tag.AttributeListener, info.informatica.html.tag.BodyTag, DataControl, DataValue, OptionItem, Comparable<info.informatica.doc.DocumentFragment>

public class FormRadioField
extends FormField
implements OptionItem

HTML form radio field.

Author:
amengual at informatica dot info

Nested Class Summary
 
Nested classes/interfaces inherited from class info.informatica.doc.DocumentFragment
info.informatica.doc.DocumentFragment.FragmentComp, info.informatica.doc.DocumentFragment.NotFragmentComp
 
Constructor Summary
FormRadioField(String tagid, ControlName nameattr, info.informatica.doc.FragmentPosition pos)
           
 
Method Summary
 String getDescription()
           
 String getOptionId()
           
 boolean isSelected()
           
 void mapDataToUI(DataField de, Dataset ds, Map<String,Object> m)
           
 void onAttributeRemoved(String attrname)
           
 void onAttributes(String attrname, String attrvalue)
           
 void onAttributeStringSet(String attributes)
           
 void onDummyAttributes(String attrname)
           
 void select()
           
 void select(boolean sel)
           
 void setDescription(Object description)
           
 void setOptionId(String value)
           
 
Methods inherited from class info.informatica.ui.html.tag.FormField
getName, setValue, startTag
 
Methods inherited from class info.informatica.ui.html.tag.FormData
createField, createField, getAttributes, getControlName, getFieldname, getFieldSize, getFormat, getStringValues, getValue, guessDataField, init, mapInputField, setFieldname, setFormat, setValue, setValue, setValue, toString, toString
 
Methods inherited from class info.informatica.html.tag.HTMLTag
align, endTag, getAlignment, getBlockPosition, getId, getParent, getStyle, getStyleClass, getTagData, isSelfClosing, length, setAttributes, setId, setParent, setSelfClosing, setSelfClosing, setTagData, setTagData, toString, toString, toXml, vAlign
 
Methods inherited from class info.informatica.doc.DocumentFragment
adjustWidth, compareTo, getCurrentPosition, getPosition, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface info.informatica.html.tag.BodyTag
getStyle, getStyleClass
 

Constructor Detail

FormRadioField

public FormRadioField(String tagid,
                      ControlName nameattr,
                      info.informatica.doc.FragmentPosition pos)
Method Detail

select

public void select()
Specified by:
select in interface OptionItem

select

public void select(boolean sel)
Specified by:
select in interface OptionItem

isSelected

public boolean isSelected()
Specified by:
isSelected in interface OptionItem

getDescription

public String getDescription()
Specified by:
getDescription in interface OptionItem

setDescription

public void setDescription(Object description)
Specified by:
setDescription in interface OptionItem

getOptionId

public String getOptionId()
Specified by:
getOptionId in interface OptionItem

setOptionId

public void setOptionId(String value)
                 throws IllegalOptionException
Specified by:
setOptionId in interface OptionItem
Throws:
IllegalOptionException

onDummyAttributes

public void onDummyAttributes(String attrname)
                       throws info.informatica.html.tag.TagParsingException
Specified by:
onDummyAttributes in interface info.informatica.html.tag.AttributeListener
Overrides:
onDummyAttributes in class info.informatica.html.tag.HTMLTag
Throws:
info.informatica.html.tag.TagParsingException

onAttributes

public void onAttributes(String attrname,
                         String attrvalue)
                  throws info.informatica.html.tag.TagParsingException
Specified by:
onAttributes in interface info.informatica.html.tag.AttributeListener
Overrides:
onAttributes in class info.informatica.html.tag.HTMLTag
Throws:
info.informatica.html.tag.TagParsingException

onAttributeRemoved

public void onAttributeRemoved(String attrname)
                        throws info.informatica.html.tag.TagParsingException
Specified by:
onAttributeRemoved in interface info.informatica.html.tag.AttributeListener
Overrides:
onAttributeRemoved in class info.informatica.html.tag.HTMLTag
Throws:
info.informatica.html.tag.TagParsingException

onAttributeStringSet

public void onAttributeStringSet(String attributes)
Specified by:
onAttributeStringSet in interface info.informatica.html.tag.AttributeListener
Overrides:
onAttributeStringSet in class info.informatica.html.tag.HTMLTag

mapDataToUI

public void mapDataToUI(DataField de,
                        Dataset ds,
                        Map<String,Object> m)
                 throws DatasetException
Specified by:
mapDataToUI in interface DataControl
Overrides:
mapDataToUI in class FormData
Throws:
DatasetException