X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..e9397f91ede62d446aed37d23256e8938fc4c335:/docs/output/Ext.form.TwinTriggerField.html?ds=inline diff --git a/docs/output/Ext.form.TwinTriggerField.html b/docs/output/Ext.form.TwinTriggerField.html index 258719ce..2f4bd690 100644 --- a/docs/output/Ext.form.TwinTriggerField.html +++ b/docs/output/Ext.form.TwinTriggerField.html @@ -1,4 +1,10 @@ -
Observable Component BoxComponent Field TextField TriggerField TwinTriggerField
Package: | Ext.form |
Defined In: | TriggerField.js |
Class: | TwinTriggerField |
Extends: | TriggerField |
Observable + Component + BoxComponent + Field + TextField + TriggerField + TwinTriggerField
Package: | Ext.form |
Defined In: | TriggerField.js |
Class: | TwinTriggerField |
Extends: | TriggerField |
Config Options | Defined By | |
---|---|---|
allowBlank : Boolean Specify false to validate that the value's length is > 0 (defaults to
@@ -131,7 +137,10 @@ Warning: This will override any size manag... The maxi Warning: This will override any size mana... The minimum value in pixels which this BoxComponent will set its height to. Warning: This will override any size management applied by layout managers. | BoxComponent | |
boxMinWidth : Number The minimum value in pixels which this BoxComponent will set its width to.
Warning: This will override any size manag... The minimum value in pixels which this BoxComponent will set its width to. -Warning: This will override any size management applied by layout managers. | BoxComponent | |
clearCls : String The CSS class used to to apply to the special clearing div rendered
+ Warning: This will override any size management applied by layout managers. | BoxComponent | |
bubbleEvents : Array An array of events that, when fired, should be bubbled to any parent container.
+See Ext.util.Observable.enableBubble.... An array of events that, when fired, should be bubbled to any parent container. +See Ext.util.Observable.enableBubble. +Defaults to []. | Component | |
clearCls : String The CSS class used to to apply to the special clearing div rendered
directly after each form field wrapper to provide... 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'). @@ -444,9 +453,9 @@ validation fails (defaults to 'The maximum length for this field is {maxL...'The maximum length for this field is {maxLength}') | TextField | |
minLength : Number Minimum input field length required (defaults to 0) | TextField | |
minLengthText : String Error text to display if the minimum length
validation fails (defaults to 'The minimum length for this field is {minL... Error text to display if the minimum length
validation fails (defaults to 'The minimum length for this field is {minLength}') | TextField | |
msgFx : String Experimental The effect used when displaying a validation message under the field
-(defaults to 'normal'). | Field | |
msgTarget<p>The : String location where the message text set through markInvalid should display.
+(defaults to 'normal'). | Field | |
msgTarget : String The location where the message text set through markInvalid should display.
Must be one of the following values:
-<div cla... location where the message text set through markInvalid should display.
+<div... The location where the message text set through markInvalid should display. Must be one of the following values:
| Field | |
name : String The field's HTML name attribute (defaults to '').
+ | Field | |
name : String The field's HTML name attribute (defaults to '').
Note: this property must be set if this field is to be automaticall... The field's HTML name attribute (defaults to '').
Note: this property must be set if this field is to be automatically included with
form submit(). | Field | |
overCls : String An optional extra CSS class that will be added to this component's Element when the mouse moves
@@ -753,7 +762,12 @@ Or a shorthand syntax: : void Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.
This only ta... | TextField | |
clearInvalid()
+This only takes effect if grow = true, and fires the autosize event. Parameters:
| TextField | |
bubble( Function fn , [Object scope ], [Array args ] )
+ :
+ Ext.ComponentBubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of... Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of
+function call will be the scope provided or the current component. The arguments to the function
+will be the args provided or the current component. If the function returns false at any point,
+the bubble is stopped. Parameters:
| Component | |
clearInvalid()
:
void Clear any invalid styles/messages for this field Clear any invalid styles/messages for this field Parameters:
| Field | |
cloneConfig( Object overrides )
:
@@ -770,45 +784,47 @@ should usually not need to be called directly.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:
| Observable | |
findParentBy( Function fn )
:
Ext.ContainerFind a container above this component at any level by a custom function. If the passed function returns
true, the con... Find a container above this component at any level by a custom function. If the passed function returns
-true, the container will be returned. Parameters:
| Component | |
findParentByType( String/Class xtype )
+true, the container will be returned.Parameters:
| Component | |
findParentByType( String/Ext.Component/Class xtype , [Boolean shallow ] )
:
- Ext.ContainerFind a container above this component at any level by xtype or class Find a container above this component at any level by xtype or class Parameters:
| Component | |
fireEvent( String eventName , Object... args )
+ Ext.ContainerFind a container above this component at any level by xtype or class Find a container above this component at any level by xtype or class Parameters:
| Component | |
fireEvent( String eventName , Object... args )
:
BooleanFires the specified event with the passed parameters (minus the event name).
An event may be set to bubble up an Obse... Fires the specified event with the passed parameters (minus the event name). @@ -839,7 +855,63 @@ or use a render listener directly:
Parameters:
| Component | |
getHeight()
+}); Parameters:
| Component | |
getErrors( Mixed value )
+ :
+ ArrayValidates a value according to the field's validation rules and returns an array of errors
+for any failing validation... Validates a value according to the field's validation rules and returns an array of errors +for any failing validations. Validation rules are processed in the following order: +
Parameters: | TextField | |
getHeight()
:
Number Gets the current height of the component's underlying element. Gets the current height of the component's underlying element. Parameters:
| BoxComponent | |
getId()
:
@@ -917,7 +989,7 @@ of the field. Note: disab... Returns whether or not the f
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 ] )
+ BooleanReturns true if this component is visible. Returns true if this component is visible. Parameters:
| Component | |
isXType( String/Ext.Component/Class xtype , [Boolean shallow ] )
:
BooleanTests whether or not this Component is of a specific xtype. This can test whether this Component is descended
from th... Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended @@ -929,7 +1001,11 @@ to participate in determination of inherited xtypes.
Parameters:
| Component | |
markInvalid( [String msg ] )
:
voidDisplay an error message associated with this field, using msgTarget to determine how to
@@ -1030,23 +1106,30 @@ event... Resume firing events. (see Parameters:
| Observable | |
selectText( [Number start ], [Number end ] )
:
- voidSelects text in this field Selects text in this field Parameters:
| TextField | |
setAutoScroll( Boolean scroll )
+ voidSelects text in this field Selects text in this field Parameters:
| TextField | |
setActiveError( String msg , Boolean suppressEvent )
+ :
+ voidSets the current activeError to the given string. Fires the 'invalid' event.
+This does not set up the error icon, onl... Sets the current activeError to the given string. Fires the 'invalid' event.
+This does not set up the error icon, only sets the message and fires the event. To show the error icon,
+use markInvalid instead, which calls this method internally Parameters:
| Field | |
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 )
:
- voidParameters:
| TriggerField | |
setHeight( Number height )
+is the runtime equivalent of setting the editable config option at config time.Parameters:
| TriggerField | |
setHeight( Mixed 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 | |
setHideTrigger( Boolean hideTrigger )
+ :
+ voidChanges the hidden status of the trigger. Changes the hidden status of the trigger. Parameters:
| TriggerField | |
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.
@@ -1058,11 +1141,11 @@ This method fires the Sets 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 )
+ voidSetting this to true will supersede settings editable and hideTrigger.
+Setting this to false will defer back to edita... Setting this to true will supersede settings editable and hideTrigger.
+Setting this to false will defer back to editable and hideTrigger. This method
+is the runtime equivalent of setting the readOnly config option at config time. Parameters:
| 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
@@ -1080,10 +1163,10 @@ This may be one of:
Sets a data value into the field and validates it. To set the value directly without validation see setRawValue. Sets a data value into the field and validates it. To set the value directly without validation see setRawValue. Parameters: | Field | |
setVisible( Boolean visible )
:
- Ext.ComponentConvenience function to hide or show this component by boolean. Convenience function to hide or show this component by boolean. Parameters:
| Component | |
setWidth( Number width )
+ Ext.ComponentConvenience function to hide or show this component by boolean. Convenience function to hide or show this component by boolean. Parameters:
| Component | |
setWidth( Mixed width )
:
- Ext.BoxComponentSets the width of the component. This method fires the resize event. Sets the width of the component. This method fires the resize event. Parameters:
| BoxComponent | |
show()
:
@@ -1097,7 +1180,11 @@ 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 | |
update( Mixed htmlOrData , [Boolean loadScripts ], [Function callback ] )
+ voidRemoves an event handler (shorthand for removeListener.) Removes an event handler (shorthand for removeListener.) Parameters:
| Observable | |
unsetActiveError( Boolean suppressEvent )
+ :
+ voidClears the activeError and fires the 'valid' event. This is called internally by clearInvalid and would not
+usually n... Clears the activeError and fires the 'valid' event. This is called internally by clearInvalid and would not
+usually need to be called manually Parameters:
| Field | |
update( Mixed htmlOrData , [Boolean loadScripts ], [Function callback ] )
:
voidUpdate the content area of a component. Update the content area of a component. Parameters:
| BoxComponent | |
validate()
:
- Boolean Validates the field value Validates the field value Parameters:
| Field | |
validateValue( Mixed value )
+ BooleanValidates the field value Validates the field value Parameters:
| Field | |
validateValue( Mixed The )
:
- BooleanValidates a value according to the field's validation rules and marks the field as invalid
-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 :
+ Boolean Uses getErrors to build an array of validation errors. If any errors are found, markInvalid is called
+with the first ... Uses getErrors to build an array of validation errors. If any errors are found, markInvalid is called
+with the first and false is returned, otherwise true is returned. Previously, subclasses were invited
+to provide an implementation of this to process validations - from 3.2 onwards getErrors should be
+overridden instead. Parameters:
| Field |
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 )
|