|
||||||||||
| 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>
M - the field modelpublic class ComboBase<M>
The ComboBase is a combo box with any BoxComponent in the popup. It does not
define how the value from the popup will be set to the text field.
| 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 | |
|---|---|
ComboBase()
Creates a new instance of ComboBase with default settings. |
|
| Method Summary | |
|---|---|
protected void |
checkHideCombo(PreviewEvent pEvent)
Checks if the popup should be hidden. |
protected void |
configurePopup()
Configures the popup before showing. |
int |
getMaxPopupHeight()
Returns the dropdown list's max height. |
int |
getMinPopupWidth()
Returns the dropdown list's min width. |
Widget |
getPopupComponent()
Gets the popup component. |
void |
hidePopup()
Hides the popup. |
protected void |
onDetach()
|
protected void |
onRender(Element parent,
int index)
|
protected void |
onTriggerClick(ComponentEvent pEvent)
|
protected void |
onWindowResize(int width,
int height)
|
void |
setMaxPopupHeight(int pMaxHeight)
Sets the maximum height in pixels of the popup in pixels (defaults to 300). |
void |
setMinPopupWidth(int pMinWidth)
Sets the minimum width of the popup in pixels (defaults to 70). |
void |
setPopupComponent(BoxComponent pComponent)
Sets the popup component. |
void |
showPopup()
Shows the popup. |
protected boolean |
validateBlur(DomEvent e,
Element target)
|
| 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 ComboBase()
ComboBase with default settings.
| Method Detail |
|---|
protected void onTriggerClick(ComponentEvent pEvent)
onTriggerClick in class TriggerField<M>protected void onDetach()
onDetach in class Component
protected void onWindowResize(int width,
int height)
onWindowResize in class Component
protected void onRender(Element parent,
int index)
onRender in class TriggerField<M>
protected boolean validateBlur(DomEvent e,
Element target)
validateBlur in class TriggerField<M>protected void checkHideCombo(PreviewEvent pEvent)
pEvent - the eventpublic void hidePopup()
public void showPopup()
protected void configurePopup()
public void setPopupComponent(BoxComponent pComponent)
pComponent - the component to be show in the popuppublic Widget getPopupComponent()
public void setMaxPopupHeight(int pMaxHeight)
pMaxHeight - the max heightpublic int getMaxPopupHeight()
public void setMinPopupWidth(int pMinWidth)
pMinWidth - the min widthpublic int getMinPopupWidth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||