| Field Summary | |
|---|---|
| static String | The URL of the arrow image. |
| static String | Deprecated. |
| static String | Deprecated. Renamed to DEFAULTXSLURL.
|
| static String | Deprecated. |
| static String | jsx30select_select
|
| static String | Deprecated. This value is now localized.
|
| static String | The URL of the default XSL template of a normal select box. |
| static String | Deprecated. This value is now localized.
|
| static String | Deprecated. This value is now localized.
|
| static String | The URL of the mouse over background image. |
| static String | The URL of the selected background image. |
| static String | Deprecated. |
| static String | Deprecated. Renamed to DEFAULTXSLURL.
|
| static int | The number of milliseconds of delay for the combo typeahead function. |
| static int | Value of the type field indicating a combo select box. |
| static int | Value of the type field indicating a normal select box. |
| Constructor Summary | |
|---|---|
| void | init(strName : String, vntLeft : int | String, vntTop : int | String, vntWidth : int | String, vntHeight : int | String, strSelectedValue : String) The instance initializer. |
| Method Summary | |
|---|---|
| int | Returns STATEVALID if this select box is not required or if it is required and its value is not
empty. |
| HTMLElement | focus() Gives focus to this select box. |
| String | Returns the text to display in this select box if the value of this select box is null. |
| int | Returns the maximum length allowed for the input field of this combo control. |
| String | getText() If this is a normal select box returns the value of the jsxtext attribute of the selected CDF record,
or if this is a combo select box returns the current value. |
| int | getType() Returns the type of this select box. |
| String | getValue() Returns the value of this select box. |
| static String | Deprecated. |
| jsx3.xml.Document | getXSL() Returns the XSL appropriate to the select type (either combo or select) if no custom XSLT is specified. |
| void | Hides the drop-down portion of this select control. |
| String | paint() Returns the DHTML representation of this select box. |
| jsx3.gui.Select | Redraws one record from the CDF data source of this select box. |
| jsx3.gui.Select | setDefaultText(strDefaultText : String) Sets the text to display in this select box if the value of this select box is null. |
| jsx3.gui.Select | setMaxLength(intMaxLength : int) Sets the maximum length allowed for the input field of this combo control. |
| jsx3.gui.Select | Deprecated. |
| jsx3.gui.Select | Sets the type of this select box. |
| jsx3.gui.Select | Sets the selected record of this select control. |
| void | show() Displays the list of options for this select box. |
| Methods Inherited From jsx3.gui.Form |
|---|
| doKeyBinding, doReset, getDisabledBackgroundColor, getDisabledColor, getEnabled, getKeyBinding, getRequired, getValidationState, setDisabledBackgroundColor, setDisabledColor, setEnabled, setKeyBinding, setRequired, setValidationState |
| Methods Inherited From jsx3.xml.Cacheable |
|---|
| clearXmlData, getNodeSet, getShareResources, getXML, getXMLId, getXMLString, getXMLTransformers, getXMLURL, getXSLId, getXSLParams, getXSLString, getXSLURL, getXmlAsync, getXmlBind, onXmlBinding, removeXSLParam, removeXSLParams, resetCacheData, resetData, resetXmlCacheData, resetXslCacheData, setNodeSet, setShareResources, setSourceXML, setXMLId, setXMLString, setXMLTransformers, setXMLURL, setXSLId, setXSLParam, setXSLString, setXSLURL, setXmlAsync, setXmlBind |
| Methods Inherited From jsx3.xml.CDF |
|---|
| adoptRecord, adoptRecordBefore, convertProperties, deleteRecord, deleteRecordProperty, getRecord, getRecordNode, insertRecord, insertRecordBefore, insertRecordNode, insertRecordProperty, reloadFromSource |
| Methods Inherited From jsx3.gui.Block |
|---|
| getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask |
| Methods Inherited From jsx3.gui.Interactive |
|---|
| doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy |
| Methods Inherited From jsx3.gui.Painted |
|---|
| getAbsolutePosition, getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute, setDynamicProperty |
| Methods Inherited From jsx3.util.EventDispatcher |
|---|
| publish, subscribe, unsubscribe, unsubscribeAll |
| Methods Inherited From jsx3.lang.Object |
|---|
| clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf |
| Field Detail |
|---|
DEFAULTXSLURL.
DEFAULTXSLURL.
| Constructor Detail |
|---|
| Method Detail |
|---|
STATEVALID if this select box is not required or if it is required and its value is not
empty. If this select is of type combo then any value other than an empty string is valid, otherwise only values
corresponding to an actual CDF record of this select are valid.jsx3.gui.Form.STATEVALID or jsx3.gui.Form.STATEINVALID.
null.
If no value has been explicitly set with setDefaultText() a value appropriate to the server locale
is returned.TYPECOMBO.jsxtext attribute of the selected CDF record,
or if this is a combo select box returns the current value.jsxid attribute of the selected CDF record.null if no record is selected.
true, the form control will be focused after hiding the drop-down.
strRecordId is equal to the
selected record id, the text of this select box is set to the value of the record's jsxtext attribute.INSERT, UPDATE, or DELETE.null.getText() either.TYPESELECT or TYPECOMBO.SELECT event only under the deprecated
3.0 model event protocol.