|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.widgets.form.fields.FormItem
com.smartgwt.client.widgets.form.fields.RadioGroupItem
public class RadioGroupItem
FormItem that shows a set of mutually exclusive options as a group of radio buttons.
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
RadioGroupItem()
|
|
RadioGroupItem(JavaScriptObject jsObj)
|
|
RadioGroupItem(String name)
|
|
RadioGroupItem(String name,
String title)
|
|
| Method Summary | |
|---|---|
static RadioGroupItem |
getOrCreateRef(JavaScriptObject jsObj)
|
String |
getTextBoxStyle()
Base CSS class applied to the text for items within this radiogroup. |
String |
getValueAsString()
Return the value tracked by this form item. |
Boolean |
getVertical()
True == display options vertically, false == display in a single row |
Boolean |
getWrap()
Should the text for items within this radio group wrap? |
void |
setJavaScriptObject(JavaScriptObject jsObj)
|
void |
setTextBoxStyle(String textBoxStyle)
Base CSS class applied to the text for items within this radiogroup. |
void |
setValueDisabled(Object value,
boolean disabled)
Disable or Enable a specific option within this radioGroup |
void |
setValueHoverFormatter(FormItemHoverFormatter hoverFormatter)
The FormItemHoverFormatter should return the HTML to display in a hover canvas when the user holds the mousepointer over a particular value in this item. |
void |
setVertical(Boolean vertical)
True == display options vertically, false == display in a single row |
void |
setWrap(Boolean wrap)
Should the text for items within this radio group wrap? |
| Methods inherited from class com.smartgwt.client.core.RefDataClass |
|---|
getRef, getRef |
| Methods inherited from class com.smartgwt.client.core.DataClass |
|---|
doAddHandler, fireEvent, getAttributeAsDoubleArray, getAttributeAsIntArray, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute |
| Methods inherited from class com.smartgwt.client.core.JsObject |
|---|
setJsObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public RadioGroupItem()
public RadioGroupItem(JavaScriptObject jsObj)
public RadioGroupItem(String name)
public RadioGroupItem(String name,
String title)
| Method Detail |
|---|
public static RadioGroupItem getOrCreateRef(JavaScriptObject jsObj)
public void setJavaScriptObject(JavaScriptObject jsObj)
setJavaScriptObject in class FormItempublic void setTextBoxStyle(String textBoxStyle)
setTextBoxStyle in class FormItemtextBoxStyle - . See FormItemBaseStyle. Default value is "labelAnchor"Appearance overview and related methodspublic String getTextBoxStyle()
getTextBoxStyle in class FormItemFormItemBaseStyleAppearance overview and related methodspublic void setVertical(Boolean vertical)
vertical - vertical Default value is trueAppearance overview and related methodspublic Boolean getVertical()
Appearance overview and related methodspublic void setWrap(Boolean wrap)
wrap - wrap Default value is nullAppearance overview and related methodspublic Boolean getWrap()
Appearance overview and related methodspublic String getValueAsString()
public void setValueDisabled(Object value,
boolean disabled)
value - value of option to disabledisabled - true to disable the option, false to enable itpublic void setValueHoverFormatter(FormItemHoverFormatter hoverFormatter)
hoverFormatter - the hover formatter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||