com.gwtextux.client.widgets.form
Class MultiSelect

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.gwtext.client.widgets.Component
              extended by com.gwtext.client.widgets.BoxComponent
                  extended by com.gwtext.client.widgets.form.Field
                      extended by com.gwtextux.client.widgets.form.MultiSelect
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.gwtext.client.widgets.Observable

public class MultiSelect
extends com.gwtext.client.widgets.form.Field


Field Summary
static java.lang.String DATA_FIELD_DISPLAY
           
static java.lang.String DATA_FIELD_VALUE
           
static java.lang.String DEFAULT_DELIMITER
           
 
Fields inherited from class com.gwtext.client.widgets.Component
config, id
 
Constructor Summary
MultiSelect()
           
MultiSelect(java.lang.String fieldLabel)
           
MultiSelect(java.lang.String fieldLabel, java.lang.String name)
           
MultiSelect(java.lang.String fieldLabel, java.lang.String name, int width)
           
MultiSelect(java.lang.String fieldLabel, java.lang.String name, int width, int height)
           
MultiSelect(java.lang.String fieldLabel, java.lang.String name, int width, int height, java.lang.Object[][] data)
           
MultiSelect(java.lang.String fieldLabel, java.lang.String name, int width, java.lang.Object[][] data)
           
 
Method Summary
protected  com.google.gwt.core.client.JavaScriptObject create(com.google.gwt.core.client.JavaScriptObject config)
           
 java.lang.String getDelimiter()
           
 java.lang.String getValue()
           
 java.lang.String getValue(java.lang.String valueField)
           
 java.util.List getValueAsList()
           
 java.lang.String getXType()
           
 void reset()
           
 void setAllowBlank(boolean allowBlank)
           
 void setAllowDup(boolean allowDup)
           
 void setAllowTrash(boolean allowTrash)
           
 void setAppendOnly(boolean appendOnly)
           
 void setBlankText(java.lang.String blankText)
           
 void setCopy(boolean copy)
           
 void setData(java.lang.Object[][] data)
           
 void setDataFields(java.lang.String[] dataFields)
           
 void setDelimiter(java.lang.String delimiter)
           
 void setDisplayField(int displayField)
           
 void setDisplayField(java.lang.String displayField)
           
 void setDragGroup(java.lang.String dragGroup)
           
 void setDropGroup(java.lang.String dropGroup)
           
 void setFocusClass(java.lang.String focusClass)
           
 void setLegend(java.lang.String legend)
           
 void setMaxLength(int maxLength)
           
 void setMaxLengthText(java.lang.String maxLengthText)
           
 void setMinLength(int minLength)
           
 void setMinLengthText(java.lang.String minLengthText)
           
 void setSortDir(com.gwtext.client.core.SortDir sortDir)
           
 void setSortField(java.lang.String sortField)
           
 void setStore(com.gwtext.client.data.Store store)
           
 void setToolbar(com.gwtext.client.widgets.Toolbar toolbar)
           
 void setValue(java.lang.String values)
           
 void setValueField(int valueField)
           
 void setValueField(java.lang.String valueField)
           
 
Methods inherited from class com.gwtext.client.widgets.form.Field
addListener, applyTo, applyTo, clearInvalid, getClearCls, getCls, getFieldLabel, getFocusClass, getInputType, getInvalidClass, getInvalidText, getLabelSeparator, getLabelStyle, getName, getRawValue, getTabindex, getValidationDelay, getValueAsString, hide, isAutoCreate, isDirty, isHideLabel, isReadOnly, isValid, isValid, isValidateOnBlur, markInvalid, setAutoCreate, setAutoCreate, setClearCls, setCls, setDisabled, setFieldClass, setFieldLabel, setFieldMsgTarget, setHideLabel, setInputType, setInvalidClass, setInvalidText, setLabel, setLabelSeparator, setLabelStyle, setMsgFx, setMsgTarget, setName, setRawValue, setReadOnly, setTabIndex, setValidateOnBlur, setValidationDelay, setValidationEvent, setValidationEvent, show, validate
 
Methods inherited from class com.gwtext.client.widgets.BoxComponent
addListener, doOnRender, doOnRender, getAutoHeight, getAutoWidth, getBox, getBox, getConfigPrototype, getHeight, getPosition, getPosition, getSize, getWidth, setAutoHeight, setAutoWidth, setHeight, setHeight, setPagePosition, setPosition, setSize, setSize, setWidth, setWidth, syncSize, updateBox
 
Methods inherited from class com.gwtext.client.widgets.Component
addClass, addClassCreated, addEvent, addEvents, addListener, addListener, addListener, addPlugin, addStyleDependentName, addStyleName, afterRender, beforeDestroy, check, cloneComponent, cloneComponent, cloneConfig, destroy, disable, enable, equals, error, findParentBy, findParentByType, fireEvent, focus, focus, focus, getApplyTo, getAttribute, getAttributeAsBoolean, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAutoShow, getComponentJS, getConfig, getCtCls, getDisabledClass, getEl, getElement, getElement, getElement, getHideMode, getHideParent, getId, getItemId, getJsObj, getOffsetHeight, getOffsetWidth, getOrCreateJsObj, getOwnerContainer, getRenderTo, getStateEvents, getStateId, getStyleElement, getTitle, getXTypes, hashCode, initComponent, isCreated, isDisabled, isHidden, isRendered, isVisible, isXType, isXType, onDestroy, purgeListeners, removeClass, removeStyleDependentName, removeStyleName, render, render, render, render, render, render, resumeEvents, setApplyTo, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAutoEl, setAutoEl, setAutoShow, setCtCls, setDisabledClass, setEl, setEl, setHideMode, setHideParent, setId, setRenderTo, setRenderToID, setStateEvents, setStateId, setStyle, setStyle, setStyleName, setStylePrimaryName, setTitle, setVisible, suspendEvents
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
doAttachChildren, doDetachChildren, getParent, isAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setElement
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
getAbsoluteLeft, getAbsoluteTop, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, setPixelSize, setStyleName, setStyleName, setStylePrimaryName, setVisible, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA_FIELD_DISPLAY

public static final java.lang.String DATA_FIELD_DISPLAY
See Also:
Constant Field Values

DATA_FIELD_VALUE

public static final java.lang.String DATA_FIELD_VALUE
See Also:
Constant Field Values

DEFAULT_DELIMITER

public static final java.lang.String DEFAULT_DELIMITER
See Also:
Constant Field Values
Constructor Detail

MultiSelect

public MultiSelect()

MultiSelect

public MultiSelect(java.lang.String fieldLabel)

MultiSelect

public MultiSelect(java.lang.String fieldLabel,
                   java.lang.String name)

MultiSelect

public MultiSelect(java.lang.String fieldLabel,
                   java.lang.String name,
                   int width)

MultiSelect

public MultiSelect(java.lang.String fieldLabel,
                   java.lang.String name,
                   int width,
                   java.lang.Object[][] data)

MultiSelect

public MultiSelect(java.lang.String fieldLabel,
                   java.lang.String name,
                   int width,
                   int height)

MultiSelect

public MultiSelect(java.lang.String fieldLabel,
                   java.lang.String name,
                   int width,
                   int height,
                   java.lang.Object[][] data)
Method Detail

getXType

public java.lang.String getXType()
Overrides:
getXType in class com.gwtext.client.widgets.form.Field

getValue

public java.lang.String getValue(java.lang.String valueField)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String values)
Overrides:
setValue in class com.gwtext.client.widgets.form.Field

reset

public void reset()
Overrides:
reset in class com.gwtext.client.widgets.form.Field

create

protected com.google.gwt.core.client.JavaScriptObject create(com.google.gwt.core.client.JavaScriptObject config)
Specified by:
create in class com.gwtext.client.widgets.form.Field

setStore

public void setStore(com.gwtext.client.data.Store store)
              throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setDataFields

public void setDataFields(java.lang.String[] dataFields)
                   throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setData

public void setData(java.lang.Object[][] data)
             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setDisplayField

public void setDisplayField(int displayField)
                     throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setDisplayField

public void setDisplayField(java.lang.String displayField)
                     throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setValueField

public void setValueField(int valueField)
                   throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setValueField

public void setValueField(java.lang.String valueField)
                   throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setAllowBlank

public void setAllowBlank(boolean allowBlank)
                   throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setMinLength

public void setMinLength(int minLength)
                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setMaxLength

public void setMaxLength(int maxLength)
                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setBlankText

public void setBlankText(java.lang.String blankText)
                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setMinLengthText

public void setMinLengthText(java.lang.String minLengthText)
                      throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setMaxLengthText

public void setMaxLengthText(java.lang.String maxLengthText)
                      throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setCopy

public void setCopy(boolean copy)
             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setAllowDup

public void setAllowDup(boolean allowDup)
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setAllowTrash

public void setAllowTrash(boolean allowTrash)
                   throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setLegend

public void setLegend(java.lang.String legend)
               throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setFocusClass

public void setFocusClass(java.lang.String focusClass)
                   throws java.lang.IllegalArgumentException
Overrides:
setFocusClass in class com.gwtext.client.widgets.form.Field
Throws:
java.lang.IllegalArgumentException

setDelimiter

public void setDelimiter(java.lang.String delimiter)
                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setDragGroup

public void setDragGroup(java.lang.String dragGroup)
                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setDropGroup

public void setDropGroup(java.lang.String dropGroup)
                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setToolbar

public void setToolbar(com.gwtext.client.widgets.Toolbar toolbar)
                throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setAppendOnly

public void setAppendOnly(boolean appendOnly)
                   throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setSortField

public void setSortField(java.lang.String sortField)
                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setSortDir

public void setSortDir(com.gwtext.client.core.SortDir sortDir)
                throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getDelimiter

public java.lang.String getDelimiter()
                              throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getValueAsList

public java.util.List getValueAsList()