info.informatica.ui.html.tag
Class FormSelectMultiField

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.FormSelectField
                      extended by info.informatica.ui.html.tag.FormSelectMultiField
All Implemented Interfaces:
info.informatica.doc.DocumentElement, info.informatica.html.tag.AttributeListener, info.informatica.html.tag.BodyTag, DataControl, DataValue, OptionGroup, Comparable<info.informatica.doc.DocumentFragment>

public class FormSelectMultiField
extends FormSelectField

HTML form select field with multiple option selection.

Version:
1.01
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
FormSelectMultiField(String tagid, ControlName nameattr, info.informatica.doc.FragmentPosition pos)
           
 
Method Summary
 boolean isMultiple()
           
 void mapDataToUI(DataField de, Dataset ds, Map<String,Object> m)
           
 void selectOption(String option_id)
           
 
Methods inherited from class info.informatica.ui.html.tag.FormSelectField
addOptionItem, getName, getOptionItem, getOptions, getTagData, setTagData, setValue
 
Methods inherited from class info.informatica.ui.html.tag.FormField
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, toString, toString
 
Methods inherited from class info.informatica.html.tag.HTMLTag
align, endTag, getAlignment, getBlockPosition, getId, getParent, getStyle, getStyleClass, isSelfClosing, length, onAttributeRemoved, onAttributes, onAttributeStringSet, onDummyAttributes, setAttributes, setId, setParent, setSelfClosing, setSelfClosing, 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

FormSelectMultiField

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

selectOption

public void selectOption(String option_id)
                  throws IllegalOptionException
Specified by:
selectOption in interface OptionGroup
Overrides:
selectOption in class FormSelectField
Throws:
IllegalOptionException

isMultiple

public final boolean isMultiple()
Specified by:
isMultiple in interface OptionGroup
Overrides:
isMultiple in class FormSelectField

mapDataToUI

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