info.informatica.ui.html.tag
Class FormOption

java.lang.Object
  extended by info.informatica.doc.DocumentFragment
      extended by info.informatica.html.tag.HTMLTag
          extended by info.informatica.ui.html.tag.FormOption
All Implemented Interfaces:
info.informatica.doc.DocumentElement, info.informatica.html.tag.AttributeListener, OptionItem, Comparable<info.informatica.doc.DocumentFragment>

public final class FormOption
extends info.informatica.html.tag.HTMLTag
implements OptionItem

HTML form OPTION tag.

Version:
1.02
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
 
Method Summary
 String getDescription()
           
 String getName()
           
 String getOptionId()
           
 boolean isSelected()
           
 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.html.tag.HTMLTag
align, endTag, getAlignment, getAttributes, getBlockPosition, getId, getParent, getStyle, getStyleClass, getTagData, isSelfClosing, length, setAttributes, setId, setParent, setSelfClosing, setSelfClosing, setTagData, setTagData, startTag, toString, 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
 

Method Detail

getName

public String getName()
Specified by:
getName in class info.informatica.html.tag.HTMLTag

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