|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.BoxComponent
com.extjs.gxt.ui.client.widget.form.Field<java.lang.Boolean>
com.extjs.gxt.ui.client.widget.form.CheckBox
public class CheckBox
Single checkbox field. Unlike other fields, checkbox fires change events when the radios state is changed, not on blur.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.extjs.gxt.ui.client.widget.form.Field |
|---|
Field.FieldImages, Field.FieldMessages |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
CheckBox()
|
|
| Method Summary | |
|---|---|
void |
clearInvalid()
Clear any invalid styles / messages for this field. |
java.lang.String |
getBoxLabel()
|
java.lang.String |
getRawValue()
Returns the raw data value which may or may not be a valid, defined value. |
java.lang.String |
getValueAttribute()
Returns the value property of the input element |
void |
markInvalid(java.lang.String msg)
Marks this field as invalid. |
void |
setBoxLabel(java.lang.String boxLabel)
The text that appears beside the checkbox (defaults to null). |
void |
setRawValue(java.lang.String value)
Sets the underlying DOM field's value directly, bypassing validation. |
void |
setValueAttribute(java.lang.String valueAttribute)
Sets a new value attribute to the input element |
| Methods inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
getBounds, getHeight, getHeight, getPosition, getShadow, getShadowOffset, getShadowPosition, getSize, getWidth, getWidth, isAutoHeight, isAutoWidth, isDeferHeight, isShim, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShadowOffset, setShadowPosition, setShim, setSize, setSize, setWidth, setWidth, sync, syncSize |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
fireEvent, getParent, isAttached |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CheckBox()
| Method Detail |
|---|
public void clearInvalid()
Field
clearInvalid in class Field<java.lang.Boolean>public java.lang.String getBoxLabel()
public java.lang.String getRawValue()
FieldField.getValue().
getRawValue in class Field<java.lang.Boolean>public java.lang.String getValueAttribute()
public void markInvalid(java.lang.String msg)
FieldField.forceInvalid(String)
markInvalid in class Field<java.lang.Boolean>msg - the validation messagepublic void setBoxLabel(java.lang.String boxLabel)
boxLabel - the box labelpublic void setRawValue(java.lang.String value)
FieldField.setValue(D).
setRawValue in class Field<java.lang.Boolean>value - the raw valuepublic void setValueAttribute(java.lang.String valueAttribute)
valueAttribute - the value attribute to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||