public class HTMLRadioButton extends HTMLFormComponent implements HandlesMouseEvents, HandlesSingleClick
STYLE_STS_FIELD, STYLE_STS_FIELD_IN_TABLE, STYLE_STS_FIELD_PRINTOUTalignment, alt, bgColor, cancelBubble, events, gMutableTheme, hasInitFocus, id, intStyleSheet, items, name, parent, styleId, styleProperty, tabIndex, toolTip, VALID_NAME_REGEX, VALID_STYLE_REGEX| Constructor and Description |
|---|
HTMLRadioButton(java.lang.String name,
java.lang.String value) |
HTMLRadioButton(java.lang.String name,
java.lang.String value,
boolean checked) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMouseEvent(HTMLMouseEvent me)
add a mouse event to this component
|
void |
addOnChangeEvent(java.lang.String call) |
void |
addOnChangeEvent(java.lang.String call,
java.lang.String script) |
void |
cancelClickBubble()
Prevent the click of the mouse from propagation up the dom and kicking off other things.
|
java.lang.String |
getName() |
java.lang.String |
getValue() |
protected void |
iGenerate(ClientBrowser browser,
java.lang.StringBuilder buffer)
generate the raw HTML for this component.
|
boolean |
isDisabled()
Is this is Disabled
|
boolean |
isReadOnly()
Is this is ReadOnly
|
void |
setChecked(boolean checked) |
void |
setDisabled(boolean flag)
Disables this input.
|
void |
setReadOnly(boolean flag)
Sets the field to READONLY
|
void |
setToolTip(java.lang.String toolTip) |
void |
setValue(java.lang.String value) |
addJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, compile, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getId, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, makeListOfEvents, monitorPage, postCompile, resetParent, setAlignment, setAttribute, setClassName, setHasInitFocus, setParent, setStyleProperty, setTabIndex, touchpublic HTMLRadioButton(java.lang.String name,
java.lang.String value)
name - value - the valuepublic HTMLRadioButton(java.lang.String name,
java.lang.String value,
boolean checked)
name - value - the valuechecked - public void cancelClickBubble()
cancelClickBubble in interface HandlesSingleClickpublic void setToolTip(java.lang.String toolTip)
toolTip - public void setChecked(boolean checked)
checked - public void addOnChangeEvent(java.lang.String call)
addOnChangeEvent in class HTMLFormComponentcall - public void addOnChangeEvent(java.lang.String call,
java.lang.String script)
addOnChangeEvent in class HTMLFormComponentcall - script - protected void iGenerate(ClientBrowser browser, java.lang.StringBuilder buffer)
iGenerate in class HTMLComponentbrowser - The target browserbuffer - The generate HTMLpublic java.lang.String getName()
getName in class HTMLFormComponentpublic void setValue(java.lang.String value)
setValue in class HTMLFormComponentvalue - the valuepublic java.lang.String getValue()
getValue in class HTMLFormComponentpublic void addMouseEvent(HTMLMouseEvent me)
addMouseEvent in interface HandlesMouseEventsme - The mouse eventpublic void setDisabled(boolean flag)
flag - public void setReadOnly(boolean flag)
flag - public boolean isDisabled()
isDisabled in interface HTMLReadOnlypublic boolean isReadOnly()
isReadOnly in interface HTMLReadOnlystSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.