|
||||||||||
| 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<D>
com.extjs.gxt.ui.client.widget.form.TextField<D>
com.extjs.gxt.ui.client.widget.form.TriggerField<M>
com.sibvisions.rad.ui.web.ext.gxt.form.ComboBase<M>
com.sibvisions.rad.ui.gwt.client.widget.form.GridComboBox<M>
M - the combo box modelpublic abstract class GridComboBox<M>
The GridComboBox is a special combo box with a GVxGrid component.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.extjs.gxt.ui.client.widget.form.TextField |
|---|
TextField.TextFieldMessages |
| 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 |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.extjs.gxt.ui.client.widget.form.TriggerField |
|---|
focusEventPreview, mimicing, trigger, triggerStyle |
| Fields inherited from class com.extjs.gxt.ui.client.widget.form.TextField |
|---|
emptyStyle, impl, input, validator |
| Fields inherited from class com.extjs.gxt.ui.client.widget.form.Field |
|---|
autoValidate, emptyText, errorIcon, fieldStyle, focusStyle, focusValue, forceInvalidText, hasFocus, images, invalidStyle, messages, name, originalValue, preventMark, propertyEditor, readOnly, readOnlyFieldStyle, validationDelay, value |
| Fields inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
adjustSize, cacheSizes, ensureVisibilityOnSizing, height, lastSize, layer, shim, width |
| Fields inherited from class com.extjs.gxt.ui.client.widget.Component |
|---|
afterRender, attachables, baseStyle, disabled, disabledStyle, disableTextSelection, dummy, focusable, hidden, mask, maskMessage, maskMessageStyleName, monitorWindowResize, rendered, resizeHandler, setElementRender, stateId, swallowEvents, toolTip, windowResizeDelay, windowResizeTask |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
GridComboBox()
Creates a new instance of GridComboBox with an empty grid. |
|
| Method Summary | |
|---|---|
int |
getDefaultSelectedRow()
Gets the default selected row. |
protected void |
onWindowResize(int pWidth,
int pHeight)
|
void |
setDefaultSelectedRow(int pDefaultRow)
Sets the default selected row, after opening the popup. |
void |
setGridId(String pId)
Sets the ID of the grid component. |
protected abstract void |
setValueFromSelection(TableRow pSelectedItem)
Sets the model value(s) after an item was selected from the grid. |
void |
showPopup()
Unsets the grid selection before showing the popup. |
| Methods inherited from class com.sibvisions.rad.ui.web.ext.gxt.form.ComboBase |
|---|
checkHideCombo, configurePopup, getMaxPopupHeight, getMinPopupWidth, getPopupComponent, hidePopup, onDetach, onRender, onTriggerClick, setMaxPopupHeight, setMinPopupWidth, setPopupComponent, validateBlur |
| Methods inherited from class com.extjs.gxt.ui.client.widget.form.TriggerField |
|---|
adjustInputSize, afterRender, beforeBlur, getTriggerStyle, isEditable, isHideTrigger, isMonitorTab, mimicBlur, onBlur, onClick, onComponentEvent, onDisable, onEnable, onFocus, onKeyDown, onResize, setEditable, setHideTrigger, setMonitorTab, setReadOnly, setTriggerStyle, triggerBlur |
| Methods inherited from class com.extjs.gxt.ui.client.widget.form.TextField |
|---|
applyEmptyText, getAllowBlank, getCursorPos, getFocusEl, getInputEl, getMaxLength, getMessages, getMinLength, getRegex, getSelectedText, getSelectionLength, getSelectOnFocus, getStyleEl, getValidator, isPassword, onKeyPress, onKeyUp, removeEmptyText, select, selectAll, setAllowBlank, setCursorPos, setEmptyText, setMaxLength, setMinLength, setPassword, setRegex, setSelectionRange, setSelectOnFocus, setValidator, setValue, validateValue |
| Methods inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
adjustPosition, adjustSize, getBounds, getHeight, getHeight, getPosition, getPositionEl, getResizeEl, getShadow, getShadowOffset, getShadowPosition, getSize, getWidth, getWidth, hideShadow, hideShim, hideUnders, isAutoHeight, isAutoWidth, isDeferHeight, isShim, onPosition, onUnload, 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 |
|---|
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, setLayoutData |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, setElement, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GridComboBox()
GridComboBox with an empty grid.
| Method Detail |
|---|
protected abstract void setValueFromSelection(TableRow pSelectedItem)
pSelectedItem - the selected grid itempublic void showPopup()
showPopup in class ComboBase<M>
protected void onWindowResize(int pWidth,
int pHeight)
onWindowResize in class ComboBase<M>public void setGridId(String pId)
pId - the idpublic void setDefaultSelectedRow(int pDefaultRow)
pDefaultRow - the default selected rowpublic int getDefaultSelectedRow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||