|
|||||||||
| 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<F>
com.extjs.gxt.ui.client.widget.form.MultiField<F>
public class MultiField<F extends Field>
A field that displays multiple fields in a single row.
| 入れ子クラス 概要 |
|---|
| クラス 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 |
| コンストラクタ 概要 | |
|---|---|
MultiField()
Creates a new checkbox group. |
|
MultiField(java.lang.String fieldLabel,
F... fields)
Creates a new checkbox group. |
|
| メソッド 概要 | |
|---|---|
void |
add(F field)
Adds a field (pre-render). |
void |
disable()
Disable this component. |
void |
enable()
Enable this component. |
F |
get(int index)
Returns the field at the index. |
java.util.List<F> |
getAll()
Returns all the child field's. |
Style.Orientation |
getOrientation()
Returns the fields orientation. |
int |
getSpacing()
Returns the field's spacing. |
Validator |
getValidator()
Returns the field's validator. |
boolean |
isValid()
Returns whether or not the field value is currently valid. |
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
Components delegate event handling to Component.onComponentEvent(ComponentEvent). |
void |
onComponentEvent(ComponentEvent ce)
Any events a component receives will be forwarded to this method. |
void |
reset()
Resets the current field value to the originally loaded value and clears any validation messages. |
void |
setOrientation(Style.Orientation orientation)
Sets the fields orientation (defaults to horizontal). |
void |
setReadOnly(boolean readOnly)
Sets the field's read only state. |
void |
setSpacing(int spacing)
Sets the amount of spacing between fields. |
void |
setValidator(Validator validator)
Sets the field's validator. |
| クラス com.extjs.gxt.ui.client.widget.form.Field から継承されたメソッド |
|---|
addKeyListener, clearInvalid, focus, getAutoValidate, getEmptyText, getFieldLabel, getLabelSeparator, getLabelStyle, getMessages, getMessageTarget, getName, getPropertyEditor, getRawValue, getValidateOnBlur, getValidationDelay, getValue, isDirty, isReadOnly, markInvalid, removeKeyListener, setAutoValidate, setEmptyText, setFieldLabel, setLabelSeparator, setLabelStyle, setMessages, setMessageTarget, setName, setPropertyEditor, setRawValue, setTabIndex, setValidateOnBlur, setValidationDelay, setValue, 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, disableEvents, disableTextSelection, el, enableEvents, fireEvent, fireEvent, fireEvent, fly, getBaseStyle, getBorders, getData, getData, getElement, getId, getItemId, getModel, getState, getToolTip, hide, hideToolTip, isEnabled, isRendered, isVisible, 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 |
| コンストラクタ 詳細 |
|---|
public MultiField()
public MultiField(java.lang.String fieldLabel,
F... fields)
fieldLabel - the field labelfields - the field(s) to add| メソッド 詳細 |
|---|
public void add(F field)
field - the field to addpublic void disable()
Component
disable in class Componentpublic void enable()
Component
enable in class Componentpublic F get(int index)
index - the index
public java.util.List<F> getAll()
public Style.Orientation getOrientation()
public int getSpacing()
public Validator getValidator()
public boolean isValid()
Field
isValid in class Field<F extends Field>true if the value is valid, otherwise
falsepublic void onBrowserEvent(com.google.gwt.user.client.Event event)
ComponentComponent.onComponentEvent(ComponentEvent). Sublcasses should not override.
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class Componentevent - the dom eventpublic void onComponentEvent(ComponentEvent ce)
ComponentComponent.onBrowserEvent(com.google.gwt.user.client.Event) method
should not be overridden or modified.
onComponentEvent in class Field<F extends Field>ce - the base eventpublic void reset()
Field
reset in class Field<F extends Field>public void setOrientation(Style.Orientation orientation)
orientation - the orientationpublic void setReadOnly(boolean readOnly)
Field
setReadOnly in class Field<F extends Field>readOnly - the read only statepublic void setSpacing(int spacing)
spacing - the spacing in pixelspublic void setValidator(Validator validator)
validator - the validator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||