X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/output/Ext.Component.html diff --git a/docs/output/Ext.Component.html b/docs/output/Ext.Component.html index 41e6dd78..3ce7273c 100644 --- a/docs/output/Ext.Component.html +++ b/docs/output/Ext.Component.html @@ -1,1534 +1,807 @@ -
-
- Properties - Methods - Events - Config Options - Direct Link -
-
-
Observable
-  Component
-

Class Ext.Component

- - - - - - -
Package:Ext
Defined In:Component.js
Class:Component
Subclasses:BoxComponent, Button, ColorPalette, DatePicker, Editor, BaseItem
Extends:Observable
-
- * -

Base class for all Ext components. All subclasses of Component can automatically participate in the standard -Ext component lifecycle of creation, rendering and destruction. They also have automatic support for basic hide/show -and enable/disable behavior. Component allows any subclass to be lazy-rendered into any Ext.Container and -to be automatically registered with the Ext.ComponentMgr so that it can be referenced at any time via -Ext.getCmp. All visual widgets that require rendering into a layout should subclass Component (or -Ext.BoxComponent if managed box model handling is required).

+
Observable
  Component

Class Ext.Component

Package:Ext
Defined In:Component.js
Class:Component
Subclasses:BoxComponent, ColorPalette, DatePicker, Editor, BaseItem
Extends:Observable

Base class for all Ext components. All subclasses of Component may participate in the automated +Ext component lifecycle of creation, rendering and destruction which is provided by the Container class. +Components may be added to a Container through the items config option at the time the Container is created, +or they may be added dynamically via the add method.

+

The Component base class has built-in support for basic hide/show and enable/disable behavior.

+

All Components are registered with the Ext.ComponentMgr on construction so that they can be referenced at any time via +Ext.getCmp, passing the id.

+

All user-developed visual widgets that are required to participate in automated lifecycle and size management should subclass Component (or +Ext.BoxComponent if managed box model handling is required, ie height and width management).

+

See the Creating new UI controls tutorial for details on how +and to either extend or augment ExtJs base classes to create custom Components.

Every component has a specific xtype, which is its Ext-specific type name, along with methods for checking the -xtype like getXType and isXType. This is the list of all valid xtypes:

-
xtype            Class
--------------    ------------------
-box              Ext.BoxComponent
-button           Ext.Button
-colorpalette     Ext.ColorPalette
-component        Ext.Component
-container        Ext.Container
-cycle            Ext.CycleButton
-dataview         Ext.DataView
-datepicker       Ext.DatePicker
-editor           Ext.Editor
-editorgrid       Ext.grid.EditorGridPanel
-grid             Ext.grid.GridPanel
-paging           Ext.PagingToolbar
-panel            Ext.Panel
-progress         Ext.ProgressBar
-propertygrid     Ext.grid.PropertyGrid
-slider           Ext.Slider
-splitbutton      Ext.SplitButton
-statusbar        Ext.StatusBar
-tabpanel         Ext.TabPanel
-treepanel        Ext.tree.TreePanel
-viewport         Ext.Viewport
-window           Ext.Window
-
-Toolbar components
----------------------------------------
-toolbar          Ext.Toolbar
-tbbutton         Ext.Toolbar.Button
-tbfill           Ext.Toolbar.Fill
-tbitem           Ext.Toolbar.Item
-tbseparator      Ext.Toolbar.Separator
-tbspacer         Ext.Toolbar.Spacer
-tbsplit          Ext.Toolbar.SplitButton
-tbtext           Ext.Toolbar.TextItem
-
-Form components
----------------------------------------
-form             Ext.FormPanel
-checkbox         Ext.form.Checkbox
-combo            Ext.form.ComboBox
-datefield        Ext.form.DateField
-field            Ext.form.Field
-fieldset         Ext.form.FieldSet
-hidden           Ext.form.Hidden
-htmleditor       Ext.form.HtmlEditor
-label            Ext.form.Label
-numberfield      Ext.form.NumberField
-radio            Ext.form.Radio
-textarea         Ext.form.TextArea
-textfield        Ext.form.TextField
-timefield        Ext.form.TimeField
-trigger          Ext.form.TriggerField
- -
- -

Config Options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Config OptionsDefined By
  - - allowDomMove : Boolean
- Whether the component can move the Dom node when rendering (defaults to true).
-
Component
  - - disabled : Boolean
- Render this component disabled (default is false).
-
Component
  - - disabledClass : String
- CSS class added to the component when it is disabled (defaults to "x-item-disabled").
-
Component

Public Events

EventDefined By
\ No newline at end of file