| Field Summary | |
|---|---|
| static String | CSS color property
|
| static String | jsx30textbox
|
| static String | as needed by content
|
| static String | none
|
| static String | persistent scrollbars
|
| static int | password type 2 |
| static int | texbox type 0 |
| static int | text area type 1 |
| static String | email |
| static String | letter |
| static String | none |
| static String | numbers only |
| static String | telephone |
| static String | us ssn |
| static String | uszip |
| static int | no wrap |
| static int | wrap text (default) |
| Constructor Summary | |
|---|---|
| void | init(strName : String, vntLeft : int | String, vntTop : int | String, vntWidth : int | String, vntHeight : int | String, strValue : String, TYPE : String) instance initializer |
| Method Summary | |
|---|---|
| void | beep() call to designate an error or alert the user's attention to the textbox on-screen. |
| boolean | validates form field, ensuring it contains the correct data set |
| String | Returns value of textbox object when it was first initialized. |
| int | if TYPE for the object is jsx3.gui.TextBox.TYPETEXT, and this returns a positive integer, the maxlen property for the textbox will be set to this value; returns null if no value found |
| int | getType() Returns the type of TextBox. |
| String | Returns the custom validation expression (a regular expression pattern to match). |
| String | Returns the ID (CONSTANT) for one of the pre-canned regular expression filters that can be used to validate the user's response. |
| String | getValue() logically tries to determine the value for the text box by 1) checking for value of on-screen VIEW; 2) checking for 'value' property for in-memory MODEL 3) checking getDefaultValue() for value when object was first initialized. |
| static String | Deprecated. |
| String | getWrap() Returns the text-wrapping/ word-breaking property for object if object type is jsx3.gui.TextBox.TYPETEXTAREA. |
| String | paint() Returns the DHTML, used for this object's on-screen view. |
| jsx3.gui.TextBox | setDefaultValue(strValue : String) set during object initialization; useful for tracking edits/updates to an object by doing a string comparison between getValue() and getDefaultValue();
returns a reference to self to facilitate method chaining |
| jsx3.gui.TextBox | setMaxLength(intMaxLength : int) if TYPE for the object is jsx3.gui.TextBox.TYPETEXT, setting this to a positive integer affects the maxlen property for the textbox;
returns a reference to self to facilitate method chaining |
| jsx3.gui.TextBox | setOverflow(OVERFLOW : String) Sets the overflow property of this object, which defines how its on-screen view will behave when its contents
are larger than its specified width and/or height. |
| jsx3.gui.TextBox | Sets the type of jsx3.gui.TextBox
returns a reference to self to facilitate method chaining |
| jsx3.gui.TextBox | setValidationExpression(strValidationExpression : String) Sets the custom validation expression (a regular expression pattern to match). |
| jsx3.gui.TextBox | setValidationType(VALIDATIONTYPE : String) when set, applies one of the pre-canned regular expression filters that can be used to validate the user's response;
returns a reference to self to facilitate method chaining. |
| jsx3.gui.TextBox | updates value property for both on-screen VIEW (if object is painted) and in-memory MODEL;
returns a reference to self to facilitate method chaining |
| jsx3.gui.TextBox | Sets the text-wrapping/ word-breaking property for object if object type is jsx3.gui.TextBox.TYPETEXTAREA. |
| Methods Inherited From jsx3.gui.Form |
|---|
| doKeyBinding, doReset, getDisabledBackgroundColor, getDisabledColor, getEnabled, getKeyBinding, getRequired, getValidationState, setDisabledBackgroundColor, setDisabledColor, setEnabled, setKeyBinding, setRequired, setValidationState |
| 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, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setPadding, setRelativePosition, setTagName, setText, 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 |
|---|
| focus, 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 |
|---|
| Constructor Detail |
|---|
| Method Detail |
|---|
TYPETEXTAREA.OVERFLOWNORMAL, OVERFLOWAUTO, or OVERFLOWSCROLL.