X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.form.HtmlEditor.html diff --git a/docs/output/Ext.form.HtmlEditor.html b/docs/output/Ext.form.HtmlEditor.html index a035cc3c..5ce29647 100644 --- a/docs/output/Ext.form.HtmlEditor.html +++ b/docs/output/Ext.form.HtmlEditor.html @@ -1,4 +1,4 @@ -
Observable Component BoxComponent Field HtmlEditor
Package: | Ext.form |
Defined In: | HtmlEditor.js |
Class: | HtmlEditor |
Extends: | Field |
Observable Component BoxComponent Field HtmlEditor
Package: | Ext.form |
Defined In: | HtmlEditor.js |
Class: | HtmlEditor |
Extends: | Field |
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.
The minimum value in pixels which this BoxComponent will set its width to.
-Warning: This will override any size management applied by layout managers.
Warning: This will override any size management applied by layout managers.
An array of events that, when fired, should be bubbled to any parent container. +See Ext.util.Observable.enableBubble. +Defaults to [].
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').
@@ -321,18 +324,7 @@ right and left are set to the second. to the second, and the bottom is set to the third.Defaults to:
{top:0, right:0, bottom:0, left:0}
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.Defaults to:
{top:0, right:0, bottom:0, left:0}
String/Array events
)
:
- voidEnables events fired by this Observable to bubble up an owner hierarchy by calling
-this.getBubbleTarget()
if present. There is no implementation in the Observable base class.
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:
Ext.override(Ext.form.Field, {
- // Add functionality to Field's initComponent to enable the change event to bubble
- initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
- this.enableBubble('change');
- }),
-
- // We know that we want Field's events to bubble directly to the FormPanel.
- getBubbleTarget : function() {
- if (!this.formPanel) {
- this.formPanel = this.findParentByType('form');
- }
- return this.formPanel;
- }
-});
-
-var myForm = new Ext.formPanel({
- title: 'User Details',
- items: [{
- ...
- }],
- listeners: {
- change: function() {
- // Title goes red if form has been modified.
- myForm.header.setStyle('color', 'red');
- }
- }
+ 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.getBubbleTarget()
if present. There is no implementation in the Observable base class.
+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:
Ext.override(Ext.form.Field, {
+ // Add functionality to Field's initComponent to enable the change event to bubble
+ initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
+ this.enableBubble('change');
+ }),
+
+ // We know that we want Field's events to bubble directly to the FormPanel.
+ getBubbleTarget : function() {
+ if (!this.formPanel) {
+ this.formPanel = this.findParentByType('form');
+ }
+ return this.formPanel;
+ }
+});
+
+var myForm = new Ext.formPanel({
+ title: 'User Details',
+ items: [{
+ ...
+ }],
+ listeners: {
+ change: function() {
+ // Title goes red if form has been modified.
+ myForm.header.setStyle('color', 'red');
+ }
+ }
});
Parameters:events
: String/ArrayThe event name to bubble, or an Array of event names.
Returns:- void
String cmd
, [String/Boolean value
] )
:
voidnew Ext.Panel({
},
single: true // Remove the listener after first invocation
}
-});
Ext.Element
Ext.Element
Array
Number
Boolean scroll
)
+events fired during event suspension will be sent to any listeners now.String msg
, Boolean suppressEvent
)
:
- Ext.BoxComponentscroll
: BooleanExt.BoxComponent
Number height
)
+ voidmsg
: StringsuppressEvent
: BooleanBoolean scroll
)
:
- Ext.BoxComponentheight
: Numberscroll
: BooleanExt.BoxComponent
Mixed height
)
+ :
+ Ext.BoxComponentheight
: MixedExt.BoxComponent
Number x
, Number y
)
@@ -882,10 +884,10 @@ This may be one of:value
: MixedExt.form.Field
Boolean visible
)
:
- Ext.Componentvisible
: BooleanExt.Component
Number width
)
+ Ext.Componentvisible
: BooleanExt.Component
Mixed width
)
:
- Ext.BoxComponentwidth
: Numberwidth
: MixedExt.BoxComponent
sourceEdit
: BooleanString eventName
, Function handler
, [Object scope
] )
:
- voideventName
: Stringhandler
: Functionscope
: ObjectMixed htmlOrData
, [Boolean loadScripts
], [Function callback
] )
+ voideventName
: Stringhandler
: Functionscope
: ObjectBoolean suppressEvent
)
+ :
+ voidsuppressEvent
: BooleanMixed htmlOrData
, [Boolean loadScripts
], [Function callback
] )
:
voidhtmlOrData
: MixedloadScri
:
voidProtected method that will not generally be called directly. It triggers
a toolbar update by reading the markup state...Protected method that will not generally be called directly. It triggers
-a toolbar update by reading the markup state of the current selection in the editor.Parameters:- None.
Returns:- void
Event | Defined By | |
---|---|---|
activate :
+a toolbar update by reading the markup state of the current selection in the editor. Parameters:
| HtmlEditor | |
validateValue( Mixed The )
+ :
+ BooleanUses 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 | |
---|---|---|
activate :
( HtmlEditor this )
Fires when the editor is first receives the focus. Any insertion must wait
until after this event. Fires when the editor is first receives the focus. Any insertion must wait
|