com.extjs.gxt.ui.client.widget.form
クラス CheckBox

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.extjs.gxt.ui.client.widget.Component
              extended by com.extjs.gxt.ui.client.widget.BoxComponent
                  extended by com.extjs.gxt.ui.client.widget.form.Field<java.lang.Boolean>
                      extended by com.extjs.gxt.ui.client.widget.form.CheckBox
すべての実装インターフェース:
Observable, com.google.gwt.user.client.EventListener
Direct Known Subclasses:
Radio

public class CheckBox
extends Field<java.lang.Boolean>

Single checkbox field.Unlike other fields, checkbox fires change events when the radios state is changed, not on blur.

Events:
Change : FieldEvent(field, value, oldValue)
Fires when the field value has changed.


入れ子クラス 概要
 
クラス com.extjs.gxt.ui.client.widget.form.Field から継承された 入れ子クラス/インターフェース
Field.FieldMessages
 
クラス com.google.gwt.user.client.ui.UIObject から継承された 入れ子クラス/インターフェース
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field 概要
 
クラス com.google.gwt.user.client.ui.UIObject から継承されたフィールド(Fields)
DEBUG_ID_PREFIX
 
コンストラクタ 概要
CheckBox()
           
 
メソッド 概要
 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.
 void markInvalid(java.lang.String msg)
          Mark this field as invalid.
 void setBoxLabel(java.lang.String boxLabel)
          The text that appears beside the checkbox.
 void setRawValue(java.lang.String value)
          Sets the underlying DOM field's value directly, bypassing validation.
 void setValue(java.lang.Boolean value)
          Sets a data value into the field and validates it.
 
クラス com.extjs.gxt.ui.client.widget.form.Field から継承されたメソッド
addKeyListener, focus, getAutoValidate, getEmptyText, getFieldLabel, getLabelSeparator, getLabelStyle, getMessages, getMessageTarget, getName, getPropertyEditor, getValidateOnBlur, getValidationDelay, getValue, isDirty, isReadOnly, isValid, onComponentEvent, removeKeyListener, reset, setAutoValidate, setEmptyText, setFieldLabel, setLabelSeparator, setLabelStyle, setMessages, setMessageTarget, setName, setPropertyEditor, setReadOnly, setTabIndex, setValidateOnBlur, setValidationDelay, validate
 
クラス com.extjs.gxt.ui.client.widget.BoxComponent から継承されたメソッド
getBounds, getHeight, getHeight, getPosition, getShadow, getSize, getWidth, getWidth, isAutoHeight, isAutoWidth, isDeferHeight, isShim, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShim, setSize, setSize, setWidth, setWidth
 
クラス com.extjs.gxt.ui.client.widget.Component から継承されたメソッド
addListener, addStyleName, addWidgetListener, disable, disableEvents, disableTextSelection, el, enable, enableEvents, fireEvent, fireEvent, fireEvent, fly, getBaseStyle, getBorders, getData, getData, getElement, getId, getItemId, getModel, getState, getToolTip, hide, hideToolTip, isEnabled, isRendered, isVisible, onBrowserEvent, recalculate, removeAllListeners, removeFromParent, removeListener, removeStyleName, removeWidgetListener, render, render, saveState, setBorders, setData, setData, setElement, setEnabled, setEnableState, setId, setIntStyleAttribute, setItemId, setStyleAttribute, setStyleName, setTitle, setToolTip, setToolTip, setVisible, show, toString
 
クラス com.google.gwt.user.client.ui.Widget から継承されたメソッド
getParent, isAttached
 
クラス com.google.gwt.user.client.ui.UIObject から継承されたメソッド
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタ 詳細

CheckBox

public CheckBox()
メソッド 詳細

clearInvalid

public void clearInvalid()
Description copied from class: Field
Clear any invalid styles / messages for this field.

オーバーライド:
clearInvalid in class Field<java.lang.Boolean>

getBoxLabel

public java.lang.String getBoxLabel()

getRawValue

public java.lang.String getRawValue()
Description copied from class: Field
Returns the raw data value which may or may not be a valid, defined value. To return a normalized value see Field.getValue().

オーバーライド:
getRawValue in class Field<java.lang.Boolean>
戻り値:
the raw value

markInvalid

public void markInvalid(java.lang.String msg)
Description copied from class: Field
Mark this field as invalid.

オーバーライド:
markInvalid in class Field<java.lang.Boolean>
パラメータ:
msg - the validation message

setBoxLabel

public void setBoxLabel(java.lang.String boxLabel)
The text that appears beside the checkbox.

パラメータ:
boxLabel - the box label

setRawValue

public void setRawValue(java.lang.String value)
Description copied from class: Field
Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see Field.setValue(D).

オーバーライド:
setRawValue in class Field<java.lang.Boolean>
パラメータ:
value - the raw value

setValue

public void setValue(java.lang.Boolean value)
Description copied from class: Field
Sets a data value into the field and validates it. If the field is rendered, To set the value directly without validation see Field.setRawValue(java.lang.String).

オーバーライド:
setValue in class Field<java.lang.Boolean>
パラメータ:
value - the value to set