X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/output/Ext.form.TimeField.html diff --git a/docs/output/Ext.form.TimeField.html b/docs/output/Ext.form.TimeField.html index 8a8c16f1..d4f5e565 100644 --- a/docs/output/Ext.form.TimeField.html +++ b/docs/output/Ext.form.TimeField.html @@ -1,4 +1,4 @@ -
Package: | Ext.form |
Defined In: | TimeField.js |
Class: | TimeField |
Extends: | ComboBox |
xtype: | timefield |
Package: | Ext.form |
Defined In: | TimeField.js |
Class: | TimeField |
Extends: | ComboBox |
new Ext.form.TimeField({
minValue: '9:00 AM',
maxValue: '6:00 PM',
@@ -7,14 +7,14 @@
with no filtering (defaults to '')
Note: this config is only used when this Component is rendered -by a Container which has been configured to use an AnchorLayout +by a Container which has been configured to use an AnchorLayout (or subclass thereof). based layout manager, for example:
layout: 'anchor' // or 'form', or 'absolute'
See Ext.layout.AnchorLayout.anchor also.
See Ext.layout.AnchorLayout.anchor also.
Specify the id of the element, a DOM element or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component.
{tag: "input", type: "text", size: "24", autocomplete: "off"}
A tag name or DomHelper spec used to create the Element which will +encapsulate this Component.
+You do not normally need to specify this. For the base classes Ext.Component, Ext.BoxComponent, +and Ext.Container, this defaults to 'div'. The more complex Ext classes use a more complex +DOM structure created by their own onRender methods.
+This is intended to allow the developer to create application-specific utility Components encapsulated by +different DOM elements. Example usage:
{
+ xtype: 'box',
+ autoEl: {
+ tag: 'img',
+ src: 'http://www.example.com/example.jpg'
+ }
+}, {
+ xtype: 'box',
+ autoEl: {
+ tag: 'blockquote',
+ html: 'autoEl is cool!'
+ }
+}, {
+ xtype: 'container',
+ autoEl: 'ul',
+ cls: 'ux-unordered-list',
+ items: {
+ xtype: 'box',
+ autoEl: 'li',
+ html: 'First list item'
+ }
+}
True to use height:'auto', false to use fixed height (or allow it to be managed by its parent +Container's layout manager. Defaults to false.
+Note: Although many components inherit this config option, not all will +function as expected with a height of 'auto'. Setting autoHeight:true means that the +browser will manage height based on the element's contents, and that Ext will not manage it at all.
+If the browser is managing the height, be aware that resizes performed by the browser in response +to changes within the structure of the Component cannot be detected. Therefore changes to the height might +result in elements needing to be synchronized with the new height. Example:
var w = new Ext.Window({
+ title: 'Window',
+ width: 600,
+ autoHeight: true,
+ items: {
+ title: 'Collapse Me',
+ height: 400,
+ collapsible: true,
+ border: false,
+ listeners: {
+ beforecollapse: function() {
+ w.el.shadow.hide();
+ },
+ beforeexpand: function() {
+ w.el.shadow.hide();
+ },
+ collapse: function() {
+ w.syncShadow();
+ },
+ expand: function() {
+ w.syncShadow();
+ }
+ }
+ }
+}).show();
true
to use overflow:'auto' on the components layout element and show scroll bars automatically when
+necessary, false
to clip any overflowing content (defaults to false
).True to use width:'auto', false to use fixed width (or allow it to be managed by its parent +Container's layout manager. Defaults to false.
+Note: Although many components inherit this config option, not all will +function as expected with a width of 'auto'. Setting autoWidth:true means that the +browser will manage width based on the element's contents, and that Ext will not manage it at all.
+If the browser is managing the width, be aware that resizes performed by the browser in response +to changes within the structure of the Component cannot be detected. Therefore changes to the width might +result in elements needing to be synchronized with the new width. For example, where the target element is:
<div id='grid-container' style='margin-left:25%;width:50%'></div>
+A Panel rendered into that target element must listen for browser window resize in order to relay its
+child items when the browser changes its width:var myPanel = new Ext.Panel({
+ renderTo: 'grid-container',
+ monitorResize: true, // relay on browser resize
+ title: 'Panel',
+ height: 400,
+ autoWidth: true,
+ layout: 'hbox',
+ layoutConfig: {
+ align: 'stretch'
+ },
+ defaults: {
+ flex: 1
+ },
+ items: [{
+ title: 'Box 1',
+ }, {
+ title: 'Box 2'
+ }, {
+ title: 'Box 3'
+ }],
+});
The maximum value in pixels which this BoxComponent will set its height to.
+Warning: This will override any size management applied by layout managers.
The maximum value in pixels which this BoxComponent will set its width to.
+Warning: This will override any size management applied by layout managers.
The minimum value in pixels which this BoxComponent will set its height to.
+Warning: This will override any size management applied by layout managers.
The minimum value in pixels which this BoxComponent will set its width to.
+Warning: This will override any size management applied by layout managers.
The CSS class used to to apply to the special clearing div rendered directly after each form field wrapper to provide field clearing (defaults to 'x-form-clear-left').
@@ -43,7 +147,22 @@ directly after each form field wrapper to provide field clearing (defaults to which has been configured to use the FormLayout layout manager (e.g. Ext.form.FormPanel or specifying layout:'form') and either a fieldLabel is specified or isFormField=true is specified.See Ext.layout.FormLayout.fieldTpl also.
See Ext.layout.FormLayout.fieldTpl also.
Optional. Specify an existing HTML element, or the id
of an existing HTML element to use as the content
+for this component.
layout
+scheme that the Component may use. It is just HTML. Layouts operate on child items
.x-hidden
or the x-hide-display
CSS class to
+prevent a brief flicker of the content before it is rendered to the panel.An optional extra CSS class that will be added to this component's container. This can be useful for adding customized styles to the container or any of its children using standard CSS rules. See Ext.layout.ContainerLayout.extraCls also.
@@ -54,28 +173,30 @@ which assigns a value by default:ctCls: 'x-box-layout-ct custom-class'
-tpl
to
+update the content area of the Component.Be aware that conformant with the HTML specification, disabled Fields will not be submitted.
See also valueField.
Note: if using a ComboBox in an Editor Grid a renderer will be needed to show the displayField when the editor is not active.
The label text to display next to this Component (defaults to '').
Note: this config is only used when this Component is rendered by a Container which has been configured to use the FormLayout layout manager (e.g. @@ -89,7 +210,13 @@ Example use:
new Ext.FormPanel({
xtype: 'textfield',
fieldLabel: 'Name'
}]
-});
Note: this config is only used when this Component is rendered
+by a Container which has been configured to use a BoxLayout.
+Each child Component with a flex
property will be flexed either vertically (by a VBoxLayout)
+or horizontally (by an HBoxLayout) according to the item's relative flex
value
+compared to the sum of all Components with flex value specified. Any child items that have
+either a
flex = 0
or flex = undefined
will not be 'flexed' (the initial size will not be changed).
The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to access the component later and you do not have an object reference available (e.g., using Ext.getCmp).
@@ -148,12 +279,15 @@ sub-elements using this component's id as the parent.Note: to avoid complications imposed by a unique id also see
itemId
and ref
.
Note: to access the container of an item see ownerCt
.
An additional CSS class to apply to the div wrapping the form item +is not supported and should be avoided.
Note: this config is only used when this Component is rendered by a Container which +has been configured to use the FormLayout layout manager (e.g. +Ext.form.FormPanel or specifying layout:'form').
An additional CSS class to apply to the div wrapping the form item element of this field. If supplied, itemCls at the field level will override the default itemCls supplied at the container level. The value specified for itemCls will be added to the default class ('x-form-item').
@@ -162,22 +296,22 @@ the default itemCls supplied at the container level. The value s you to write standard CSS rules that can apply to the field, the label (if specified), or any other element within the markup for the field.Note: see the note for fieldLabel.
// Apply a style to the field's label:
+Example use:// Apply a style to the field's label:
<style>
.required .x-form-item-label {font-weight:bold;color:red;}
</style>
new Ext.FormPanel({
- height: 100,
- renderTo: Ext.getBody(),
- items: [{
- xtype: 'textfield',
- fieldLabel: 'Name',
- itemCls: 'required' //this label will be styled
- },{
- xtype: 'textfield',
- fieldLabel: 'Favorite Color'
- }]
+ height: 100,
+ renderTo: Ext.getBody(),
+ items: [{
+ xtype: 'textfield',
+ fieldLabel: 'Name',
+ itemCls: 'required' //this label will be styled
+ },{
+ xtype: 'textfield',
+ fieldLabel: 'Favorite Color'
+ }]
});
An itemId can be used as an alternative way to get a reference to a component
when no object reference is available. Instead of using an id
with
@@ -261,9 +395,11 @@ Example use:
new Ext.FormPanel({
(defaults to true)
[ 'tl-bl?', [6,0] ]
(defaults to 'tl-bl?')-Value Description ------------ ---------------------------------------------------------------------- -qtip Display a quick tip when the user hovers over the field -title Display a default browser title attribute popup -under Add a block div beneath the field containing the error text -side Add an error icon to the right of the field with a popup on hover -[element id] Add the error text directly to the innerHTML of the specified element -
qtip
Display a quick tip containing the message when the user hovers over the field. This is the default.
+title
Display the message in a default browser title attribute popup.under
Add a block div beneath the field containing the error message.side
Add an error icon to the right of the field, displaying the message in a popup on hover.[element id]
Add the error message directly to the innerHTML of the specified element.Note: this only sets the element's readOnly DOM attribute.
-Setting readOnly=true
, for example, will not disable triggering a
-ComboBox or DateField; it gives you the option of forcing the user to choose
-via the trigger without typing in the text box. To hide the trigger use
-hideTrigger
.
A path specification, relative to the Component's ownerCt specifying into which -ancestor Container to place a named reference to this Component.
+as it will be passed on the querystring (defaults to 'query')A path specification, relative to the Component's ownerCt
+specifying into which ancestor Container to place a named reference to this Component.
The ancestor axis can be traversed by using '/' characters in the path. For example, to put a reference to a Toolbar Button into the Panel which owns the Toolbar:
var myGrid = new Ext.grid.EditorGridPanel({
title: 'My EditorGridPanel',
@@ -475,9 +605,10 @@ For example, to put a reference to a Toolbar Button into the Panel which owns
}
}
});
-In the code above, if the ref had been 'saveButton'
the reference would
-have been placed into the Toolbar. Each '/' in the ref moves up one level from the
-Component's ownerCt.
In the code above, if the ref
had been 'saveButton'
+the reference would have been placed into the Toolbar. Each '/' in the ref
+moves up one level from the Component's ownerCt
.
See also mode.
Note: this config is only used when this BoxComponent is a child item of a TabPanel.
+A string to be used as innerHTML (html tags are accepted) to show in a tooltip when mousing over +the associated tab selector element. Ext.QuickTips.init() +must be called in order for the tips to render.The template string, or Ext.XTemplate instance to @@ -609,7 +748,11 @@ names from the Combo's itemSelector for additional details.
Also see itemSelector for additional details.
Ext.XTemplate.overwrite
).A custom validation function to be called during field validation (validateValue) (defaults to null). If specified, this function will be called first, allowing the -developer to override the default validation process. This function will be passed the current -field value and expected to return boolean true if the value is valid or a string -error message if invalid.
This function will be passed the following Parameters:
+value
: Mixed
+This function is to Return:
+true
: Boolean
+true
if the value is validmsg
: String
+Note: use of a valueField requires the user to make a selection in order for a value to be mapped. See also hiddenName, hiddenValue, and displayField.
new
single: true // Remove the listener after first invocation
}
});
-See also getEl
See also getEl
The label Element associated with this Field. Only available after this Field has been rendered by a +Ext.layout.FormLayout layout manager.
true
.Note: to access items within the container see itemId.
Method | Defined By | |||
---|---|---|---|---|
TimeField( Object config )
- Create a new TimeField Create a new TimeField Parameters:
| TimeField | |||
addClass( string cls )
- :
- Ext.ComponentAdds a CSS class to the component's underlying element. Adds a CSS class to the component's underlying element. Parameters:
| Component | |||
addEvents( Object object )
- :
- voidUsed to define events on this Observable Used to define events on this Observable Parameters:
| Observable | |||
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
+setting is true . | Field | |||
ownerCt : Ext.Container This Component's owner Container (defaults to undefined, and is set automatically when
+this Component is added to a C... | Component | |||
refOwner : Ext.Container The ancestor Container into which the ref reference was inserted if this Component
+is a child of a Container, and has... The ancestor Container into which the ref reference was inserted if this Component
+is a child of a Container, and has been configured with a ref . | Component | |||
rendered : Boolean True if this component has been rendered. Read-only. | Component | |||
startValue : mixed The value that the Field had at the time it was last focused. This is the value that is passed
+to the change event wh... The value that the Field had at the time it was last focused. This is the value that is passed +to the change event which is fired if the value has been changed when the Field is blurred. +This will be undefined until the Field has been visited. Compare originalValue. | Field | |||
view : Ext.DataView The DataView used to display the ComboBox's options. | ComboBox |
Method | Defined By | ||
---|---|---|---|
TimeField( Object config )
+ Create a new TimeField Create a new TimeField Parameters:
| TimeField | ||
addClass( string cls )
+ :
+ Ext.ComponentAdds a CSS class to the component's underlying element. Adds a CSS class to the component's underlying element. Parameters:
| Component | ||
addEvents( Object|String o , string Optional. )
+ :
+ voidAdds the specified events to the list of events which this Observable may fire. Adds the specified events to the list of events which this Observable may fire. Parameters:
| Observable | ||
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to this object. Appends an event handler to this object. Parameters:
| Observable | ||
applyToMarkup( String/HTMLElement el )
:
voidApply this component to existing markup that is valid. With this function, no call to render() is required. Apply this component to existing markup that is valid. With this function, no call to render() is required. Parameters:
| Component | ||
clearInvalid()
@@ -800,9 +963,41 @@ query allowing the query action to be canceled if needed. minChars config option. It
also clears any filter previously saved in the current store (defaults to false) Returns:
| ComboBox | ||
enable()
:
- Ext.Component Enable this component and fire the 'enable' event. Enable this component and fire the 'enable' event. Parameters:
| Component | ||
enableBubble( Object events )
- :
- voidUsed to enable bubbling of events Used to enable bubbling of events Parameters:
| Observable | ||
expand()
+ Ext.Component Enable this component and fire the 'enable' event. Enable this component and fire the 'enable' event. Parameters:
| Component | ||
enableBubble( String/Array events )
+ :
+ voidEnables events fired by this Observable to bubble up an owner hierarchy by calling
+this.getBubbleTarget() if present... Enables events fired by this Observable to bubble up an owner hierarchy by calling
+ This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default +implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to +access the required target more quickly. +Example:
Parameters:
| Observable | ||
expand()
:
void Expands the dropdown list if it is currently hidden. Fires the expand event on completion. Expands the dropdown list if it is currently hidden. Fires the expand event on completion. Parameters:
| ComboBox | ||
findParentBy( Function fn )
:
@@ -817,7 +1012,9 @@ An event may be set to bubble up an Obse...Fires the An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by calling enableBubble. Parameters:
| Observable | ||
focus( [Boolean selectText ], [Boolean/Number delay ] )
:
- Ext.ComponentTry to focus this component. Try to focus this component. Parameters:
| Component | ||
getBox( [Boolean local ] )
+ Ext.ComponentTry to focus this component. Try to focus this component. Parameters:
| Component | ||
getActiveError()
+ :
+ String Gets the active error message for this field. Gets the active error message for this field. Parameters:
| Field | ||
getBox( [Boolean local ] )
:
ObjectGets the current box measurements of the component's underlying element. Gets the current box measurements of the component's underlying element. Parameters:
| BoxComponent | ||
getBubbleTarget()
:
@@ -899,7 +1096,7 @@ attribute of the field if available. Paramete
:
Mixed Returns the raw data value which may or may not be a valid, defined value. To return a normalized value see getValue... Returns the raw data value which may or may not be a valid, defined value. To return a normalized value see getValue. Parameters:
| Field | ||
getResizeEl()
:
- void Returns the outermost Element of this Component which defines the Components overall size.
+ Ext.Element Returns the outermost Element of this Component which defines the Components overall size.
Usually this will return t... Returns the outermost Element of this Component which defines the Components overall size. Usually this will return the same Element as An example is a ComboBox. It is encased in a wrapping Element which
contains both the Parameters:
| BoxComponent | ||
getSize()
+This Element is returned as the resizeEl .Parameters:
| BoxComponent | ||
getSize()
:
Object Gets the current size of the component's underlying element. Gets the current size of the component's underlying element. Parameters:
| BoxComponent | ||
getStore() : @@ -951,7 +1148,11 @@ is not disabled), false otherwise. | Returns true if the dropdown list is expanded, else false. Returns true if the dropdown list is expanded, else false. Parameters:
| ComboBox | |
isValid( Boolean preventMark )
:
- BooleanReturns whether or not the field value is currently valid Returns whether or not the field value is currently valid Parameters:
| Field | ||
isVisible()
+ Boolean Returns whether or not the field value is currently valid by
+validating the processed value
+of the field. Note: disab... Returns whether or not the field value is currently valid by
+validating the processed value
+of the field. Note: disabled fields are ignored. Parameters:
| Field | ||
isVisible()
:
Boolean Returns true if this component is visible. Returns true if this component is visible. Parameters:
| Component | ||
isXType( String xtype , [Boolean shallow ] )
:
@@ -968,16 +1169,50 @@ to participate in determination of inherited xtypes.
var isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instanceParameters:
| Component | ||
markInvalid( [String msg ] )
:
- voidMark this field as invalid, using msgTarget to determine how to display the error and
-applying invalidClass to the fi... Mark this field as invalid, using msgTarget to determine how to display the error and
-applying invalidClass to the field's element. Parameters:
| Field | ||
nextSibling()
+ void Display an error message associated with this field, using msgTarget to determine how to
+display the message and appl... Display an error message associated with this field, using msgTarget to determine how to +display the message and applying invalidClass to the field's UI element. +Note: this method does not cause the Field's validate method to return Parameters:
| Field | ||
mon( Observable|Element item , Object|String ename , Function fn , Object scope , Object opt )
+ :
+ voidAdds listeners to any Observable object (or Elements) which are automatically removed when this Component
+is destroye... Adds listeners to any Observable object (or Elements) which are automatically removed when this Component +is destroyed. Usage:
+or:
Parameters:
| Component | ||
mun( Observable|Element item , Object|String ename , Function fn , Object scope )
+ :
+ voidRemoves listeners that were added by the mon method. Removes listeners that were added by the mon method. Parameters:
| Component | ||
nextSibling()
:
Ext.Component Returns the next component in the owning container Returns the next component in the owning container Parameters:
| Component | ||
on( String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to this object (shorthand for addListener.) Appends an event handler to this object (shorthand for addListener.) Parameters:
| Observable | ||
previousSibling()
+If omitted, defaults to the object which fired the event.options : Object(optional) An object containing handler configuration.
| Observable | ||
onTriggerClick( EventObject e )
:
- Ext.ComponentReturns the previous component in the owning container Returns the previous component in the owning container Parameters:
| Component | ||
purgeListeners()
+ void The function that should handle the trigger's click event. This method does nothing by default
+until overridden by a... The function that should handle the trigger's click event. This method does nothing by default
+until overridden by an implementing function. See Ext.form.ComboBox and Ext.form.DateField for
+sample implementations. Parameters:
| TriggerField | ||
previousSibling()
+ :
+ Ext.Component Returns the previous component in the owning container Returns the previous component in the owning container Parameters:
| Component | ||
processValue( Mixed value )
+ :
+ voidThis method should only be overridden if necessary to prepare raw values
+for validation (see validate and isValid). ... | Field | ||
purgeListeners()
:
void Removes all listeners for this object Removes all listeners for this object Parameters:
| Observable | ||
relayEvents( Object o , Array events )
:
@@ -1031,20 +1266,27 @@ The sto...Select an item in the dropdown list by its dat
The store must be loaded and the list expanded for this function to work, otherwise use setValue. Parameters:
| ComboBox | ||
selectText( [Number start ], [Number end ] )
:
- voidSelects text in this field Selects text in this field Parameters:
| TextField | ||
setDisabled( Boolean disabled )
+ voidSelects text in this field Selects text in this field Parameters:
| TextField | ||
setAutoScroll( Boolean scroll )
+ :
+ Ext.BoxComponentSets the overflow on the content element of the component. Sets the overflow on the content element of the component. Parameters:
| BoxComponent | ||
setDisabled( Boolean disabled )
:
Ext.ComponentConvenience function for setting disabled/enabled by boolean. Convenience function for setting disabled/enabled by boolean. Parameters:
| Component | ||
setEditable( Boolean value )
:
- voidAllow or prevent the user from directly editing the field text. If false is passed,
-the user will only be able to mo... Allow or prevent the user from directly editing the field text. If false is passed,
-the user will only be able to modify the field using the trigger. This method
-is the runtime equivalent of setting the 'editable' config option at config time. Parameters:
| TriggerField | ||
setHeight( Number height )
+ voidParameters:
| TriggerField | ||
setHeight( Number height )
:
Ext.BoxComponentSets the height of the component. This method fires the resize event. Sets the height of the component. This method fires the resize event. Parameters:
| BoxComponent | ||
setPagePosition( Number x , Number y )
+Returns:
| BoxComponent | ||
setMaxValue( Date/String value )
+ :
+ voidReplaces any existing maxValue with the new time and refreshes the store. Replaces any existing maxValue with the new time and refreshes the store. Parameters:
| TimeField | ||
setMinValue( Date/String value )
+ :
+ voidReplaces any existing minValue with the new time and refreshes the store. Replaces any existing minValue with the new time and refreshes the store. Parameters:
| TimeField | ||
setPagePosition( Number x , Number y )
:
Ext.BoxComponentSets the page XY position of the component. To set the left and top instead, use setPosition.
This method fires the ... Sets the page XY position of the component. To set the left and top instead, use setPosition.
@@ -1054,7 +1296,13 @@ This method fires the Sets the left and top of the component. To set the page XY position instead, use setPagePosition.
This method fires the move event. Parameters:
| BoxComponent | ||
setRawValue( Mixed value )
:
- MixedSets the underlying DOM field's value directly, bypassing validation. To set the value with validation see setValue. Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see setValue. Parameters:
| Field | ||
setSize( Mixed width , Mixed height )
+ MixedSets the underlying DOM field's value directly, bypassing validation. To set the value with validation see setValue. Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see setValue. Parameters:
| Field | ||
setReadOnly( Boolean value )
+ :
+ voidParameters:
| TriggerField | ||
setSize( Mixed width , Mixed height )
:
Ext.BoxComponentSets the width and height of this BoxComponent. This method fires the resize event. This method can accept
either wid... Sets the width and height of this BoxComponent. This method fires the resize event. This method can accept
@@ -1093,15 +1341,74 @@ after the Force the component's size to recalculate based on the underlying element's current height and width. Force the component's size to recalculate based on the underlying element's current height and width. Parameters:
| BoxComponent | ||
un( String eventName , Function handler , [Object scope ] )
:
- voidRemoves an event handler (shorthand for removeListener.) Removes an event handler (shorthand for removeListener.) Parameters:
| Observable | ||
updateBox( Object box )
+ voidRemoves an event handler (shorthand for removeListener.) Removes an event handler (shorthand for removeListener.) Parameters:
| Observable | ||
update( Mixed htmlOrData , [Boolean loadScripts ], [Function callback ] )
+ :
+ voidUpdate the content area of a component. Update the content area of a component. Parameters:
| Component | ||
updateBox( Object box )
:
Ext.BoxComponentSets the current box measurements of the component's underlying element. Sets the current box measurements of the component's underlying element. Parameters:
| BoxComponent | ||
validate()
:
Boolean Validates the field value Validates the field value Parameters:
| Field | ||
validateValue( Mixed value )
:
BooleanValidates a value according to the field's validation rules and marks the field as invalid
-if the validation fails Validates a value according to the field's validation rules and marks the field as invalid
-if the validation fails Parameters:
| TextField |
Event | Defined By | |
---|---|---|
afterrender :
+if the validation fails. V... Validates a value according to the field's validation rules and marks the field as invalid +if the validation fails. Validation rules are processed in the following order: +
Parameters: | TextField |
Event | Defined By | |
---|---|---|
added :
+ ( Ext.Component this , Ext.Container ownerCt , number index )
+ Fires when a component is added to an Ext.Container Fires when a component is added to an Ext.Container Listeners will be called with the following arguments:
| Component | |
afterrender :
( Ext.Component this )
Fires after the component rendering is finished.
The afterrender event is fired after this Component has been rendere... Fires after the component rendering is finished. @@ -1183,7 +1490,9 @@ is set to true.
is set to true. Keyup input field event. This event only fires if enableKeyEvents
is set to true. Listeners will be called with the following arguments:
| TextField | |
move :
( Ext.Component this , Number x , Number y )
- Fires after the component is moved. Fires after the component is moved. Listeners will be called with the following arguments:
| BoxComponent | |
render :
+ Fires after the component is moved. Fires after the component is moved. Listeners will be called with the following arguments:
| BoxComponent | |
removed :
+ ( Ext.Component this , Ext.Container ownerCt )
+ Fires when a component is removed from an Ext.Container Fires when a component is removed from an Ext.Container Listeners will be called with the following arguments:
| Component | |
render :
( Ext.Component this )
Fires after the component markup is rendered. Fires after the component markup is rendered. Listeners will be called with the following arguments:
| Component | |
resize :
( Ext.Component this , Number adjWidth , Number adjHeight , Number rawWidth , Number rawHeight )
|