ObservableComponent
BoxComponent
Container
Panel
GridPanel
パッケージ: | Ext.grid |
定義ファイル: | GridPanel.js |
クラス: | Ext.grid.GridPanel |
サブクラス: | EditorGridPanel |
継承元: | Panel |
xtype: | grid |
このクラスは、データを列とカラムの表形式のフォーマットで表すように、 コンポーネントベースのGridコントロールの主要なインタフェースを表しています。 GridPanelは次ように構成されます:
使用例:
var grid = new Ext.grid.GridPanel({
store: new Ext.data.Store({
autoDestroy: true,
reader: reader,
data: xg.dummyData
}),
colModel: new Ext.grid.ColumnModel({
defaults: {
width: 120,
sortable: true
},
columns: [
{id: 'company', header: 'Company', width: 200, sortable: true, dataIndex: 'company'},
{header: 'Price', renderer: Ext.util.Format.usMoney, dataIndex: 'price'},
{header: 'Change', dataIndex: 'change'},
{header: '% Change', dataIndex: 'pctChange'},
// renderer: Ext.util.Format.dateRenderer('m/d/Y') を指定する代わりに、 xtypeを使ってください
{
header: 'Last Updated', width: 135, dataIndex: 'lastChange',
xtype: 'datecolumn', format: 'M d, Y'
}
],
}),
viewConfig: {
forceFit: true,
// データ値によって列に適用するためにCSSクラスを返してください
getRowClass: function(record, index) {
var c = record.get('change');
if (c < 0) {
return 'price-fall';
} else if (c > 0) {
return 'price-rise';
}
}
},
sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
width: 600,
height: 300,
frame: true,
title: 'Framed with Row Selection and Horizontal Scrolling',
iconCls: 'icon-grid'
});
メモ:
This class represents the primary interface of a component based grid control to represent data in a tabular format of rows and columns. The GridPanel is composed of the following:
Example usage:
var grid = new Ext.grid.GridPanel({
store: new Ext.data.Store({
autoDestroy: true,
reader: reader,
data: xg.dummyData
}),
colModel: new Ext.grid.ColumnModel({
defaults: {
width: 120,
sortable: true
},
columns: [
{id: 'company', header: 'Company', width: 200, sortable: true, dataIndex: 'company'},
{header: 'Price', renderer: Ext.util.Format.usMoney, dataIndex: 'price'},
{header: 'Change', dataIndex: 'change'},
{header: '% Change', dataIndex: 'pctChange'},
// instead of specifying renderer: Ext.util.Format.dateRenderer('m/d/Y') use xtype
{
header: 'Last Updated', width: 135, dataIndex: 'lastChange',
xtype: 'datecolumn', format: 'M d, Y'
}
],
}),
viewConfig: {
forceFit: true,
// Return CSS class to apply to rows depending upon data values
getRowClass: function(record, index) {
var c = record.get('change');
if (c < 0) {
return 'price-fall';
} else if (c > 0) {
return 'price-rise';
}
}
},
sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
width: 600,
height: 300,
frame: true,
title: 'Framed with Row Selection and Horizontal Scrolling',
iconCls: 'icon-grid'
});
Notes:
コンフィグオプション | 定義クラス | |
---|---|---|
activeItem
:
String/Number 初期状態でアクティブにするアイテムをインデックスを指定するか、またはコンポーネントIDを文字列で指... A string component id or the numeric index of the component that should be initially activated wi... 初期状態でアクティブにするアイテムをインデックスを指定するか、またはコンポーネントIDを文字列で指定します。 例えば、「activeItem: 'item-1'」や「activeItem: 0」(indexが0の時は、コンテナ内の最初のアイテムを示します) 表示されているactiveItemに対してレイアウトスタイルが適用されます。 Ext.layout.AccordionLayout、Ext.layout.CardLayout、Ext.layout.FitLayoutなどで利用されます。 Ext.layout.ContainerLayout.activeItemを参照してください。 A string component id or the numeric index of the component that should be initially activated within the
container's layout on render. For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first
item in the container's collection). activeItem only applies to layout styles that can display
items one at a time (like Ext.layout.AccordionLayout, Ext.layout.CardLayout and
Ext.layout.FitLayout). Related to Ext.layout.ContainerLayout.activeItem. | Ext.Container | |
allowDomMove
:
Boolean コンポーネントをレンダリングする時に、DOMノードの移動を許可するかのフラグです(初期値 false)。 Whether the component can move the Dom node when rendering (defaults to true). | Ext.Component | |
anchor
:
String メモ:
この設定は、このコンポーネントがAnchorLayoutベースのレイアウトマネージャーを使用する設定の... Note: this config is only used when this Component is rendered
by a Container which has been conf... メモ: この設定は、このコンポーネントがAnchorLayoutベースのレイアウトマネージャーを使用する設定のコンテナによってレンダリングされるときに使用されるだけです。例:
同じくExt.layout.AnchorLayout.anchorを見てください。 Note: this config is only used when this Component is rendered
by a Container which has been configured to use an
See Ext.layout.AnchorLayout.anchor also. | Ext.Component | |
animCollapse
:
Boolean trueの場合、パネルが潰される(collapsedによる動作)ときの動作がアニメーションで表示されます。false... true to animate the transition when the panel is collapsed, false to skip the
animation (defaults... | Ext.Panel | |
applyTo
:
Mixed ノードのid、DOMノード、もしくは既にいくつかのパネル―特的の構造マークアップを指定するドキュメント... The id of the node, a DOM node or an existing Element corresponding to a DIV that is already pres... ノードのid、DOMノード、もしくは既にいくつかのパネル―特的の構造マークアップを指定するドキュメントで提供されているDIVに対応する現在の Element。
このコンフィグを使用し、render()を行う呼び出しは必要ありません。 The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in
the document that specifies some panel-specific structural markup. When The following class names are supported (baseCls will be replaced by baseCls):
Using this config, a call to render() is not required. If applyTo is specified, any value passed for renderTo will be ignored and the target element's parent node will automatically be used as the panel's container. | Ext.Panel | |
autoDestroy
:
Boolean trueを設定した場合、含まれるコンポーネントを自動的に削除します。
falseを設定した場合は、ユーザが... If true the container will automatically destroy any contained component that is removed from it,... trueを設定した場合、含まれるコンポーネントを自動的に削除します。 falseを設定した場合は、ユーザが自分で削除するための制御を行ってください。 (初期値:true) If true the container will automatically destroy any contained component that is removed from it, else
destruction must be handled manually (defaults to true). | Ext.Container | |
autoEl
:
Mixed タグ名、またはDomHelper仕様を使い、このコンポーネントをカプセル化したエレメントを生成します。
通... A tag name or
DomHelper spec used to create the Element which will
encapsulate this Component.
Y... タグ名、またはDomHelper仕様を使い、 通常は、これを設定する必要がありません。 ベースとなるクラスはExt.Component、Ext.BoxComponent、Ext.Containerで、デフォルトは'div'です。 より複雑なExtのクラスは、自身のonRenderメソッドによって、より複雑なDOM構造を使用します。 これは、開発者が異なるDOM要素からなるアプリケーションに特定された、有益なコンポーネントのカプセル化を可能にするように意図とされます。 使用例:
A tag name or 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:
| Ext.Component | |
autoExpandColumn
:
String 使用されていないスペースを埋めるために展開される、グリッド内のカラムのidです。
このidに0はありま... The id of a column
in this grid that should expand to fill unused space. This value specified he... 使用されていないスペースを埋めるために展開される、 グリッド内のカラムのidです。 このidに0はありません。 メモ: もしGridのviewでforceFit=trueが設定された場合、autoExpandColumnは無視されます。 追加の詳細については、Ext.grid.Column.widthを見てください。 同様に、autoExpandMaxとautoExpandMinを見てください。 The id of a Note: If the Grid's view is configured with forceFit=true the autoExpandColumn is ignored. See Ext.grid.Column.width for additional details. See autoExpandMax and autoExpandMin also. | Ext.grid.GridPanel | |
autoExpandMax
:
Number autoExpandColumnの最大幅を設定します。
初期値は1000です。 The maximum width the autoExpandColumn
can have (if enabled). Defaults to 1000. | Ext.grid.GridPanel | |
autoExpandMin
:
Number autoExpandColumnの最小幅を設定します。
初期値は50です。 The minimum width the autoExpandColumn
can have (if enabled). Defaults to 50. | Ext.grid.GridPanel | |
autoHeight
:
Boolean
trueの場合、height:'auto'を使用します(初期値 false)。falseに設定した場合、高さは固定になります。... true to use height:'auto', false to use fixed height (defaults to false).
Note: Setting autoHeigh... true の場合、height:'auto'を使用します(初期値 false )。false に設定した場合、高さは固定になります。
autoHeight: true を設定するということは、ブラウザがそのパネルのコンテンツ(パネルbody部分、内容)に基づいてパネルの高さを処理します。
これは高さについて、Extは全く管理しないことを意味します。
もし、パネルがサイズ(fit 、border など)を処理するレイアウトの中である場合、スクロールすることによって、autoHeight: true の設定が問題を起こす可能性があります。
さらに、パネルがExtレイアウトによって必要とされる高さよりもコンテンツの高さに影響を受けるので、想定した動作にはならない場合があります。
true to use height:'auto', false to use fixed height (defaults to false ).
Note: Setting autoHeight: true means that the browser will manage the panel's height
based on its contents, and that Ext will not manage it at all. If the panel is within a layout that
manages dimensions (fit , border , etc.) then setting autoHeight: true
can cause issues with scrolling and will not generally work as expected since the panel will take
on the height of its contents rather than the height required by the Ext layout. | Ext.Panel | |
autoLoad
:
Object/String/Function Ext.Updater.updateメソッドに従う有効なURL仕様です。autoLoadがnullでない場合、パネルはその内容をre... A valid url spec according to the Updater
Ext.Updater.update method.
If autoLoad is not null, th... Ext.Updater.updateメソッドに従う有効なURL仕様です。autoLoadがnullでない場合、パネルはその内容をrender時に直ちに読み込みを試みます。
A valid url spec according to the Updater Ext.Updater.update method. If autoLoad is not null, the panel will attempt to load its contents immediately upon render. The URL will become the default URL for this panel's body element, so it may be refreshed at any time. | Ext.Panel | |
autoScroll
:
Boolean trueの場合、パネルのボディとなるエレメント上にoverflow:'auto'を使用し、必要なときに自動的にスクロ... true to use overflow:'auto' on the panel's body element and show scroll bars automatically when
n... true の場合、パネルのボディとなるエレメント上にoverflow:'auto'を使用し、必要なときに自動的にスクロールバーを表示します(初期値 false )。
false の場合、表示しきれないコンテンツを切り取ります。true to use overflow:'auto' on the panel's body element and show scroll bars automatically when
necessary, false to clip any overflowing content (defaults to false ). | Ext.Panel | |
autoShow
:
Boolean コンポーネントは隠す設定のクラス(例 'x-hidden'または'x-hide-display')を調べ、そして取り除いてレ... True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and r... コンポーネントは隠す設定のクラス(例 'x-hidden'または'x-hide-display')を調べ、そして取り除いてレンダリングします(初期値 false)。 True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove
them on render (defaults to false). | Ext.Component | |
autoWidth
:
Boolean trueの場合はwidth:'auto'を使用し、falseの場合は固定された高さを使用します
(または、高さが親コン... True to use width:'auto', false to use fixed width (or allow it to be managed by its parent
Conta... trueの場合はwidth:'auto'を使用し、falseの場合は固定された高さを使用します (または、高さが親コンテナのレイアウトマネージャによって管理されることを許可してください)。 初期値はfalseです。 メモ: 多くのコンポーネントはこのコンフィグオプションを継承しますが、全てが期待されたようにwidthが'auto'で機能するわけではありません。 autoWidth:trueの設定は、ブラウザが要素の中身に基づいて高さを処理することであり、そしてExtが高さを全く管理しないことを意味します。 もし、ブラウザが高さを処理しているなら、ブラウザによって実行される、 コンポーネントの構造内で変化に対応じたリサイズは検出できないことを知っておいてください。 そのために高さに対する変更は、要素が新しい高さに同期させられる必要があるという結果になるかもしれません。 例えば、ターゲット要素がある場所:
そのターゲット要素にレンダリングされるパネルは、ブラウザがその幅を変えるとき、
その子アイテムをリレーするために、ブラウザウインドウのリサイズをリッスンしなくてはなりません:
True to use width:'auto', false to use fixed width (or allow it to be managed by its parent 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:
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:
| Ext.BoxComponent | |
baseCls
:
String このパネルのエレメントに適用する、基本CSSクラスを設定します(初期値 'x-panel')。
利用可能なもう1... The base CSS class to apply to this panel's element (defaults to 'x-panel').
Another option avail... このパネルのエレメントに適用する、基本CSSクラスを設定します(初期値 'x-panel' )。
利用可能なもう1つの選択に The base CSS class to apply to this panel's element (defaults to 'x-panel' ).
Another option available by default is to specify | Ext.Panel | |
bbar
:
Object/Array
パネル下部のツールバーです。
Ext.Toolbarオブジェクト、ツールバーのコンフィグ、またはツールバーに... The bottom toolbar of the panel. This can be a Ext.Toolbar object, a toolbar config, or an array ... パネル下部のツールバーです。 Ext.Toolbarオブジェクト、ツールバーのコンフィグ、またはツールバーに追加するボタンのコンフィグの配列が設定できます。 この項目はレンダリング後はプロパティとしては使えないことに注意してください。 レンダリング後に下部のツールバーへアクセスするには、getBottomToolbarを使用します。 メモ: ツールバーはフィールドコンポーネントを含む場合もありますが、これらは継承元FormPanelの負荷によって、内容を更新しません。 パネルのツールバーは標準のContainer→Component階層構造の一部でないので、フォームアイテムを集めるためにスキャンされません。 しかし、フォーム送信パラメータはDOMツリーから集められるので、フォーム送信時に値は送信されます。 The bottom toolbar of the panel. This can be a Ext.Toolbar object, a toolbar config, or an array of buttons/button configs to be added to the toolbar. Note that this is not available as a property after render. To access the bottom toolbar after render, use getBottomToolbar. Note: Although a Toolbar may contain Field components, these will not be updated by a load of an ancestor FormPanel. A Panel's toolbars are not part of the standard Container->Component hierarchy, and so are not scanned to collect form items. However, the values will be submitted because form submission parameters are collected from the DOM tree. | Ext.Panel | |
bbarCfg
:
Object bbarエレメントのエレメント構造を指定する
DomHelperエレメント形式のオブジェクトです。
同様にbodyCf... A DomHelper element specification object specifying the element structure
of this Panel's bbar El... | Ext.Panel | |
bodyBorder
:
Boolean
trueの場合、パネルのボディとなるエレメント上にある内部の境界を表示します(初期値 true)。
falseの... True to display an interior border on the body element of the panel, false to hide it (defaults t...
trueの場合、パネルのボディとなるエレメント上にある内部の境界を表示します(初期値 true)。 falseの場合は、その境界を隠します。 これは border == trueの時にのみ適用されます。 もし、border == trueでbodyBorder == falseの場合、全てを出現させた後に1pxの境界として表示します。 True to display an interior border on the body element of the panel, false to hide it (defaults to true). This only applies when border == true. If border == true and bodyBorder == false, the border will display as a 1px wide inset border, giving the entire body element an inset appearance. | Ext.Panel | |
bodyCfg
:
Object DomHelper要素仕様オブジェクトによってパネルエレメントを指定します。
デフォルトで、下記の表の「Def... A DomHelper element specification object may be specified for any
Panel Element.
By default, the ... DomHelper要素仕様オブジェクトによってパネルエレメントを指定します。 デフォルトで、下記の表の「Default element」は、同等のデフォルトクラス名を持った子エレメントをHTMLマークアップによって作成するために使われます(baseClsがbaseClsによって置換される): Panel Default Default Custom Additional Additional Element element class element class style ======== ========================== ========= ============== =========== header div baseCls+'-header' headerCfg headerCssClass headerStyle bwrap div baseCls+'-bwrap' bwrapCfg bwrapCssClass bwrapStyle + tbar div baseCls+'-tbar' tbarCfg tbarCssClass tbarStyle + body div baseCls+'-body' bodyCfg bodyCssClass bodyStyle + bbar div baseCls+'-bbar' bbarCfg bbarCssClass bbarStyle + footer div baseCls+'-footer' footerCfg footerCssClass footerStyle カスタム要素を設定するということは、例えば、bodyエレメントに対して、デフォルトで作られる場合より異なったマークアップの使用を強制するために用いられるかもしれません。 この例は、bodyが<center>要素であるようにすることで、ヘッダーのようにカスタムされた内容を含んでいるか、もしくはすべてのパネルの内容を真中に置くことを強制して子パネルを作ることなどが考えられます:
上記の例はカスタムのマークアップによって明示的にfooterを作り、styleを適用しています。 A DomHelper element specification object may be specified for any Panel Element. By default, the Default element in the table below will be used for the html markup to create a child element with the commensurate Default class name (baseCls will be replaced by baseCls): Panel Default Default Custom Additional Additional Element element class element class style ======== ========================== ========= ============== =========== header div baseCls+'-header' headerCfg headerCssClass headerStyle bwrap div baseCls+'-bwrap' bwrapCfg bwrapCssClass bwrapStyle + tbar div baseCls+'-tbar' tbarCfg tbarCssClass tbarStyle + body div baseCls+'-body' bodyCfg bodyCssClass bodyStyle + bbar div baseCls+'-bbar' bbarCfg bbarCssClass bbarStyle + footer div baseCls+'-footer' footerCfg footerCssClass footerStyle Configuring a Custom element may be used, for example, to force the body Element to use a different form of markup than is created by default. An example of this might be to create a child Panel containing a custom content, such as a header, or forcing centering of all Panel content by having the body be a <center> element:
The example above also explicitly creates a footer with custom markup and styling applied. | Ext.Panel | |
bodyCssClass
:
String/Object/Function
追加のCSSセレクタをExt.Element.addClassによって期待されるフォーマットでbodyとなる要素に適用しま... Additional css class selector to be applied to the body element in the format expected by
Ext.Ele... Additional css class selector to be applied to the body element in the format expected by
Ext.Element.addClass (defaults to null). See bodyCfg. | Ext.Panel | |
bodyStyle
:
String/Object/Function 追加のCSSスタイルをExt.Element.applyStylesによって期待されたフォーマットでbodyとなる要素に適用し... Custom CSS styles to be applied to the body element in the format expected by
Ext.Element.applySt... Custom CSS styles to be applied to the body element in the format expected by
Ext.Element.applyStyles (defaults to null). See bodyCfg. | Ext.Panel | |
border
:
Boolean
trueの場合、パネルのボディーのエレメントの境界線を表示します(初期値 true)。
境界線の幅は2pxです... True to display the borders of the panel's body element, false to hide them (defaults to true). ...
trueの場合、パネルのボディーのエレメントの境界線を表示します(初期値 true)。 境界線の幅は2pxですが、これはbodyBorderをfalseに設定することで1pxになります。 True to display the borders of the panel's body element, false to hide them (defaults to true). By default,
the border is a 2px wide inset border, but this can be further altered by setting bodyBorder to false. | Ext.Panel | |
bufferResize
:
Boolean/Number 内部のコンポーネントの再レイアウトを行うバッファタイムとして、true(100ミリ秒を設定したことと同等)... When set to true (100 milliseconds) or a number of milliseconds, the layout assigned for this con... 内部のコンポーネントの再レイアウトを行うバッファタイムとして、true(100ミリ秒を設定したことと同等)、またはミリ秒を指定します。 重いコンポーネントや大量にネストされたコンポーネントを扱う場合、 この設定で調整してください。 When set to true (100 milliseconds) or a number of milliseconds, the layout assigned for this container will buffer
the frequency it calculates and does a re-layout of components. This is useful for heavy containers or containers
with a large quantity of sub-components for which frequent layout calls would be expensive. | Ext.Container | |
buttonAlign
:
String
パネルに追加されるボタンの配置です(初期値 'right')。
使用できる値は'right'、'left'、'center'です。
The alignment of any buttons added to this panel. Valid values are 'right',
'left' and 'center' ... | Ext.Panel | |
buttons
:
Array
フッター(fbar)の中のツールバーでボタンを
itemsとして使用します。
引数の配列はExt.Button、またはE... buttons will be used as
items for the toolbar in the footer (fbar). Typically the value of this ...
フッター( fbar )の中のツールバーでボタンを として使用します。
引数の配列はExt.Button、またはExt.Buttonのコンフィグオプションを設定します。
ボタンにminWidth を設定される、またはパネルがminButtonWidth を設定した場合、その幅がボタンに対して適用されます。
buttons will be used as for the toolbar in the footer (fbar ). Typically the value of this configuration property will be
an array of Ext.Buttons or Ext.Button configuration objects.
If an item is configured with minWidth or the Panel is configured with minButtonWidth , that width will be applied to the item. | Ext.Panel | |
bwrapCfg
:
Object
bwrapエレメントのエレメント構造を指定する
DomHelperエレメント形式のオブジェクトです。
同様にbody... A DomHelper element specification object specifying the element structure
of this Panel's bwrap E... | Ext.Panel | |
clearCls
:
String CSSクラスは、フィールドをクリアにする、それぞれのフォームフィールドのラッパーの直後にレンダリング... The CSS class used to to apply to the special clearing div rendered
directly after each form fiel... CSSクラスは、フィールドをクリアにする、それぞれのフォームフィールドのラッパーの直後にレンダリングされた、クリアにする特殊なdivに適用するために使用します(初期値 'x-form-clear-left')。 メモ: この設定は、 このコンポーネントがFormLayoutレイアウトマネージャー(例 Ext.form.FormPanel、 またはlayout:'form'が指定される) を使用し、 そしてfieldLabelかisFormField=trueのどちらかが指定される設定のコンテナによってレンダリングされるときに使用されるだけです。 同様にExt.layout.FormLayout.fieldTplを見てください 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'). 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') and either a fieldLabel is specified or isFormField=true is specified. See Ext.layout.FormLayout.fieldTpl also. | Ext.Component | |
closable
:
Boolean
パネルは"閉る"動作を直接サポートしておりません。
しかし、パネルのサブクラスの一部(例えばExt.Wind... Panels themselves do not directly support being closed, but some Panel subclasses do (like
Ext.Wi...
パネルは"閉る"動作を直接サポートしておりません。 しかし、パネルのサブクラスの一部(例えばExt.Window)やExt.TabPanelの中のパネルクラスは"閉る"ことが可能です。 このような状況で"閉る"ことを可能にするためにはtrueを設定してください。 初期値はfalseです。 Panels themselves do not directly support being closed, but some Panel subclasses do (like Ext.Window) or a Panel Class within an Ext.TabPanel. Specify true to enable closing in such situations. Defaults to false. | Ext.Panel | |
cls
:
String オプションで、コンポーネントのエレメントに余分なCSSクラスを追加します(初期値 '')。
これはコンポ... An optional extra CSS class that will be added to this component's Element (defaults to '').
Th... オプションで、コンポーネントのエレメントに余分なCSSクラスを追加します(初期値 '')。 これはコンポーネントに、または標準的なCSSルールを使用している子にカスタマイズされたスタイルを追加する場合に便利です。 An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules. | Ext.Component | |
cm : Object | Ext.grid.GridPanel | |
colModel
:
Object Gridのレンダリング時に使用するExt.grid.ColumnModelを設定します(必須)。 The Ext.grid.ColumnModel to use when rendering the grid (required). | Ext.grid.GridPanel | |
collapseFirst
:
Boolean
true に設定した場合、折りたたみ/拡大のトグルボタンの表示を、タイトルバー内のどのtool(ボタンなど... true to make sure the collapse/expand toggle button always renders first (to the left of)
any oth... true に設定した場合、折りたたみ/拡大のトグルボタンの表示を、タイトルバー内のどのtool(ボタンなど)よりも左に表示します(初期値 true )。false に設定した場合は、このボタンを一番右に表示します。
true to make sure the collapse/expand toggle button always renders first (to the left of) any other tools in the panel's title bar, false to render it last (defaults to true). | Ext.Panel | |
collapsed
:
Boolean trueに設定した場合、レンダリング時にパネルが折りたたまれた状態で表示されます(初期値 false)。
fals... true to render the panel collapsed, false to render it expanded (defaults to
false). trueに設定した場合、レンダリング時にパネルが折りたたまれた状態で表示されます(初期値 false)。
falseに設定した場合は、パネルが開いた状態で表示されます。 true to render the panel collapsed, false to render it expanded (defaults to
false). | Ext.Panel | |
collapsedCls
:
String パネルが折りたたまれた後に、エレメントに追加するCSSクラスを設定します(初期値 'x-panel-collapsed')。 A CSS class to add to the panel's element after it has been collapsed (defaults to
'x-panel-collapsed'). | Ext.Panel | |
collapsible
:
Boolean
trueに設定した場合、パネルのコンテンツ部分を折りたたむ/開くトグルボタンがパネルヘッダーに追加表... True to make the panel collapsible and have the expand/collapse toggle button automatically rende...
trueに設定した場合、パネルのコンテンツ部分を折りたたむ/開くトグルボタンがパネルヘッダーに追加表示されます(初期値 false)。
falseに設定した場合はトグルボタンを追加表示せず、パネルは常に開いた状態になります。
True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into
the header tool button area, false to keep the panel statically sized with no button (defaults to false). | Ext.Panel | |
columnLines
:
Boolean trueに設定した場合、カラムを分離するラインのCSSを追加します。初期値はfalseです。 true to add css for column separation lines.
Default is false. | Ext.grid.GridPanel | |
columns
:
Array Ext.grid.ColumnModelを自動生成するためのカラムの配列を設定します。
colModelはcolModel設定プロパテ... An array of columns to auto create a
Ext.grid.ColumnModel. The ColumnModel may be explicitly cre... An array of columns to auto create a Ext.grid.ColumnModel. The ColumnModel may be explicitly created via the colModel configuration property. | Ext.grid.GridPanel | |
contentEl
:
String パネルのbodyコンテンツとして使用する現在のHTMLノードのidを設定します(初期値 '')
Specify the id of an existing HTML node to use as the panel's body content
(defaults to '').
パネルのbodyコンテンツとして使用する現在のHTMLノードのidを設定します(初期値 '')
Specify the id of an existing HTML node to use as the panel's body content
| Ext.Panel | |
ctCls
:
String オプションで、コンポーネントのコンテナに余分なCSSクラスを追加します(初期値 '')。
これはコンテナ... An optional extra CSS class that will be added to this component's container. This can be useful ... オプションで、コンポーネントのコンテナに余分なCSSクラスを追加します(初期値 '')。 メモ: ctClsは、デフォルトで値を割り当てる以下のクラスを除いて、''がデフォルトとなります:
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. Note: ctCls defaults to '' except for the following class which assigns a value by default:
| Ext.Component | |
ddGroup
:
String このGridPanelが属するDDグループを設定します。
設定されない場合、'GridDD'をデフォルト設定とします。 The DD group this GridPanel belongs to. Defaults to 'GridDD' if not specified. | Ext.grid.GridPanel | |
ddText
:
String ドラッグプロキシのテキストを設定します。
デフォルトは:
Configures the text in the drag proxy. Defaults to:
ドラッグプロキシのテキストを設定します。
デフォルトは:
{0}が選択された列の番号に取り替えられます。Configures the text in the drag proxy. Defaults to:
{0} is replaced with the number of selected rows. | Ext.grid.GridPanel | |
defaultType
:
String コンテナのitemsで子コンポーネントを作る際、xtypeを指定しなかった場合に適用される、
デフォルトのxt... The default xtype of child Components to create in this Container when
a child item is specified ... コンテナのitemsで子コンポーネントを作る際、xtypeを指定しなかった場合に適用される、 初期値は、Ext.menu.Menuが'menuitem'、Ext.ToolbarとExt.ButtonGroupが'button'、それ以外は'panel'です。 The default xtype of child Components to create in this Container when a child item is specified as a raw configuration object, rather than as an instantiated Component. Defaults to 'panel', except Ext.menu.Menu which defaults to 'menuitem', and Ext.Toolbar and Ext.ButtonGroup which default to 'button'. | Ext.Container | |
defaults
:
Object
items、またはaddやinsertされるコンポーネントに対する初期設定コンフィグオプションを設定します。
... A config object that will be applied to all components added to this container either via the
it... items、または メモ: defaultsで設定した内容は、子アイテムのコンフィグオプションで上書きすることが可能です。 例:
A config object that will be applied to all components added to this container either via the Note: defaults will not be applied to config objects if the option is already specified. For example:
| Ext.Container | |
deferRowRender
:
Boolean trueに設定した場合、列のレンダリングを遅延します(初期値 true)。
これは、遅延された列構造のコス... Defaults to true to enable deferred row rendering.
This allows the GridPanel to be initially rend... trueに設定した場合、列のレンダリングを遅延します(初期値 true)。 これは、遅延された列構造のコストがかかる更新で、GridPanelによるのレイアウトがより速く現われるように、初期状態でGridPanelが空でレンダリングされることを許可します。 Defaults to true to enable deferred row rendering. This allows the GridPanel to be initially rendered empty, with the expensive update of the row structure deferred so that layouts with GridPanels appear more quickly. | Ext.grid.GridPanel | |
disableSelection
:
Boolean trueに設定した場合、Gridで選択を無効にします。
初期値はfalseです。
SelectionModelの指定は無視されます。
true to disable selections in the grid. Defaults to false.
Ignored if a SelectionModel is specified. | Ext.grid.GridPanel | |
disabled
:
Boolean このパネルを使用不可にします(初期値 false)。
重要なことは、disabled設定を使用するときに、もし、... Render this panel disabled (default is false). An important note when using the disabled
config o... このパネルを使用不可にします(初期値 false)。
重要なことは、disabled設定を使用するときに、もし、パネルのレイアウトがレンダリング処理の間に完了しなかった場合、
IEでは使用不可時のマスク要素の初期化にしばしば失敗するでしょう。
このような問題が生じた場合、使用不可な状態に初期化するためにafterlayoutイベントを使用する必要があります。
Render this panel disabled (default is false). An important note when using the disabled
config on panels is that IE will often fail to initialize the disabled mask element correectly if
the panel's layout has not yet completed by the time the Panel is disabled during the render process.
If you experience this issue, you may need to instead use the afterlayout event to initialize
the disabled state:
| Ext.Panel | |
disabledClass
:
String コンポーネントが無効になったときに、コンポーネント追加されるCSSクラスを設定します(初期値 'x-item-disabled')。 CSS class added to the component when it is disabled (defaults to 'x-item-disabled'). | Ext.Component | |
draggable
:
Boolean/Object カスタムしたドラッグ&ドロップを実装するために、trueの代わりにExt.Panel.DDのコンフィグオプション... true to enable dragging of this Panel (defaults to false).
For custom drag/drop implementations, ... カスタムしたドラッグ&ドロップを実装するために、trueの代わりにExt.Panel.DDのコンフィグオプションを渡すことができます。 Ext.Panel.DDとは、Ext.dd.DragSourceのサブクラスです。 このクラスは、パネルのエレメントの代わりにプロキシエレメントを動かしますが、ドラッグしている間や、 ドロップした際に他のどのような行動も提供しない内部の文書化されていないクラスです。 例えば、Ext.dd.DragDropのインタフェースメソッドを実装することで、動作を追加できます。 例:
true to enable dragging of this Panel (defaults to false). For custom drag/drop implementations, an Ext.Panel.DD config could also be passed in this config instead of true. Ext.Panel.DD is an internal, undocumented class which moves a proxy Element around in place of the Panel's element, but provides no other behaviour during dragging or on drop. It is a subclass of Ext.dd.DragSource, so behaviour may be added by implementing the interface methods of Ext.dd.DragDrop e.g.:
| Ext.Panel | |
elements
:
String パネルがレンダリングされるときに初期化するパネルエレメントのカンマ区切りのリストです。
通常、この... A comma-delimited list of panel elements to initialize when the panel is rendered. Normally, thi... パネルがレンダリングされるときに初期化するパネルエレメントのカンマ区切りのリストです。
通常、このリストはパネルに加えられるアイテムに基づいて、設定時に自動的に発生します。しかし、たとえ設定時に指定されないとしても、構造要素がレンダリングされることを確認するには役に立つかもしれません。(たとえば、パネルがレンダリングされた後に、ボタンやツールバーを動的に追加したいかもしれません)
レンダリング時にこのリストに要素を加えることは、パネルで必須のプレースホールダーを割り当てます。有効な値は以下の通りです
A comma-delimited list of panel elements to initialize when the panel is rendered. Normally, this list will be
generated automatically based on the items added to the panel at config time, but sometimes it might be useful to
make sure a structural element is rendered even if not specified at config time (for example, you may want
to add a button or toolbar dynamically after the panel has been rendered). Adding those elements to this
list will allocate the required placeholders in the panel when it is rendered. Valid values are
| Ext.Panel | |
enableColumnHide
:
Boolean | Ext.grid.GridPanel | |
enableColumnMove
:
Boolean trueに設定した場合、ドラッグ&ドロップでカラムの並び替えを可能にします(初期値 true)。
falseの場... Defaults to true to enable drag and drop reorder of columns.
false to turn off column reordering... trueに設定した場合、ドラッグ&ドロップでカラムの並び替えを可能にします(初期値 true)。 falseの場合は、ドラッグドロップによるカラムの並び替えを無効にします。 Defaults to true to enable drag and drop reorder of columns. false to turn off column reordering via drag drop. | Ext.grid.GridPanel | |
enableColumnResize
:
Boolean falseに設定した場合、Grid内のすべてのカラムのサイズ変更を無効にします。初期値はtrueです。 false to turn off column resizing for the whole grid. Defaults to true. | Ext.grid.GridPanel | |
enableDragDrop
:
Boolean GridPanelの選択した列をドラッグすることを有効にします。初期値はfalseです。
trueに設定した場合、Gr... Enables dragging of the selected rows of the GridPanel. Defaults to false.
Setting this to true c... GridPanelの選択した列をドラッグすることを有効にします。初期値はfalseです。 trueに設定した場合、GridPanelのGridViewにExt.grid.GridDragZoneのインスタンスを生成させます。 メモ: これは、GridがGridViewのdragZoneプロパティをレンダリングした後のみ利用可能です。 提供されるデータの処理をすることができるonNodeEnter、onNodeOver、 onNodeOut、onNodeDropの実装を持つDropZoneが生成されなくてはなりません。 Enables dragging of the selected rows of the GridPanel. Defaults to false. Setting this to true causes this GridPanel's GridView to create an instance of Ext.grid.GridDragZone. Note: this is available only after the Grid has been rendered as the GridView's dragZone property. A cooperating DropZone must be created who's implementations of onNodeEnter, onNodeOver, onNodeOut and onNodeDrop are able to process the data which is provided. | Ext.grid.GridPanel | |
enableHdMenu
:
Boolean trueに設定した場合、ヘッダーのドロップダウンメニューボタンを有効にします(初期値 true)。 Defaults to true to enable the drop down button for menu in the headers. | Ext.grid.GridPanel | |
fbar
:
Object/Array
Toolbarオブジェクト、ツールバー設定、または多くのボタンやボタン設定など、このパネルのフッター要... A Toolbar object, a Toolbar config, or an array of
Buttons/Button configs, describing a Toolbar t... Toolbarオブジェクト、ツールバー設定、または多くのボタンやボタン設定など、このパネルのフッター要素にレンダリングされるToolbarを設定します。 fbarプロパティはレンダリング後にツールバーのインスタンスとなります。 ボタンを設定する場合、
メモ: ツールバーはフィールドコンポーネントを含む場合もありますが、これらは継承元FormPanelの負荷によって、内容を更新しません。 パネルのツールバーは標準のContainer→Component階層構造の一部でないので、フォームアイテムを集めるためにスキャンされません。 しかし、フォーム送信パラメータはDOMツリーから集められるので、フォーム送信時に値は送信されます。 A Toolbar object, a Toolbar config, or an array of After render, the If buttons are specified, they will supersede the fbar configuration property. The Panel's buttonAlign configuration affects the layout of these items, for example:
Note: Although a Toolbar may contain Field components, these will not be updated by a load of an ancestor FormPanel. A Panel's toolbars are not part of the standard Container->Component hierarchy, and so are not scanned to collect form items. However, the values will be submitted because form submission parameters are collected from the DOM tree. | Ext.Panel | |
fieldLabel
:
String このコンポーネントの隣に表示されるラベルのテキストを設定します(初期値 '')。
Note: この設定は、
... The label text to display next to this Component (defaults to '').
Note: this config is only used... このコンポーネントの隣に表示されるラベルのテキストを設定します(初期値 '')。 Note: この設定は、 このコンポーネントがFormLayoutレイアウトマネージャー(例 Ext.form.FormPanel、 またはlayout:'form'が指定される) を使用する設定のコンテナによってレンダリングされるときに使用されるだけです。 同様に、hideLabelと Ext.layout.FormLayout.fieldTplを見てください。 使用例:
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. Ext.form.FormPanel or specifying layout:'form'). Also see hideLabel and Ext.layout.FormLayout.fieldTpl. Example use:
| Ext.Component | |
floating
:
Mixed このプロパティは基礎をなしている
Ext.LayerExt.Layerを設定するために使用します。
使用できる値は次... This property is used to configure the underlying
Ext.Layer. Acceptable values for this configur... このプロパティは基礎をなしている
This property is used to configure the underlying
| Ext.Panel | |
footer : Boolean | Ext.Panel | |
footerCfg
:
Object footerエレメントのエレメント構造を指定する
DomHelperエレメント形式のオブジェクトです。
同様にbody... A DomHelper element specification object specifying the element structure
of this Panel's footer ... | Ext.Panel | |
forceLayout
:
Boolean trueに設定した場合、潰れるか隠される場合でも、コンテナは強制的にレイアウトを適用します。(初期値 f... If true the container will force a layout initially even if hidden or collapsed. This option
is u... trueに設定した場合、潰れるか隠される場合でも、コンテナは強制的にレイアウトを適用します。(初期値 false)
このオプションは、潰されている、または隠されているコンテナでレンダリングする際に使用されます。
If true the container will force a layout initially even if hidden or collapsed. This option
is useful for forcing forms to render in collapsed or hidden containers. (defaults to false). | Ext.Container | |
frame
:
Boolean trueに設定した場合、カスタムされた丸い角を含む9つの要素を境界線として使用し、レンダリングします... false by default to render with plain 1px square borders. true to render with
9 elements, complet... true に設定した場合、カスタムされた丸い角を含む9つの要素を境界線として使用し、レンダリングします。(Ext.Element.boxWrap参照) false に設定した場合は、1pxの正方形の縁でレンダリングします。(初期値 false)
生成されたエレメントのサンプルは次の通りです。:
false by default to render with plain 1px square borders. true to render with
9 elements, complete with custom rounded corners (also see Ext.Element.boxWrap).
The template generated for each condition is depicted below:
| Ext.Panel | |
header
:
Boolean trueに設定した場合、headerエレメントを作成します。
falseの場合は作成を省略します。
このコンフィグ... true to create the Panel's header element explicitly,
false to skip creating it. If a title is ... | Ext.Panel | |
headerAsText
:
Boolean trueに設定した場合、
パネルヘッダーのタイトルテキストが表示されます。(初期値 true)
falseに設定し... true to display the panel title in the header,
false to hide it (defaults to true). | Ext.Panel | |
headerCfg
:
Object headerエレメントのエレメント構造を指定する
DomHelperエレメント形式のオブジェクトです。
同様にbody... A DomHelper element specification object specifying the element structure
of this Panel's header ... | Ext.Panel | |
height
:
Number コンポーネントの高さをピクセル単位で設定します(初期値 auto)。
メモ: この次元をパーセント、また... The height of this component in pixels (defaults to auto).
Note to express this dimension as a pe... コンポーネントの高さをピクセル単位で設定します(初期値 auto)。
メモ: この次元をパーセント、またはオフセット値で表現するためには、Ext.Component.anchorを見てください。 The height of this component in pixels (defaults to auto).
Note to express this dimension as a percentage or offset see Ext.Component.anchor. | Ext.BoxComponent | |
hidden : Boolean | Ext.Component | |
hideBorders
:
Boolean trueに設定した場合、それぞれのコンテナのボーダーを非表示にします。 falseの場合は、それぞれのコン... True to hide the borders of each contained component, false to defer to the component's existing
... trueに設定した場合、それぞれのコンテナのボーダーを非表示にします。 falseの場合は、それぞれのコンテナのborder設定に依存します。 (初期値:false) True to hide the borders of each contained component, false to defer to the component's existing
border settings (defaults to false). | Ext.Container | |
hideCollapseTool
:
Boolean このオプションはcollapsible:trueと設定した場合に有効です。
trueに設定した場合、collapsible:true展... true to hide the expand/collapse toggle button when collapsible == true, false to display it (def... このオプションは collapsible:true と設定した場合に有効です。
trueに設定した場合、collapsible:true展開/折りたたみのトグルボタンを隠します。(初期値:false)
falseに設定した場合はボタンを表示します。
true to hide the expand/collapse toggle button when collapsible == true , false to display it (defaults to false). | Ext.Panel | |
hideHeaders
:
Boolean trueに設定した場合、Gridのヘッダーを非表示にします。初期値は false です。True to hide the grid's header. Defaults to false . | Ext.grid.GridPanel | |
hideLabel
:
Boolean trueの場合、
ラベル要素(labelとseparator)を完全に隠します(初期値 false)。
デフォルトでfieldLa... true to completely hide the label element
(label and separator). Defaults to false.
By default, e... trueの場合、 ラベル要素(labelとseparator)を完全に隠します(初期値 false)。 デフォルトでfieldLabelを指定しない場合でも、フィールドにはラベルのスペースが予約されています。 trueにすることでスペースの予約されることがなくなります。 メモ: clearClsのメモを見てください。 Example use:
true to completely hide the label element Note: see the note for clearCls. Example use:
| Ext.Component | |
hideMode
:
String どのようにコンポーネントを隠すかを指定します。(初期値 display)
サポートされている値は、'visibilit... How this component should be hidden. Supported values are 'visibility'
(css visibility), 'offsets... どのようにコンポーネントを隠すかを指定します。(初期値 display) サポートされている値は、'visibility'(CSSのvisibility:hiddenを使用して隠す)、'offsets'(可視領域外オフセット位置指定で隠す)、'display'(CSSのdisplay:noneを使用して隠す)です。 メモ: 最初にアイテムを表示する時に自動的に並べられることから、初期値の'display'が一般に好まれます(隠されている間、サイズ計算には加わらないので)。 How this component should be hidden. Supported values are 'visibility' (css visibility), 'offsets' (negative offset position) and 'display' (css display). Note: the default of 'display' is generally preferred since items are automatically laid out when they are first shown (no sizing is done while hidden). | Ext.Component | |
hideParent
:
Boolean trueが設定された場合、hide/showがコールされるときにコンポーネントと共にコンテナも連動して隠れたり... True to hide and show the component's container when hide/show is called on the component, false ... trueが設定された場合、hide/showがコールされるときにコンポーネントと共にコンテナも連動して隠れたり表示されたりします。
falseの場合はコンポーネント自身のみが隠れたり表示されたりします(初期値 false)。
例えばこれは、親コンテナにボタンを追加するとき、ボタンにhide:trueを設定することによってwindowのhideボタンのショートカットとして使用することができます。
True to hide and show the component's container when hide/show is called on the component, false to hide
and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide
button on a window by setting hide:true on the button when adding it to its parent container. | Ext.Component | |
html
:
String/Object パネルの内容となるHTMLを設定します(初期値 '')
この設定する値にDomHelper形式のオブジェクトを設定す... An HTML fragment, or a DomHelper specification to use as the panel's body
content (defaults to ''... パネルの内容となるHTMLを設定します(初期値 '')
この設定する値にDomHelper形式のオブジェクトを設定することも可能です。
記述したHTMLの内容は、パネルのafterRenderメソッドによって加えられます。
よって、このHTMLはrenderイベント発火時には影響を受けません。
どんな設定をしたcontentElが付加される前に、この内容はbody部分に挿入されます。 An HTML fragment, or a DomHelper specification to use as the panel's body
content (defaults to ''). The HTML content is added by the Panel's afterRender method,
and so the document will not contain this HTML at the time the render event is fired.
This content is inserted into the body before any configured contentEl is appended. | Ext.Panel | |
iconCls
:
String パネルのヘッダーアイコンとして使用されるbackgroundイメージを提供するCSSクラスを設定します。(初期... The CSS class selector that specifies a background image to be used as the header icon (defaults ... パネルのヘッダーアイコンとして使用されるbackgroundイメージを提供するCSSクラスを設定します。(初期値 '') 設定例は以下の通りです。
The CSS class selector that specifies a background image to be used as the header icon (defaults to '').
An example of specifying a custom icon class would be something like:
| Ext.Panel | |
id
:
String このコンポーネントのユニークなid(初期値 自動的に割り当てられるid)。
もし後でコンポーネントにア... The unique id of this component
(defaults to an auto-assigned id).
You should assign an id if yo... このコンポーネントのユニークなid このidが、このコンポーネントのためにレンダリングされるHTML要素を含んでいるため、同様に要素のidとしても使用されることに注意してください。 これは、ユニークなこのコンポーネントインスタンスがスタイルを指定するために、そして同様にこのコンポーネントのidを使用した副要素が親を選択するためににidベースのCSSルールを書き込むことを許可します。 メモ: 同じidによって引き起こされる問題を回避するために、 メモ: アイテムのコンテナにアクセスするためには、 The unique id of this component Note that this id will also be used as the element id for the containing HTML element that is rendered to the page for this component. This allows you to write id-based CSS rules to style the specific instance of this component uniquely, and also to select sub-elements using this component's id as the parent. Note: to avoid complications imposed by a unique id also see
Note: to access the container of an item see | Ext.Component | |
itemCls
:
String Note: この設定は、
このコンポーネントがFormLayoutレイアウトマネージャー(例 Ext.form.FormPanel、
... Note: this config is only used when this Component is rendered by a Container which
has been conf... Note: この設定は、 このコンポーネントがFormLayoutレイアウトマネージャー(例 Ext.form.FormPanel、 またはlayout:'form'が指定される) を使用する設定のコンテナによってレンダリングされるときに使用されるだけです。 このフィールドのフォームアイテム要素をラッピングしたdivに適用する追加のCSSクラス。 もし供給される場合、コンテナレベルにおいて供給されたデフォルトのitemClsより、フィールドレベルでのitemClsが優先されます。The value specified for itemCls で指定された値は、デフォルトクラスに追加されます('x-form-item')。 それはアイテムのラッパー(Ext.layout.FormLayout.fieldTplを見てください)に適用されるので、 フィールド、ラベル(指定されるなら)、またはフィールドのマークアップ中の他のいかなる要素にも適用される標準的なCSSルールを書き込むことが許可されます。 メモ: fieldLabelのメモを見てください。 使用例:
Note: this config is only used when this Component is rendered by a Container which
has been configured to use the 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'). Since it is applied to the item wrapper (see Ext.layout.FormLayout.fieldTpl), it allows 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. Example use:
| Ext.Component | |
itemId
:
String itemIdはオブジェクトの参照を利用できない場合、コンポーネントに参照を渡す代わりの方法として使用さ... An itemId can be used as an alternative way to get a reference to a component when no object refe... itemIdはオブジェクトの参照を利用できない場合、コンポーネントに参照を渡す代わりの方法として使用されることができます。
メモ: アイテムのコンテナにアクセスするために、ownerCtを見てください。 An itemId can be used as an alternative way to get a reference to a component when no object reference is available.
Note: to access the container of an item see ownerCt. | Ext.Component | |
items
:
Object/Array** 重要: 1つのコンポーネント、または複数の配列化されたコンポーネント設定を行います。 例:
それぞれのアイテムは:
Notes: ** IMPORTANT: be sure to A single item, or an array of child Components to be added to this container, for example:
Each item may be:
Notes: | Ext.Container | |
keys
:
Object/Array Ext.KeyMapのコンフィグオブジェクトを設定します。(初期値 null)
使用する場合は、Ext.KeyMap.addBindi... A Ext.KeyMap
config object (in the format expected by Ext.KeyMap.addBinding used to assign custo... Ext.KeyMapのコンフィグオブジェクトを設定します。(初期値 null)
使用する場合は、Ext.KeyMap.addBindingを使用する時と同様の設定を行います。 A Ext.KeyMap config object (in the format expected by Ext.KeyMap.addBinding used to assign custom key handling to this panel (defaults to null). | Ext.Panel | |
labelSeparator
:
String それぞれのfieldLabelのテキストの後に表示するセパレータ。
このプロパティは、様々なレベルにおいて設... The separator to display after the text of each
fieldLabel. This property may be configured at v... それぞれのfieldLabelのテキストの後に表示するセパレータ。 このプロパティは、様々なレベルにおいて設定されます。優先順位は以下の通りです:
メモ: clearClsのメモを見てください。 同様にhideLabelと Ext.layout.FormLayout.fieldTplを見てください。 使用例:
The separator to display after the text of each
Note: see the note for clearCls. Also see hideLabel and Ext.layout.FormLayout.fieldTpl. Example use:
| Ext.Component | |
labelStyle
:
String このフィールドのラベルに直接適用する、CSSスタイル仕様文字列を設定します。
初期値は、もし設定され... A CSS style specification string to apply directly to this field's
label. Defaults to the contai... このフィールドのラベルに直接適用する、CSSスタイル仕様文字列を設定します。 メモ: clearClsのメモを見てください。 同様に
A CSS style specification string to apply directly to this field's
label. Defaults to the container's labelStyle value if set Note: see the note for Also see
| Ext.Component | |
layout
:
String/Object
子アイテムがサイズを正確に設定され、そして配置されるために、レイアウトマネージャーがlayoutオプシ... *Important: In order for child items to be correctly sized and
positioned, typically a layout man... 子アイテムがサイズを正確に設定され、そして配置されるために、レイアウトマネージャーが このコンテナで利用するレイアウトタイプを設定します。 itemsのサイズ設定とアイテム配置は、設定したいレイアウトのタイプを生成・管理する役割は、コンテナではなくレイアウトマネージャーにあります。例:
もし、パネルなどの多目的なコンテナにlayoutを指定しない場合、コンテナの中に子アイテムがただレンダリングされる以外に何もされないデフォルトのレイアウトマネージャーが使用されます。
いくつかのコンテナクラスは、デフォルトのレイアウトとして上記以外のレイアウトを指定します。(例えば、FormPanel は
このコンテナに対して使用されるレイアウトタイプ。 もし指定されない場合、デフォルトExt.layout.ContainerLayoutが生成・使用されます。 レイアウトタイプとして使用できる値: 詳細は、各々のレイアウトタイプに有効なコンフィグオプションに関して、レイアウトクラスが指定されるタイプと一致していることを確認してください。
このコンテナに使われるレイアウトタイプ(上記のレイアウトタイプ値リスト参照)。 詳細は、各々のレイアウトタイプに有効なコンフィグオプションに関して、レイアウトクラスが指定されるタイプと一致していることを確認してください。 *Important: In order for child items to be correctly sized and
positioned, typically a layout manager must be specified through
the The sizing and positioning of child items is the responsibility of the Container's layout manager which creates and manages the type of layout you have in mind. For example:
If the layout configuration is not explicitly specified for
a general purpose container (e.g. Container or Panel) the
default layout manager will be used
which does nothing but render child components sequentially into the
Container (no sizing or positioning will be performed in this situation).
Some container classes implicitly specify a default layout
(e.g. FormPanel specifies
The layout type to be used for this container. If not specified, a default Ext.layout.ContainerLayout will be created and used. Valid layout type values are: Additional layout specific configuration properties may also be specified. For complete details regarding the valid config options for each layout type, see the layout class corresponding to the type specified.
The layout type to be used for this container (see list of valid layout type values above). Additional layout specific configuration properties. For complete details regarding the valid config options for each layout type, see the layout class corresponding to the layout specified. | Ext.Container | |
layoutConfig : Object | Ext.Container | |
listeners
:
Object
1つ以上のイベントハンドラを含むコンフィグオブジェクトを設定します。
コンフィグオブジェクトの形式...
A config object containing one or more event handlers to be added to this object during initial...
1つ以上のイベントハンドラを含むコンフィグオブジェクトを設定します。 コンフィグオブジェクトの形式は、addListenerのサンプルを参照してください。 DOM events from ExtJs Components コンポーネントクラスが、DOMイベントを操作したり、コンポーネント内にあるDOMを操作したりする際に、エレメントにリスナーを追加する必要があります。 このクラスを利用することで、そのステップを簡素化できます。
A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the addListener example for attaching multiple handlers at once. DOM events from ExtJs Components While some ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this is usually only done when extra value can be added. For example the DataView's
| Ext.util.Observable | |
loadMask
:
Object Ext.LoadMaskの設定、または、ロード中にGridにマスクをかける場合はtrueを設定します。
初期値は false です。An Ext.LoadMask config or true to mask the grid while
loading. Defaults to false . | Ext.grid.GridPanel | |
margins
:
Object メモ:
この設定は、このBoxComponentが配置されたコンテナによってレンダリングされるとき、BorderLayo... メモ: this config is only used when this BoxComponent is rendered
by a Container which has been c... メモ: この設定は、このBoxComponentが配置されたコンテナによってレンダリングされるとき、BorderLayout、または2つのBoxLayoutのサブクラスの1つを使用するために使用されるだけです。 このBoxComponentに適用するマージンを含んでいるオブジェクトのフォーマット:
スペースによって区切られた、数値のマージン値を含む文字列でも設定できます。 それぞれの値と結び付けられるサイドの順序は、CSSがマージン値を処理する方法と一致します:
初期値:
メモ: this config is only used when this BoxComponent is rendered by a Container which has been configured to use the BorderLayout or one of the two BoxLayout subclasses. An object containing margins to apply to this BoxComponent in the format:
May also be a string containing space-separated, numeric margin values. The order of the sides associated with each value matches the way CSS processes margin values:
Defaults to:
| Ext.BoxComponent | |
maskDisabled
:
Boolean trueに設定した場合、パネルが無効
(disabled)になる時にマスクを使用し、パネルを隠します。(初期値 tr... true to mask the panel when it is disabled, false to not mask it (defaults
to true). Either way,... trueに設定した場合、パネルが無効 (disabled)になる時にマスクを使用し、パネルを隠します。(初期値 true) falseに設定した場合は、マスクを使用しません。 いずれにしても、パネルが無効になる際に自身のエレメントを無効にしますが、パネルにマスクをかけることで、パネルが使用不能であるという視覚的効果を与えることができます。 true to mask the panel when it is disabled, false to not mask it (defaults
to true). Either way, the panel will always tell its contained elements to disable themselves
when it is disabled, but masking the panel can provide an additional visual cue that the panel is
disabled. | Ext.Panel | |
maxHeight
:
Number Gridの高さの最大値を設定します - autoHeightが有効でなければ無視されます。 Sets the maximum height of the grid - ignored if autoHeight is not on. | Ext.grid.GridPanel | |
minButtonWidth : Number | Ext.Panel | |
minColumnWidth
:
Number リサイズできるカラムの最小幅を設定します。初期値は25です。 The minimum width a column can be resized to. Defaults to 25. | Ext.grid.GridPanel | |
monitorResize
:
Boolean trueに設定した場合、ウィンドウ、またはViewportのリサイズイベントを監視します。
このオプションは、... True to automatically monitor window resize events to handle anything that is sensitive to the cu... trueに設定した場合、ウィンドウ、またはViewportのリサイズイベントを監視します。 このオプションは、 layout を指定している場合は、falseに設定すべきではありません。True to automatically monitor window resize events to handle anything that is sensitive to the current size
of the viewport. This value is typically managed by the chosen layout and should not need
to be set manually. | Ext.Container | |
overCls
:
String エレメント上でマウスが動くときに、このコンポーネントのエレメントに追加され、エレメント上から出る... An optional extra CSS class that will be added to this component's Element when the mouse moves
o... エレメント上でマウスが動くときに、このコンポーネントのエレメントに追加され、エレメント上から出ると取り除かれるオプションの余分なCSSクラスを設定します(初期値 '')。
これはコンポーネント、または標準的なCSSルールを使用しているその子たちのいずれにも、カスタマイズされた'active'、または'hover'スタイルを追加することに役立ちます。 An optional extra CSS class that will be added to this component's Element when the mouse moves
over the Element, and removed when the mouse moves out. (defaults to ''). This can be
useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules. | Ext.Component | |
pageX
:
Number 配置コンテナの中に含まれる場合の、このコンポーネントのページレベルでのx座標を設定します。 The page level x coordinate for this component if contained within a positioning container. | Ext.BoxComponent | |
pageY
:
Number 配置コンテナの中に含まれる場合の、このコンポーネントのページレベルでのy座標を設定します。 The page level y coordinate for this component if contained within a positioning container. | Ext.BoxComponent | |
plugins
:
Object/Array このコンポーネントにカスタムの機能性を提供するオブジェクト、またはオブジェクトの配列を設定します... An object or array of objects that will provide custom functionality for this component. The onl... このコンポーネントにカスタムの機能性を提供するオブジェクト、またはオブジェクトの配列を設定します。
有効なpluginの唯一の必要条件は、Ext.Componentのタイプの参照を受け入れるinitメソッドを含んでいることです。
コンポーネントが生成されるとき、もしpluginが利用可能であるなら、コンポーネントは自身の参照を渡して、それぞれのplugi上のinitメソッドをコールします。
それぞれのpluginは、その機能性を供給する必要があったときにメソッドをコールするか、、またはコンポーネントのイベントに反応することができます。 An object or array of objects that will provide custom functionality for this component. The only
requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component.
When a component is created, if any plugins are available, the component will call the init method on each
plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the
component as needed to provide its functionality. | Ext.Component | |
preventBodyReset
:
Boolean trueに設定した場合、パネルエレメントにCSSクラスの'x-panel-reset'を追加します(初期値 false)
W3Cに... Defaults to false. When set to true, an extra css class 'x-panel-normal'
will be added to the pa... trueに設定した場合、パネルエレメントにCSSクラスの'x-panel-reset'を追加します(初期値 false)
W3Cによって提案されたCSSスタイルを効果的にパネルのbodyエレメントに適用します。headerエレメントやfooterエレメントに対しては適用されません。
詳しくはhttp://www.w3.org/TR/CSS21/sample.htmlを確認してください。 Defaults to false. When set to true, an extra css class 'x-panel-normal'
will be added to the panel's element, effectively applying css styles suggested by the W3C
(see http://www.w3.org/TR/CSS21/sample.html) to the Panel's body element (not the header,
footer, etc.). | Ext.Panel | |
ptype
:
String 作成したptypeを登録します。
このオプションはコンストラクタの設定オブジェクトに渡されません。
必要... The registered ptype to create. This config option is not used when passing
a config object into ... 作成したptypeを登録します。
このオプションはコンストラクタの設定オブジェクトに渡されません。
必要となったときにインスタンス化され、その際にこのコンフィグオプションは使用され、そしてPluginは完全にインスタンス化されたコンポーネントではなく、コンポーネントの設定オブジェクトとして指定されます。
ptypeはレンダリング時にどんなPluginのタイプを作るべきか決定するために調べられます。 もし、オリジナルのptypeを作成する場合、遅延インスタンス化とレンダリングを利用することが可能なので、Ext.ComponentMgr.registerPluginを使用して登録しても問題ありません。 The registered ptype to create. This config option is not used when passing
a config object into a constructor. This config option is used only when
lazy instantiation is being used, and a Plugin is being
specified not as a fully instantiated Component, but as a Component config
object. The ptype will be looked up at render time up to determine what
type of Plugin to create. If you create your own Plugins, you may register them using Ext.ComponentMgr.registerPlugin in order to be able to take advantage of lazy instantiation and rendering. | Ext.Component | |
ref
:
String A path specification, relative to the Component's
ownerCt specifying into which
ancestor Contain... A path specification, relative to the Component's
ownerCt specifying into which
ancestor Contain... A path specification, relative to the Component's 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:
In the code above, if the ref had been A path specification, relative to the Component's 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:
In the code above, if the ref had been | Ext.Component | |
region
:
String メモ:
この設定は、このBoxComponentが配置されたコンテナによってレンダリングされるとき、BorderLayo... Note: this config is only used when this BoxComponent is rendered
by a Container which has been c... メモ: この設定は、このBoxComponentが配置されたコンテナによってレンダリングされるとき、BorderLayoutレイアウトマネージャーを使用するために使用されるだけです (例 layout:'border'を指定)。 同じく、Ext.layout.BorderLayoutを見てください。 Note: this config is only used when this BoxComponent is rendered See Ext.layout.BorderLayout also. | Ext.BoxComponent | |
renderTo
:
Mixed このコンポーネントが中にレンダリングされる要素、DOM要素、または存在するエレメントのidを指定します。
Specify the id of the element,
a DOM element or an existing Element that this component will be ... このコンポーネントが中にレンダリングされる要素、DOM要素、または存在するエレメントのidを指定します。
同じく、renderを見てください。 Specify the id of the element,
See render also. | Ext.Component | |
selModel
:
Object Gridにセレクションモデルを提供する、Ext.grid.AbstractSelectionModelのサブクラスを設定します
(設... Any subclass of Ext.grid.AbstractSelectionModel that will provide
the selection model for the gri... Gridにセレクションモデルを提供する、Ext.grid.AbstractSelectionModelのサブクラスを設定します
(設定しない場合のデフォルトはExt.grid.RowSelectionModel)。 Any subclass of Ext.grid.AbstractSelectionModel that will provide
the selection model for the grid (defaults to Ext.grid.RowSelectionModel if not specified). | Ext.grid.GridPanel | |
shadow
:
Boolean/String trueに設定した場合、パネルの後の影を表示します。
また、有効なExt.ShadowのExt.Shadow.modeの値を設... true (or a valid Ext.Shadow Ext.Shadow.mode value) to display a shadow behind the
panel, false to... trueに設定した場合、パネルの後の影を表示します。 また、有効なExt.ShadowのExt.Shadow.modeの値を設定した場合も同様です(初期値 'sides')。 falseに設定した場合は影を表示しません。 shadowをfalse以外に設定した場合は、floating:trueであることが必要です。 true (or a valid Ext.Shadow Ext.Shadow.mode value) to display a shadow behind the
panel, false to display no shadow (defaults to 'sides'). Note that this option
only applies when floating = true. | Ext.Panel | |
shadowOffset
:
Number 影の位置をずらす際に埋め合わせるピクセルの数を設定します。(初期値 4)
0以外の値を設定した場合は、... The number of pixels to offset the shadow if displayed (defaults to 4). Note that this option onl... | Ext.Panel | |
shim
:
Boolean falseに設定した場合、ブラウザのiframeのshimを無効にします。(初期値 true)。
このオプションは、floa... false to disable the iframe shim in browsers which need one (defaults to true). Note that this op... | Ext.Panel | |
sm : Object | Ext.grid.GridPanel | |
stateEvents
:
Array コンポーネントの状態を保存する際に発火する、イベントの配列を設定します。デフォルト:
An array of events that, when fired, should trigger this component to save its state.
Defaults to:
コンポーネントの状態を保存する際に発火する、イベントの配列を設定します。 デフォルト:
これらは、ブラウザまたはカスタムされたイベントを含む、このコンポーネントでサポートされているどんなタイプのイベントでも設定されます(例 ['click', 'customerchange'])。 コンポーネント状態を保存して、その状態に戻すことについての説明は、 Ext.Component.statefulを見てください。 An array of events that, when fired, should trigger this component to save its state. Defaults to:
These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). See Ext.Component.stateful for an explanation of saving and restoring Component state. | Ext.grid.GridPanel | |
stateId
:
String このコンポーネントが状態管理目的で使用するユニークなid(初期値 設定したならばコンポーネントid、そ... The unique id for this component to use for state management purposes
(defaults to the component ... このコンポーネントが状態管理目的で使用するユニークなid(初期値 設定したならばコンポーネントid、そうでなくコンポーネントが生成したidを使用している場合はnull)。 コンポーネントの状態の保存と復帰に関する説明については stateful を参照して下さい。The unique id for this component to use for state management purposes
(defaults to the component id if one was set, otherwise null if the
component is using a generated id). See stateful for an explanation of saving and
restoring Component state. | Ext.Component | |
stateful
:
Boolean 開始時に、保存された状態から内部のプロパティの状態を復元させようと試みるフラグです。
コンポーネン... A flag which causes the Component to attempt to restore the state of
internal properties from a s... 開始時に、保存された状態から内部のプロパティの状態を復元させようと試みるフラグです。
コンポーネントは
状態の保存が機能するために、状態管理のプロバイダはname/valueのペアで保存、呼び戻すためのset、getメソッドをオーバーライドするExt.state.Provider の実装を設定しなくてはなりません。 組み込みの実装で、Ext.state.CookieProviderは利用可能です。 現在のページで状態プロバイダを設定するために:
状態を保存するために、statefulなコンポーネントは 値は、設定されたExt.state.Providerをコンポーネントの 構成する間、Ext.state.Manager.getに 結果のオブジェクトは 状態保存や状態復元時にbeforestaterestore、staterestore、 beforestatesave、statesaveのイベントハンドラを設定することで余分な処理を行うことができます。 A flag which causes the Component to attempt to restore the state of
internal properties from a saved state on startup. The component must have
either a
For state saving to work, the state manager's provider must have been set to an implementation of Ext.state.Provider which overrides the set and get methods to save and recall name/value pairs. A built-in implementation, Ext.state.CookieProvider is available. To set the state provider for the current page:
A stateful Component attempts to save state when one of the events
listed in the To save state, a stateful Component first serializes its state by
calling The value yielded by getState is passed to Ext.state.Manager.set
which uses the configured Ext.state.Provider to save the object
keyed by the Component's During construction, a stateful Component attempts to restore
its state by calling Ext.state.Manager.get passing the
The resulting object is passed to You can perform extra processing on state save and restore by attaching handlers to the beforestaterestore, staterestore, beforestatesave and statesave events. | Ext.Component | |
store
:
Ext.data.Store Gridのデータソースとして使用するべきExt.data.Storeを設定します(必須)。 The Ext.data.Store the grid should use as its data source (required). | Ext.grid.GridPanel | |
stripeRows
:
Boolean trueに設定した場合、列を縞模様にします。初期値はfalseです。
これは、CSSクラスx-grid3-row-altがGri... true to stripe the rows. Default is false.
This causes the CSS class x-grid3-row-alt to be added ... trueに設定した場合、列を縞模様にします。初期値はfalseです。 これは、CSSクラスx-grid3-row-altがGridの交互の列に追加されます。デフォルトCSSルールが背景色の設定を提供します。 しかし、'!important'修飾語を使用してbackground-colorを上書きする、またはより高いCSSセレクタの優先順位を設定することで、このルールをオーバーライドすることができます true to stripe the rows. Default is false. This causes the CSS class x-grid3-row-alt to be added to alternate rows of the grid. A default CSS rule is provided which sets a background colour, but you can override this with a rule which either overrides the background-color style using the '!important' modifier, or which uses a CSS selector of higher specificity. | Ext.grid.GridPanel | |
style
:
String このコンポーネントのエレメントに適用されるカスタムのスタイル仕様。
Ext.Element.applyStylesで使用... A custom style specification to be applied to this component's Element. Should be a valid argume... このコンポーネントのエレメントに適用されるカスタムのスタイル仕様。 Ext.Element.applyStylesで使用する引数と同様であるべきです。
A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.applyStyles.
| Ext.Component | |
tabTip
:
String Ext.TabPanelのアイテムであるExt.Panelのタブにマウスが乗ったときの、
ツールチップに示されるinnerHT... A string to be used as innerHTML (html tags are accepted) to show in a tooltip when mousing over
... Ext.TabPanelのアイテムであるExt.Panelのタブにマウスが乗ったときの、 ツールチップに示されるinnerHTML(HTMLタグが使用できます)を設定します。 Ext.QuickTips.init()はチップをレンダリングするために呼ばれなくてはなりません。 A string to be used as innerHTML (html tags are accepted) to show in a tooltip when mousing over the tab of a Ext.Panel which is an item of a Ext.TabPanel. Ext.QuickTips.init() must be called in order for the tips to render. | Ext.Panel | |
tbar
:
Object/Array パネルのトップツールバーを設定します。Ext.Toolbarオブジェクト、ツールバー設定、またはツールバーに... The top toolbar of the panel. This can be a Ext.Toolbar object, a toolbar config, or an array of
... パネルのトップツールバーを設定します。Ext.Toolbarオブジェクト、ツールバー設定、またはツールバーに加えられる多くのボタン配列やボタン設定などを引数として記述します。 レンダリング後にトップツールバーにアクセスするためにはgetTopToolbarメソッドを使用してください。 メモ: ツールバーはフィールドコンポーネントを含む場合もありますが、これらは継承元FormPanelの負荷によって、内容を更新しません。 パネルのツールバーは標準のContainer→Component階層構造の一部でないので、フォームアイテムを集めるためにスキャンされません。 しかし、フォーム送信パラメータはDOMツリーから集められるので、フォーム送信時に値は送信されます。 The top toolbar of the panel. This can be a Ext.Toolbar object, a toolbar config, or an array of buttons/button configs to be added to the toolbar. Note that this is not available as a property after render. To access the top toolbar after render, use getTopToolbar. Note: Although a Toolbar may contain Field components, these will not be updated by a load of an ancestor FormPanel. A Panel's toolbars are not part of the standard Container->Component hierarchy, and so are not scanned to collect form items. However, the values will be submitted because form submission parameters are collected from the DOM tree. | Ext.Panel | |
tbarCfg
:
Object tbarエレメントのエレメント構造を指定する
DomHelperエレメント形式のオブジェクトです。
同様にbodyCf... A DomHelper element specification object specifying the element structure
of this Panel's tbar El... | Ext.Panel | |
title
:
String パネルヘッダー部分に表示するinnerHTML(HTMLタグが使用できます)を設定します。(初期値 '')
title... The title text to be used as innerHTML (html tags are accepted) to display in the panel
header (d... パネルヘッダー 部分に表示するinnerHTML(HTMLタグが使用できます)を設定します。(初期値 '')
titleを設定した場合、header エレメントは自動的に生成されます。
しかし、header をfalseと"明示的に"設定した場合は自動的に生成されません。
もし、title をインスタンス生成時ではなく後で設定したい場合、title に空文字(' '←スペースを入れる)を設定する、またはheader:true を設定して、インスタンス化される時にコンテナとなるエレメントにheaderが生成されるようにしなければなりません。The title text to be used as innerHTML (html tags are accepted) to display in the panel header (defaults to ''). When a title is specified the
header element will automatically be created and displayed unless
header is explicitly set to false . If you do not want to specify a
title at config time, but you may want one later, you must either specify a non-empty
title (a blank space ' ' will do) or header:true so that the container
element will get created. | Ext.Panel | |
titleCollapse
:
Boolean trueに設定した場合、パネルの折りたたみをするトグルボタンだけでなく、パネルヘッダー全体がトグルボ... true to allow expanding and collapsing the panel
(when collapsible = true) by clicking anywhere ... true に設定した場合、パネルの折りたたみをするトグルボタンだけでなく、パネルヘッダー全体がトグルボタンの機能を持ちます。(初期値 false )
true を設定した場合は、collapsible:true であることが必要です。
もし、このパネルがボーダーレイアウトの子アイテムの場合、 BorderLayout.Regionクラスのコンフィグオプションであるfloatable を見てください。true to allow expanding and collapsing the panel (when collapsible = true ) by clicking anywhere in the header bar, false ) to allow it only by clicking to tool button (defaults to false )). If this panel is a child item of a border layout also see the
BorderLayout.Region
floatable config option. | Ext.Panel | |
toolTemplate
:
Ext.Template/Ext.XTemplate テンプレートを使用して、
headerエレメント内のツールを設定します。初期設定は以下の通りです:
A Template used to create tools in the header Element. Defaults to: テンプレートを使用して、 headerエレメント内のツールを設定します。初期設定は以下の通りです:
これは、より複雑なDOM構造を提供するために、XTemplateによってオーバーライドすることができます。 テンプレートのデータは、toolsで指定する1つのツールコンフィグオプションです。(全ての配列ではない) In the following example an <a> tag is used to provide a visual indication when hovering over the tool:
CSSクラス'x-tool-pdf'が、関連付けられたスタイルのルールによって適切な背景画像を提供しなければならないことに注意すべきです。:
A Template used to create tools in the header Element. Defaults to:
This may may be overridden to provide a custom DOM structure for tools based upon a more complex XTemplate. The template's data is a single tool configuration object (Not the entire Array) as specified in tools. In the following example an <a> tag is used to provide a visual indication when hovering over the tool:
Note that the CSS class 'x-tool-pdf' should have an associated style rule which provides an appropriate background image, something like:
| Ext.Panel | |
tools
:
Array ヘッダーツールの範囲に追加されるツールボタンコンフィグの配列です。
各ツールコンフィグは以下のプロ... An array of tool button configs to be added to the header tool area.
When rendered, each tool is... ヘッダーツールの範囲に追加されるツールボタンコンフィグの配列です。 各ツールコンフィグは以下のプロパティを使用します。:
パネルが折りたたみを許可しているときに提供されるトグルツール以外は、これらのツールがただのボタンのみを提供するだけであることに注意してください。 必要な動作のハンドラを設定することで、初めて必要とされる機能が供給可能になります。 使用例:
'help'のというオリジナルidのために、15x15イメージへのリンクを使用した、適切な2つのCSSクラスを定義してください:
An array of tool button configs to be added to the header tool area. When rendered, each tool is stored as an Element referenced by a public property called tools.<tool-type> Each tool config may contain the following properties:
Note that, apart from the toggle tool which is provided when a panel is collapsible, these tools only provide the visual button. Any required functionality must be provided by adding handlers that implement the necessary behavior. Example usage:
For the custom id of 'help' define two relevant css classes with a link to a 15x15 image:
| Ext.Panel | |
trackMouseOver
:
Boolean trueに設定した場合、マウスが列上を通過した際にハイライトします。
初期値はGridPanelではtrue、Edito... True to highlight rows when the mouse is over.
Default is true for GridPanel, but false for Edito... trueに設定した場合、マウスが列上を通過した際にハイライトします。 初期値はGridPanelではtrue、EditorGridPanelではfalseです True to highlight rows when the mouse is over. Default is true for GridPanel, but false for EditorGridPanel. | Ext.grid.GridPanel | |
unstyled
:
Boolean trueを設定した場合、内部でbaseClsを'x-plain'にオーバーライドします。
この'x-plain'はoverflow:hidd... Overrides the baseCls setting to baseCls = 'x-plain' which renders
the panel unstyled except for ... | Ext.Panel | |
view
:
Object Gridによって使用されるExt.grid.GridViewを設定します。
これは、render()がコールされる前に設定できます。 The Ext.grid.GridView used by the grid. This can be set
before a call to render(). | Ext.grid.GridPanel | |
viewConfig
:
Object GridのUIビューに適用される設定オブジェクトを設定します。
Ext.grid.GridViewで利用可能なコンフィグ... A config object that will be applied to the grid's UI view.
Any of the config options available ... GridのUIビューに適用される設定オブジェクトを設定します。 Ext.grid.GridViewで利用可能なコンフィグオプションをここで指定することができます。 もし、viewが設定されない場合は、このオプションは無視されます。 A config object that will be applied to the grid's UI view. Any of the config options available for Ext.grid.GridView can be specified here. This option is ignored if view is specified. | Ext.grid.GridPanel | |
width
:
Number コンポーネントの幅をピクセル単位で設定します(初期値 auto)。
メモ: この次元をパーセント、または... The width of this component in pixels (defaults to auto).
Note to express this dimension as a per... コンポーネントの幅をピクセル単位で設定します(初期値 auto)。
メモ: この次元をパーセント、またはオフセット値で表現するためには、Ext.Component.anchorを見てください。 The width of this component in pixels (defaults to auto). Note to express this dimension as a percentage or offset see Ext.Component.anchor. | Ext.BoxComponent | |
x
:
Number 配置コンテナの中に含まれる場合の、このコンポーネントのローカルでのx(左)座標を設定します。 The local x (left) coordinate for this component if contained within a positioning container. | Ext.BoxComponent | |
xtype
:
String 作成したxtypeを登録します。
このオプションはコンストラクタの設定オブジェクトに渡されません。
必要... The registered xtype to create. This config option is not used when passing
a config object into ... 作成したxtypeを登録します。
このオプションはコンストラクタの設定オブジェクトに渡されません。
必要となったときにインスタンス化され、その際にこのコンフィグオプションは使用され、そしてコンテナの子アイテムは完全にインスタンス化されたコンポーネントではなく、コンポーネントの設定オブジェクトとして指定されます。
xtypeはレンダリング時にどんな子コンポーネントを作るべきか決定するために調べられます。 定義済みのxtypeはこちらにリストされています。 もし、自身のコンポーネントをサブクラス化する場合、遅延インスタンス化とレンダリングを利用することが可能なので、Ext.ComponentMgr.registerTypeを使用して登録しても問題ありません。 The registered xtype to create. This config option is not used when passing
a config object into a constructor. This config option is used only when
lazy instantiation is being used, and a child item of a Container is being
specified not as a fully instantiated Component, but as a Component config
object. The xtype will be looked up at render time up to determine what
type of child Component to create. The predefined xtypes are listed here. If you subclass Components to create your own Components, you may register them using Ext.ComponentMgr.registerType in order to be able to take advantage of lazy instantiation and rendering. | Ext.Component | |
y
:
Number 配置コンテナの中に含まれる場合の、このコンポーネントのローカルでのy(上)座標を設定します。 The local y (top) coordinate for this component if contained within a positioning container. | Ext.BoxComponent |
プロパティ | 定義クラス | |
---|---|---|
body
:
Ext.Element HTMLの内容を含む、パネルのbodyエレメントです。
このbodyの内容は、htmlオプションや、autoLoadオプシ... The Panel's body Element which may be used to contain HTML content.
The content may be specified ... HTMLの内容を含む、パネルのbodyエレメントです。 このbodyの内容は、htmlオプションや、autoLoadオプションで設定、またはパネルのUpdaterによって設定されます。 このプロパティは読み取り専用です。 パネルがレイアウトのホストとして使用される場合の変更やロードの制御は、パネルではなく、パネルのレイアウトになります。 elを確認してください。 The Panel's body Element which may be used to contain HTML content. The content may be specified in the html config, or it may be loaded using the autoLoad config, or through the Panel's Updater. Read-only. If this is used to load visible HTML elements in either way, then the Panel may not be used as a Layout for hosting nested Panels. If this Panel is intended to be used as the host of a Layout (See layout then the body Element must not be loaded or changed - it is under the control of the Panel's Layout.Note: see the Note for el also. | Ext.Panel | |
buttons : Array | Ext.Panel | |
bwrap
:
Ext.Element パネルのラッピングエレメントです。
他のパネルエレメント(tbar、body、bbar、footer)を区切るために使... The Panel's bwrap Element used to contain other Panel elements
(tbar, body, bbar, footer). See bo... | Ext.Panel | |
collapsed
:
Boolean パネルが開閉可能な場合、trueが設定されます。このプロパティは読み取り専用です。 True if this panel is collapsed. Read-only. | Ext.Panel | |
dd
:
Ext.dd.DragSource. このパネルをdraggable(ドラッグ可能)な構成にした場合、このプロパティにパネルのドラッグを処理する... If this Panel is configured draggable, this property will contain
an instance of Ext.dd.DragSourc... このパネルをdraggable(ドラッグ可能)な構成にした場合、このプロパティにパネルのドラッグを処理するExt.dd.DragSourceのインスタンスを含みます。 開発者はドラッグ&ドロップの動作を供給するために、Ext.dd.DragSourceの抽象メソッドの実行を提供しなくてはなりません。 draggableを確認してください。If this Panel is configured draggable, this property will contain an instance of Ext.dd.DragSource which handles dragging the Panel. The developer must provide implementations of the abstract methods of Ext.dd.DragSource in order to supply behaviour for each stage of the drag/drop process. See draggable. | Ext.Panel | |
disabled
:
Boolean 読み取り専用です。このコンポーネントが無効の場合はtrueが設定されます。 True if this component is disabled. Read-only. | Ext.Component | |
el
:
Ext.Element このコンポーネントをカプセル化するExt.Element。読み取り専用です。
これは通常、クラスのonRenderメ... The Ext.Element which encapsulates this Component. Read-only.
This will usually be a <DIV> ... このコンポーネントをカプセル化するExt.Element。読み取り専用です。 これは通常、クラスのonRenderメソッドによって作られる<DIV>要素ですが、
これは メモ: このコンポーネントがレンダリングされるまで、この要素は利用できません。 DOMイベントのためのリスナーをこのコンポーネントに追加するために(このコンポーネントの自身の観測可能なイベントのためのリスナーと対照的に)、 提案のためにlistenersオプションを見るか、または、直接リスナーをレンダリングします:
同じく、getElを見てください。 The Ext.Element which encapsulates this Component. Read-only. This will usually be a <DIV> element created by the class's onRender method, but
that may be overridden using the Note: this element will not be available until this Component has been rendered. To add listeners for DOM events to this Component (as opposed to listeners for this Component's own Observable events), see the listeners config for a suggestion, or use a render listener directly:
See also getEl | Ext.Component | |
footer
:
Ext.Element パネルのフッターエレメントです。
このプロパティは読み取り専用です。
このエレメントはbuttonsやfbar... The Panel's footer Element. Read-only.
This Element is used to house the Panel's buttons or fbar.... | Ext.Panel | |
header
:
Ext.Element パネルのヘッダーエレメントです。
このプロパティは読み取り専用です。
このエレメントはtitleやtools... The Panel's header Element. Read-only.
This Element is used to house the title and tools
Note: se... | Ext.Panel | |
hidden
:
Boolean このコンポーネントが隠れている場合はtrueが設定されます。読み取り専用です。 True if this component is hidden. Read-only. | Ext.Component | |
initialConfig
:
Object このコンポーネントの初回に設定された指定。読み取り専用です。 This Component's initial configuration specification. Read-only. | Ext.Component | |
items
:
MixedCollection Ext.util.MixedCollectionとしてのコンテナのコンポーネントコレクション The collection of components in this container as a Ext.util.MixedCollection | Ext.Container | |
ownerCt
:
Ext.Container このコンポーネントを所有するExt.Container(初期値 未定義、コンポーネントがコンテナに追加された時... The component's owner Ext.Container (defaults to undefined, and is set automatically when
the com... このコンポーネントを所有するExt.Container(初期値 未定義、コンポーネントがコンテナに追加された時に自動的にセットされます)。読み取り専用です。
Note: to access items within the container see itemId. The component's owner Ext.Container (defaults to undefined, and is set automatically when
the component is added to a container). Read-only.
Note: to access items within the container see itemId. | Ext.Component | |
rendered
:
Boolean このコンポーネントがレンダリングされている場合はtrueが設定されます。読み取り専用です。 True if this component has been rendered. Read-only. | Ext.Component |
メソッド | 定義クラス | |
---|---|---|
GridPanel(
Object config
)
:
voidコンストラクタです。 コンストラクタです。 パラメータ:
| Ext.grid.GridPanel | |
add(
Object/Array component, [Object (Optional)], [Object (Optional)]
)
:
Ext.Componentこのコンテナにコンポーネントを追加します。
記述 :
Adds Component(s) to this Container.
Description :
このコンテナにコンポーネントを追加します。 記述 : メモ :
Adds Component(s) to this Container. Description :
Notes :
パラメータ:
| Ext.Container | |
addButton(
String/Object config, Function handler, Object scope
)
:
Ext.Buttonボタンを追加します。
このメソッドはレンダリング前に呼ばれる必要があります。
よって、ボタンを設定... Adds a button to this panel. Note that this method must be called prior to rendering. The prefe... ボタンを追加します。
このメソッドはレンダリング前に呼ばれる必要があります。 よって、ボタンを設定する場合ははインスタンス化した時にbuttonsのコンフィグオプションにて設定することが望ましいです。 Adds a button to this panel. Note that this method must be called prior to rendering. The preferred approach is to add buttons via the buttons config. パラメータ:
| Ext.Panel | |
addClass(
string cls
)
:
Ext.Componentコンポーネントの基礎的な要素にCSSクラスを追加します。 Adds a CSS class to the component's underlying element. コンポーネントの基礎的な要素にCSSクラスを追加します。 Adds a CSS class to the component's underlying element. パラメータ:
| Ext.Component | |
addEvents(
Object object
)
:
voidイベントを定義します。
自分自身でオリジナルのイベント名を定義する場合に使用します。
定義すること... Used to define events on this Observable イベントを定義します。
自分自身でオリジナルのイベント名を定義する場合に使用します。
定義することで、fireEventによるイベント発火が可能です。
イベントは一度に複数定義することができます。
Used to define events on this Observable パラメータ:
| Ext.util.Observable | |
addListener(
String eventName, Function handler, [Object scope], [Object options]
)
:
voidこのオブジェクトにイベントハンドラを設定します。
第1引数のイベント名のイベントが発火した場合、引... Appends an event handler to this object. このオブジェクトにイベントハンドラを設定します。
第1引数のイベント名のイベントが発火した場合、引数の関数が実行されます。
一度に複数のハンドラを加えることが可能です 。 Appends an event handler to this object. パラメータ:
| Ext.util.Observable | |
applyToMarkup(
String/HTMLElement el
)
:
voidこのコンポーネントを既存の有効なマークアップに適用します。この関数で、render()コールが必要とされ... Apply this component to existing markup that is valid. With this function, no call to render() is... このコンポーネントを既存の有効なマークアップに適用します。この関数で、render()コールが必要とされません。 Apply this component to existing markup that is valid. With this function, no call to render() is required. パラメータ:
| Ext.Component | |
bubble(
Function fn, [Object scope], [Array args]
)
:
Ext.Containerそれぞれのコンポーネントで指定された関数をコールし、コンポーネント/コンテナ階層のバブリングさせま... Bubbles up the component/container heirarchy, calling the specified function with each component.... それぞれのコンポーネントで指定された関数をコールし、コンポーネント/コンテナ階層のバブリングさせます。 関数コールのスコープ(thisの対象)は提供されたスコープ、または関数がコールされているコンポーネントとなります。 機能への引数は、提供された引数、または現在のコンポーネントが提供する引数となります。 もし、関数がfalseを返す場合、バブリングは停止します。 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. パラメータ:
| Ext.Container | |
cascade(
Function fn, [Object scope], [Array args]
)
:
Ext.Containerこのコンポーネントからコンポーネント/コンテナ階層の上から下へ、関数のコールを連鎖(このコンポーネ... Cascades down the component/container heirarchy from this component (called first), calling the s... このコンポーネントからコンポーネント/コンテナ階層の上から下へ、関数のコールを連鎖(このコンポーネントが最初にコール)します。 関数コールのスコープ(thisの対象)は提供されたスコープ、または関数がコールされているコンポーネントとなります。 機能への引数は、提供された引数、または現在のコンポーネントが提供する引数となります。 もし、関数がfalseを返す場合、カスケードはそのノードで停止します。 Cascades down the component/container heirarchy from this component (called first), 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 cascade is stopped on that branch. パラメータ:
| Ext.Container | |
cloneConfig(
Object overrides
)
:
Ext.Componentデフォルトでこのインスタンスに渡される最初の設定値を使用している現在のコンポーネントのクローンを... Clone the current component using the original config values passed into this instance by default. デフォルトでこのインスタンスに渡される最初の設定値を使用している現在のコンポーネントのクローンを生成します。 Clone the current component using the original config values passed into this instance by default. パラメータ:
| Ext.Component | |
collapse(
Boolean animate
)
:
Ext.Panelパネルのボディエレメントが開いている場合に折りたたんで隠す、expandに対となるメソッドです。
before... Collapses the panel body so that it becomes hidden.
Fires the beforecollapse event which will
c... パネルのボディエレメントが開いている場合に折りたたんで隠す、expandに対となるメソッドです。 beforecollapseイベントの戻り値がfalseの場合は折りたたみ動作を中止します。 Collapses the panel body so that it becomes hidden. Fires the beforecollapse event which will cancel the collapse action if it returns false. パラメータ:
| Ext.Panel | |
destroy()
:
void イベントリスナーを解除し、コンポーネント要素をDOMから取り除き、
Ext.Containerから取り除き(適用可... Destroys this component by purging any event listeners, removing the component's element from the... イベントリスナーを解除し、コンポーネント要素をDOMから取り除き、
Ext.Containerから取り除き(適用可能ならば)、
そしてExt.ComponentMgrの登録も取り消すことでコンポーネントを破棄します。
通常は、フレームワークによって自動的に破棄されるので、このメソッドが直接コールされる必要があるべきではありません。 Destroys this component by purging any event listeners, removing the component's element from the DOM,
removing the component from its Ext.Container (if applicable) and unregistering it from
Ext.ComponentMgr. Destruction is generally handled automatically by the framework and this method
should usually not need to be called directly. 戻り値:
| Ext.Component | |
disable()
:
Ext.Component このコンポーネントを無効にして、'disable'イベントを発火させます。 Disable this component and fire the 'disable' event. このコンポーネントを無効にして、'disable'イベントを発火させます。 Disable this component and fire the 'disable' event. 戻り値:
| Ext.Component | |
doLayout(
[Boolean shallow], [Boolean force]
)
:
Ext.Containerこのコンテナのレイアウトを強制的に再計算します。
この関数は、すでにレンダリングされているコンテナ... Force this container's layout to be recalculated. A call to this function is required after addin... このコンテナのレイアウトを強制的に再計算します。 この関数は、すでにレンダリングされているコンテナ、またはその子アイテムのサイズや位置のプロパティを変更した後や、コンテナに新しいアイテムを追加した後にコールする必要があります。 Force this container's layout to be recalculated. A call to this function is required after adding a new component to an already rendered container, or possibly after changing sizing/position properties of child components. パラメータ:
| Ext.Container | |
enable()
:
Ext.Component このコンポーネントを有効にして、'enable'イベントを発火させます。 Enable this component and fire the 'enable' event. このコンポーネントを有効にして、'enable'イベントを発火させます。 Enable this component and fire the 'enable' event. 戻り値:
| Ext.Component | |
enableBubble(
Object events
)
:
voidイベントのバブリングを有効にします。
コンテナに内包されている一番子供のコンテナに設定することで、... Used to enable bubbling of events イベントのバブリングを有効にします。
コンテナに内包されている一番子供のコンテナに設定することで、親コンテナへイベントがリレーします。
イベントがfalseになった時点でバブリングが停止します。 Used to enable bubbling of events パラメータ:
| Ext.util.Observable | |
expand(
Boolean animate
)
:
Ext.Panelパネルのボディエレメントが折りたたまっている場合に拡大して開く、collapseに対となるメソッドです。
... Expands the panel body so that it becomes visible. Fires the beforeexpand event which will
cance... パネルのボディエレメントが折りたたまっている場合に拡大して開く、collapseに対となるメソッドです。 beforeexpandイベントの戻り値がfalseの場合は開く動作を中止します。 Expands the panel body so that it becomes visible. Fires the beforeexpand event which will cancel the expand action if it returns false. パラメータ:
| Ext.Panel | |
find(
String prop, String value
)
:
Arrayプロパティから、このコンテナ内のどのレベルのコンポーネントでも探します。 Find a component under this container at any level by property プロパティから、このコンテナ内のどのレベルのコンポーネントでも探します。 Find a component under this container at any level by property パラメータ:
| Ext.Container | |
findBy(
Function fn, [Object scope]
)
:
Array設定した関数がtrueを返した場合、コンポーネントは結果に含まれています。 渡された関数は変数(compon... Find a component under this container at any level by a custom function. If the passed function r... 設定した関数がtrueを返した場合、コンポーネントは結果に含まれています。 渡された関数は変数(component, this container)と共に呼び出されます。 Find a component under this container at any level by a custom function. If the passed function returns true, the component will be included in the results. The passed function is called with the arguments (component, this container). パラメータ:
| Ext.Container | |
findById(
String id
)
:
Ext.Componentidから、このコンテナ内のどのレベルのコンポーネントでも探します。 Find a component under this container at any level by id idから、このコンテナ内のどのレベルのコンポーネントでも探します。 Find a component under this container at any level by id パラメータ:
| Ext.Container | |
findByType(
String/Class xtype, [Boolean shallow]
)
:
ArrayxtypeまたはCSSクラスから、このコンテナ内のどのレベルのコンポーネントでも探します。 Find a component under this container at any level by xtype or class xtypeまたはCSSクラスから、このコンテナ内のどのレベルのコンポーネントでも探します。 Find a component under this container at any level by xtype or class パラメータ:
| Ext.Container | |
findParentBy(
Function fn
)
:
Ext.Containerカスタムの関数によって、このコンポーネントの上のどんなレベルにおけるコンテナを見つけます。もし渡... Find a container above this component at any level by a custom function. If the passed function r... カスタムの関数によって、このコンポーネントの上のどんなレベルにおけるコンテナを見つけます。もし渡された関数にtrueが戻る場合、コンテナが返されます。 Find a container above this component at any level by a custom function. If the passed function returns true, the container will be returned. パラメータ:
| Ext.Component | |
findParentByType(
String/Class xtype
)
:
Ext.Containerxtype、またはクラスから、このコンポーネントの上のどんなレベルにおけるコンテナを見つけます。 Find a container above this component at any level by xtype or class xtype、またはクラスから、このコンポーネントの上のどんなレベルにおけるコンテナを見つけます。 Find a container above this component at any level by xtype or class パラメータ:
| Ext.Component | |
fireEvent(
String eventName, Object... args
)
:
Boolean渡された引数とともに、指定したイベントを発生させます。
enableBubbleを呼び出すことによって、
親コ... Fires the specified event with the passed parameters (minus the event name).
An event may be set ... 渡された引数とともに、指定したイベントを発生させます。 enableBubbleを呼び出すことによって、 親コンテナへイベントがリレーします。(参照:Ext.Component.getBubbleTarget) Fires the specified event with the passed parameters (minus the event name). An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by calling enableBubble. パラメータ:
| Ext.util.Observable | |
focus(
[Boolean selectText], [Boolean/Number delay]
)
:
Ext.Componentこのコンポーネントにフォーカスすることを試みます。 Try to focus this component. このコンポーネントにフォーカスすることを試みます。 Try to focus this component. パラメータ:
| Ext.Component | |
get(
String/Number key
)
:
Ext.Componentこのコンテナに含まれているコンポーネントを取得します(items.get(key)のエイリアス) Get a component contained by this container (alias for items.get(key)) このコンテナに含まれているコンポーネントを取得します(items.get(key)のエイリアス) Get a component contained by this container (alias for items.get(key)) パラメータ:
| Ext.Container | |
getBottomToolbar() : Ext.Toolbar | Ext.Panel | |
getBox(
[Boolean local]
)
:
Objectコンポーネントの基礎となっている要素の、現在のボックスサイズを取得します。 Gets the current box measurements of the component's underlying element. コンポーネントの基礎となっている要素の、現在のボックスサイズを取得します。 Gets the current box measurements of the component's underlying element. パラメータ:
| Ext.BoxComponent | |
getBubbleTarget()
:
Ext.Container ObservableのfireEventメソッドに、所有階層をバブリングするためのリンクを提供します。 Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy. ObservableのfireEventメソッドに、所有階層をバブリングするためのリンクを提供します。 Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy. 戻り値:
| Ext.Component | |
getColumnModel()
:
Ext.grid.ColumnModel GridのColumnModelを返します。 Returns the grid's ColumnModel. GridのColumnModelを返します。 Returns the grid's ColumnModel. 戻り値:
| Ext.grid.GridPanel | |
getComponent(
String/Number comp
)
:
Ext.Componentこのコンテナのitemsのプロパティを調べて、このコンテナの直接の子コンポーネントを取得します Examines this container's items property
and gets a direct child component of this container. このコンテナの のプロパティを調べて、このコンテナの直接の子コンポーネントを取得しますExamines this container's property
and gets a direct child component of this container.パラメータ:
| Ext.Container | |
getDragDropText()
:
String Gridのドラッグプロキシテキストを取得するためにコールされます。デフォルトではthis.ddTextを返します。 Called to get grid's drag proxy text, by default returns this.ddText. Gridのドラッグプロキシテキストを取得するためにコールされます。デフォルトではthis.ddTextを返します。 Called to get grid's drag proxy text, by default returns this.ddText. 戻り値:
| Ext.grid.GridPanel | |
getEl()
:
Ext.Element このコンポーネントをカプセル化するExt.Elementを返します。
これは通常、クラスのonRenderメソッドに... Returns the Ext.Element which encapsulates this Component.
This will usually be a <DIV> ele... このコンポーネントをカプセル化するExt.Elementを返します。 これは通常、クラスのonRenderメソッドによって作られる<DIV>要素ですが、
これは メモ: このコンポーネントがレンダリングされるまで、この要素は利用できません。 DOMイベントのためのリスナーをこのコンポーネントに追加するために(このコンポーネントの自身の観測可能なイベントのためのリスナーと対照的に)、 提案のためにlistenersオプションを見るか、または、直接リスナーをレンダリングします:
Returns the This will usually be a <DIV> element created by the class's onRender method, but that may be overridden using the autoEl config. Note: this element will not be available until this Component has been rendered. To add listeners for DOM events to this Component (as opposed to listeners for this Component's own Observable events), see the listeners config for a suggestion, or use a render listener directly:
戻り値:
| Ext.Component | |
getFrameHeight()
:
Number パネルのtopとbottom、ヘッダーとフッターを含む、フレームの高さをピクセル単位で取得します。
getFram... Returns the height in pixels of the framing elements of this panel (including any top and bottom ... パネルのtopとbottom、ヘッダーとフッターを含む、フレームの高さをピクセル単位で取得します。 getFrameHeightの戻り値が、パネルのボディエレメントの高さではないことに注意してください。 パネルのボディエレメントの高さを取得する場合はgetInnerHeightを使用してください。 Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and header and footer elements, but not including the body height). To retrieve the body height see getInnerHeight. 戻り値:
| Ext.Panel | |
getFrameWidth()
:
Number フレームの幅をピクセル単位で取得します。
getFrameWidthの戻り値が、パネルのボディエレメントの幅で... Returns the width in pixels of the framing elements of this panel (not including the body width).... フレームの幅をピクセル単位で取得します。 getFrameWidthの戻り値が、パネルのボディエレメントの幅ではないことに注意してください。 パネルのボディエレメントの幅を取得する場合はgetInnerWidthを使用してください。 Returns the width in pixels of the framing elements of this panel (not including the body width). To retrieve the body width see getInnerWidth. 戻り値:
| Ext.Panel | |
getGridEl()
:
Element Gridの基礎となっている要素を返します。 Returns the grid's underlying element. Gridの基礎となっている要素を返します。 Returns the grid's underlying element. 戻り値:
| Ext.grid.GridPanel | |
getHeight()
:
Number コンポーネントの基礎となっている要素の、現在の高さを取得します。 Gets the current height of the component's underlying element. コンポーネントの基礎となっている要素の、現在の高さを取得します。 Gets the current height of the component's underlying element. 戻り値:
| Ext.BoxComponent | |
getId()
:
String このコンポーネントのidを返します。
または、idが指定されていない場合は自動生成したidを返します: Returns the id of this component or automatically generates and
returns an id if an id is not def... このコンポーネントのidを返します。
または、idが指定されていない場合は自動生成したidを返します:
Returns the id of this component or automatically generates and
returns an id if an id is not defined yet:
戻り値:
| Ext.Component | |
getInnerHeight()
:
Number パネルのボディエレメントの高さをピクセル単位で取得します。
getInnerHeightの戻り値が、パネルのフレ... Returns the height in pixels of the body element (not including the height of any framing element... パネルのボディエレメントの高さをピクセル単位で取得します。 getInnerHeightの戻り値が、パネルのフレームの高さではないことに注意してください。パネルのフレームの高さを取得する場合はgetFrameHeightを使用してください。 Returns the height in pixels of the body element (not including the height of any framing elements). For the frame height see getFrameHeight. 戻り値:
| Ext.Panel | |
getInnerWidth()
:
Number パネルのボディエレメントの幅をピクセル単位で取得します。
getInnerWidthの戻り値が、パネルのフレー... Returns the width in pixels of the body element (not including the width of any framing elements)... パネルのボディエレメントの幅をピクセル単位で取得します。 getInnerWidthの戻り値が、パネルのフレームの幅ではないことに注意してください。 パネルのフレームの幅を取得する場合はgetFrameWidthを使用してください。 Returns the width in pixels of the body element (not including the width of any framing elements). For the frame width see getFrameWidth. 戻り値:
| Ext.Panel | |
getItemId()
:
String このコンポーネントのitemIdを返します。
itemIdが設定によって割り当てられなかった場合、getIdを使っ... Returns the itemId of this component. If an
itemId was not assigned through configuration the
id... | Ext.Component | |
getLayout()
:
ContainerLayout コンテナが現在使用しているレイアウトを返します。もし、コンテナがレイアウトを設定していない場合、... Returns the layout currently in use by the container. If the container does not currently have a... コンテナが現在使用しているレイアウトを返します。 もし、コンテナがレイアウトを設定していない場合、デフォルトのレイアウトExt.layout.ContainerLayoutが生成されて、コンテナのレイアウトとして設定されます。 Returns the layout currently in use by the container. If the container does not currently have a layout set, a default Ext.layout.ContainerLayout will be created and set as the container's layout. 戻り値:
| Ext.Container | |
getLayoutTarget()
:
Ext.Element このコンテナの子コンポーネントを含んでいるエレメントを取得します。
コンテナのElementを返す実装が... Returns the Element to be used to contain the child Components of this Container.
An implementati... このコンテナの子コンポーネントを含んでいるエレメントを取得します。 コンテナのElementを返す実装が供給されます。しかし、コンテナにさらに複雑な構造が存在する場合、レイアウトが子コンポーネントをレンダリングする要素を返すことを優先します。 Returns the Element to be used to contain the child Components of this Container. An implementation is provided which returns the Container's Element, but if there is a more complex structure to a Container, this may be overridden to return the element into which the layout renders child Components. 戻り値:
| Ext.Container | |
getOuterSize()
:
Object コンポーネントの基礎となっている要素の、マージンを含めたサイズを取得します。 Gets the current size of the component's underlying element, including space taken by its margins. コンポーネントの基礎となっている要素の、マージンを含めたサイズを取得します。 Gets the current size of the component's underlying element, including space taken by its margins. 戻り値:
| Ext.BoxComponent | |
getPosition(
[Boolean local]
)
:
Arrayコンポーネントの基礎となっている要素の、現在のXY位置を取得します。 Gets the current XY position of the component's underlying element. コンポーネントの基礎となっている要素の、現在のXY位置を取得します。 Gets the current XY position of the component's underlying element. パラメータ:
| Ext.BoxComponent | |
getResizeEl()
:
void コンポーネント全体の大きさを定義する、このコンポーネントの最も外側のエレメントを返します。
通常、... Returns the outermost Element of this Component which defines the Components overall size.
Usuall... コンポーネント全体の大きさを定義する、このコンポーネントの最も外側のエレメントを返します。 通常、これは 例えば、ComboBoxです。それは、両方の 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 戻り値:
| Ext.BoxComponent | |
getSelectionModel()
:
SelectionModel selModelオプションで設定した、Gridのセレクションモデルを返します。
セレクションモデルを設定してい... Returns the grid's selection model configured by the selModel
configuration option. If no selecti... Returns the grid's selection model configured by the selModel
configuration option. If no selection model was configured, this will create
and return a RowSelectionModel.戻り値:
| Ext.grid.GridPanel | |
getSize()
:
Object コンポーネントの基礎となっている要素の、現在のサイズを取得します。 Gets the current size of the component's underlying element. コンポーネントの基礎となっている要素の、現在のサイズを取得します。 Gets the current size of the component's underlying element. 戻り値:
| Ext.BoxComponent | |
getStore()
:
Ext.data.Store Gridで使用しているデータストアを返します。 Returns the grid's data store. Gridで使用しているデータストアを返します。 Returns the grid's data store. 戻り値:
| Ext.grid.GridPanel | |
getTool(
String id
)
:
Object指定したidのツールを取得します。 Retrieve a tool by id. 指定したidのツールを取得します。 Retrieve a tool by id. パラメータ:
| Ext.Panel | |
getTopToolbar() : Ext.Toolbar | Ext.Panel | |
getUpdater()
:
Ext.Updater このパネルで使用するExt.Updaterを取得します。
取得することで、このパネルのボディエレメントでAjax... Get the Ext.Updater for this panel. Enables you to perform Ajax updates of this panel's body. このパネルで使用するExt.Updaterを取得します。
取得することで、このパネルのボディエレメントでAjax通信を行うことが可能になります。 Get the Ext.Updater for this panel. Enables you to perform Ajax updates of this panel's body. 戻り値:
| Ext.Panel | |
getView()
:
Ext.grid.GridView GridのGridViewオブジェクトを返します。 Returns the grid's GridView object. GridのGridViewオブジェクトを返します。 Returns the grid's GridView object. 戻り値:
| Ext.grid.GridPanel | |
getWidth()
:
Number コンポーネントの基礎となっている要素の、現在の幅を取得します。 Gets the current width of the component's underlying element. コンポーネントの基礎となっている要素の、現在の幅を取得します。 Gets the current width of the component's underlying element. 戻り値:
| Ext.BoxComponent | |
getXType()
:
String Ext.ComponentMgrに登録されている、このコンポーネントのxtypeを取得します。
利用可能な全てのxtypeは... Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
availabl... Ext.ComponentMgrに登録されている、このコンポーネントのxtypeを取得します。
利用可能な全てのxtypeはこのクラスのクラス説明を見てください
使用例:
Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
available xtypes, see the Ext.Component header. Example usage:
戻り値:
| Ext.Component | |
getXTypes()
:
String スラッシュによって区切られたコンポーネントのxtype階層を取得します。
利用可能な全てのxtypeはこのク... Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
available... スラッシュによって区切られたコンポーネントのxtype階層を取得します。 利用可能な全てのxtypeはこのクラスのクラス説明を見てください もし、サブクラスを使用している場合、継承されたxtypesの定義に加わるために、 コンポーネントが自身のxtypeを登録しなくてはならないことを知っておいてください。 使用例:
Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all If using your own subclasses, be aware that a Component must register its own xtype to participate in determination of inherited xtypes. Example usage:
戻り値:
| Ext.Component | |
hasListener(
String eventName
)
:
Booleanこのオブジェクトに、指定したイベントのリスナーが存在するか調べます。 Checks to see if this object has any listeners for a specified event このオブジェクトに、指定したイベントのリスナーが存在するか調べます。 Checks to see if this object has any listeners for a specified event パラメータ:
| Ext.util.Observable | |
hide()
:
Ext.Component このコンポーネントを非表示にします。
'beforehide'イベントをリッスンし、falseを返された場合、非表... Hide this component. Listen to the 'beforehide' event and return
false to cancel hiding the comp... このコンポーネントを非表示にします。
'beforehide'イベントをリッスンし、falseを返された場合、非表示にすることをキャンセルします。
コンポーネントが非表示になった後で'hide'が発火します。
コンポーネントが非表示になる設定( hidden )を行った場合、このメソッドが内部でコールされることに注意してください。Hide this component. Listen to the 'beforehide' event and return
false to cancel hiding the component. Fires the 'hide'
event after hiding the component. Note this method is called internally if
the component is configured to be hidden .戻り値:
| Ext.Component | |
insert(
Number index, Ext.Component component
)
:
Ext.Componentコンポーネントをこのコンテナの指定されたインデックスに挿入します。
挿入前にbeforeaddイベントが発... Inserts a Component into this Container at a specified index. Fires the
beforeadd event before in... Inserts a Component into this Container at a specified index. Fires the beforeadd event before inserting, then fires the add event after the Component has been inserted. パラメータ:
| Ext.Container | |
isVisible()
:
Boolean このコンポーネントが表示されている(隠れていない)場合、trueを返します。 Returns true if this component is visible. このコンポーネントが表示されている(隠れていない)場合、trueを返します。 Returns true if this component is visible. 戻り値:
| Ext.Component | |
isXType(
String xtype, [Boolean shallow]
)
:
Booleanこのコンポーネントが特定のxtypeであるかどうか試みます。
これはこのコンポーネントが、指定したxtype... Tests whether or not this Component is of a specific xtype. This can test whether this Component ... このコンポーネントが特定のxtypeであるかどうか試みます。 これはこのコンポーネントが、指定したxtypeの子孫であるかどうか(デフォルト)、またはxtypeが直接指定されたインスタンスであるかどうか(shallow = true)調べることができます。 もし、サブクラスを使用している場合、継承されたxtypesの定義に加わるために、 コンポーネントが自身のxtypeを登録しなくてはならないことを知っておいてください。 利用可能な全てのxtypeはこのクラスのクラス説明を見てください 使用例:
Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended from the xtype (default) or whether it is directly of the xtype specified (shallow = true). If using your own subclasses, be aware that a Component must register its own xtype to participate in determination of inherited xtypes. For a list of all available xtypes, see the Ext.Component header. Example usage:
パラメータ:
| Ext.Component | |
load(
Object/String/Function config
)
:
Ext.PanelXMLHttpRequestコールからパネルの内容をロードします。 Loads this content panel immediately with content returned from an XHR call. XMLHttpRequestコールからパネルの内容をロードします。 Loads this content panel immediately with content returned from an XHR call. パラメータ:
| Ext.Panel | |
nextSibling()
:
Ext.Component このコンポーネントを所有するコンテナ内の、このコンポーネントの次の兄弟コンポーネントを返します。 Returns the next component in the owning container このコンポーネントを所有するコンテナ内の、このコンポーネントの次の兄弟コンポーネントを返します。 Returns the next component in the owning container 戻り値:
| Ext.Component | |
on(
String eventName, Function handler, [Object scope], [Object options]
)
:
voidこのオブジェクトにイベントハンドラを設定します。(addListenerのエイリアス) Appends an event handler to this object (shorthand for addListener.) このオブジェクトにイベントハンドラを設定します。 (addListenerのエイリアス) Appends an event handler to this object (shorthand for addListener.) パラメータ:
| Ext.util.Observable | |
previousSibling()
:
Ext.Component このコンポーネントを所有するコンテナ内の、このコンポーネントの前の兄弟コンポーネントを返します。 Returns the previous component in the owning container このコンポーネントを所有するコンテナ内の、このコンポーネントの前の兄弟コンポーネントを返します。 Returns the previous component in the owning container 戻り値:
| Ext.Component | |
purgeListeners()
:
void このオブジェクトから、イベントリスナーを全て削除します。 Removes all listeners for this object このオブジェクトから、イベントリスナーを全て削除します。 Removes all listeners for this object 戻り値:
| Ext.util.Observable | |
reconfigure(
Ext.data.Store store, Ext.grid.ColumnModel colModel
)
:
void異なるストア、カラムのモデルを用いるためにグリッドを再設定します。
その際、'reconfigure'イベント... Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event... 異なるストア、カラムのモデルを用いるためにグリッドを再設定します。 その際、'reconfigure'イベントを発火させます。ビューは新しいオブジェクトと結合し、リフレッシュされます。 GridPanelを再設定する場合、ある程度の既存の設定が無効になるかもしれないことを覚えておいてください。 例えば、設定したautoExpandColumnは、新しいColumnModelでは存在しないかもしれません。 同じく、既存のPagingToolbarは古いストアと結びついているので、再び結びつくことを必要とするでしょう。 どんなpluginsもまた、新しいデータで再構成されることを必要とするかもしれません。 Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event. The View will be bound to the new objects and refreshed. Be aware that upon reconfiguring a GridPanel, certain existing settings may become invalidated. For example the configured autoExpandColumn may no longer exist in the new ColumnModel. Also, an existing PagingToolbar will still be bound to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data. パラメータ:
| Ext.grid.GridPanel | |
relayEvents(
Object o, Array events
)
:
voidイベントをリレーします。 Relays selected events from the specified Observable as if the events were fired by this. イベントをリレーします。 Relays selected events from the specified Observable as if the events were fired by this. パラメータ:
| Ext.util.Observable | |
remove(
Component/String component, [Boolean autoDestroy]
)
:
Ext.Componentコンポーネントをこのコンテナから削除します。
削除前にbeforeremoveイベントが発生し、コンポーネント... Removes a component from this container. Fires the
beforeremove event before removing, then fir... Removes a component from this container. Fires the beforeremove event before removing, then fires the remove event after the component has been removed. パラメータ:
| Ext.Container | |
removeAll(
[Boolean autoDestroy]
)
:
Arrayコンテナに含まれる全てのコンポーネントを削除します。 Removes all components from this container. コンテナに含まれる全てのコンポーネントを削除します。 Removes all components from this container. パラメータ:
| Ext.Container | |
removeClass(
string cls
)
:
Ext.Componentコンポーネントの基礎となる要素から、指定したCSSクラスを取り除きます。 Removes a CSS class from the component's underlying element. コンポーネントの基礎となる要素から、指定したCSSクラスを取り除きます。 Removes a CSS class from the component's underlying element. パラメータ:
| Ext.Component | |
removeListener(
String eventName, Function handler, [Object scope]
)
:
voidこのオブジェクトから、指定したイベントハンドラを削除します。 Removes an event handler. このオブジェクトから、指定したイベントハンドラを削除します。 Removes an event handler. パラメータ:
| Ext.util.Observable | |
render(
[Element/HTMLElement/String container], [String/Number position]
)
:
void渡されたHTML要素に、このコンポーネントをレンダリングします。
もし、このコンポーネントがレンダリン... Render this Component into the passed HTML element.
If you are using a Container object to house ... 渡されたHTML要素に、このコンポーネントをレンダリングします。 もし、このコンポーネントがレンダリングされる場所がコンテナである場合、このメソッドを使用しないでください。 コンテナがレンダリングされる時、そのコンテナに属する子コンポーネントはコンテナのレイアウトマネージャによってレンダリングされます。 ある特定のレイアウトマネージャーは子コンポーネントのダイナミックな付加を許可します。 それらはExt.layout.CardLayout、Ext.layout.AnchorLayout、 Ext.layout.FormLayout,、Ext.layout.TableLayoutを含みます。 もし、このコンテナが既にレンダリングされている状態の時にコンポーネントを追加でレンダリングさせたい場合、コンテナのdoLayoutによって更新をかける必要があります。 これは、もし必要なら多くの子コンポーネントを1度のレイアウトのリフレッシュによってで追加できるために必要です。 複雑なインターフェイスを作成するとき、子コンポーネントのサイズ規格と配置はコンテナのレイアウトマネージャーによって管理されることを覚えていることが重要です もしユーザー対話に応じて子アイテムのサイズを期待する場合、 想定するレイアウトのタイプを管理するレイアウトマネージャーを作成し、一緒にコンテナの設定をしなくてはなりません。 コンテナのレイアウト設定を省略することは、コンテナの中に子コンポーネントがただ連続的にレンダリングされる以外に何もされない基本的なレイアウトマネージャーが使用されることを意味します。 この状況では、サイズ処理、または配置は行なわれないでしょう。 Render this Component into the passed HTML element. If you are using a Container object to house this Component, then do not use the render method. A Container's child Components are rendered by that Container's layout manager when the Container is first rendered. Certain layout managers allow dynamic addition of child components. Those that do include Ext.layout.CardLayout, Ext.layout.AnchorLayout, Ext.layout.FormLayout, Ext.layout.TableLayout. If the Container is already rendered when a new child Component is added, you may need to call the Container's doLayout to refresh the view which causes any unrendered child Components to be rendered. This is required so that you can add multiple child components if needed while only refreshing the layout once. When creating complex UIs, it is important to remember that sizing and positioning of child items is the responsibility of the Container's layout manager. If you expect child items to be sized in response to user interactions, you must configure the Container with a layout manager which creates and manages the type of layout you have in mind. Omitting the Container's layout config means that a basic layout manager is used which does nothing but render child components sequentially into the Container. No sizing or positioning will be performed in this situation. パラメータ:
| Ext.Component | |
resumeEvents()
:
void イベントの発生を再開します。
もし、suspendEventsの引数でqueueSuspendedをtrueとした場合、イベント... Resume firing events.(see suspendEvents) If events were suspended using the queueSuspended param... イベントの発生を再開します。 もし、suspendEventsの引数でqueueSuspendedをtrueとした場合、イベント停止時に発火したイベントのハンドラは再会時に次々と実行されます。 Resume firing events. (see suspendEvents) If events were suspended using the queueSuspended parameter, then all events fired during event suspension will be sent to any listeners now. 戻り値:
| Ext.util.Observable | |
setDisabled(
Boolean disabled
)
:
Ext.Component真偽値でコンポーネントの有効/無効を設定する簡易関数です。 Convenience function for setting disabled/enabled by boolean. 真偽値でコンポーネントの有効/無効を設定する簡易関数です。 Convenience function for setting disabled/enabled by boolean. パラメータ:
| Ext.Component | |
setHeight(
Number height
)
:
Ext.BoxComponentコンポーネントの高さを設定します。
このメソッドはresizeイベントを発火させます。 Sets the height of the component.
This method fires the resize event. コンポーネントの高さを設定します。
このメソッドはresizeイベントを発火させます。 Sets the height of the component.
This method fires the resize event. パラメータ:
| Ext.BoxComponent | |
setIconClass(
String cls
)
:
voidこのパネルにアイコンの画像を提供するCSSクラスを設定します。
もし、アイコン画像CSSクラスが既に設定... Sets the CSS class that provides the icon image for this panel. This method will replace any exi... このパネルにアイコンの画像を提供するCSSクラスを設定します。 もし、アイコン画像CSSクラスが既に設定されている場合、このCSSクラスは新しいCSSクラスと置き換えられます。 この時、iconchangeイベントが発生します。 Sets the CSS class that provides the icon image for this panel. This method will replace any existing icon class if one has already been set and fire the iconchange event after completion. パラメータ:
| Ext.Panel | |
setPagePosition(
Number x, Number y
)
:
Ext.BoxComponentコンポーネントのページでのXY位置を設定します。
代わりにleftとtopを設定するためには、setPositionを... Sets the page XY position of the component.
To set the left and top instead, use setPosition.
Th... コンポーネントのページでのXY位置を設定します。
代わりにleftとtopを設定するためには、setPositionを使用してください。
このメソッドはmoveイベントを発火させます。 Sets the page XY position of the component.
To set the left and top instead, use setPosition.
This method fires the move event. パラメータ:
| Ext.BoxComponent | |
setPosition(
Number left, Number top
)
:
Ext.BoxComponentコンポーネントのleftとtopを設定します。
代わりにページでのXY位置を設定するためには、setPagePositi... Sets the left and top of the component.
To set the page XY position instead, use setPagePosition... コンポーネントのleftとtopを設定します。
代わりにページでのXY位置を設定するためには、setPagePositionを使用してください。
このメソッドはmoveイベントを発火させます。 Sets the left and top of the component.
To set the page XY position instead, use setPagePosition.
This method fires the move event. パラメータ:
| Ext.BoxComponent | |
setSize(
Mixed width, Mixed height
)
:
Ext.BoxComponentこのメソッドはresizeイベントを発火させます。
このメソッドは、幅と高さを個別のパラメータで渡します... Sets the width and height of this BoxComponent.
This method fires the resize event.
This method... このメソッドはresizeイベントを発火させます。
このメソッドは、幅と高さを個別のパラメータで渡します。また、幅と高さがセットになったオブジェクト形式(例 {width:10, height:20} )を渡すことも可能です。Sets the width and height of this BoxComponent.
This method fires the resize event.
This method can accept either width and height as separate arguments, or you can pass a size object like {width:10, height:20} .パラメータ:
| Ext.BoxComponent | |
setTitle(
String title, [String iconCls]
)
:
voidこのパネルのタイトル文字を設定します。
また、オプションでアイコンの画像を提供するCSSクラスも設定... Sets the title text for the panel and optionally the
icon class.
In order to be able to set the ... このパネルのタイトル文字を設定します。 また、オプションでアイコンの画像を提供するCSSクラスも設定可能です。
パネルにタイトル設定をするために、ヘッダーエレメントが作られたのでしょう。
パネル設定時に空白でない Sets the title text for the panel and optionally the In order to be able to set the title, a header element must have been created
for the Panel. This is triggered either by configuring the Panel with a non-blank | Ext.Panel | |
setVisible(
Boolean visible
)
:
Ext.Component真偽値でコンポーネントの表示/非表示を設定する簡易関数です。 Convenience function to hide or show this component by boolean. 真偽値でコンポーネントの表示/非表示を設定する簡易関数です。 Convenience function to hide or show this component by boolean. パラメータ:
| Ext.Component | |
setWidth(
Number width
)
:
Ext.BoxComponentコンポーネントの幅を設定します。
このメソッドはresizeイベントを発火させます。 Sets the width of the component.
This method fires the resize event. コンポーネントの幅を設定します。
このメソッドはresizeイベントを発火させます。 Sets the width of the component.
This method fires the resize event. パラメータ:
| Ext.BoxComponent | |
show()
:
Ext.Component このコンポーネントを表示します。
'beforeshow'イベントでfalseの場合、この表示はキャンセルされま... Show this component. Listen to the 'beforeshow' event and return
false to cancel showing the com... Show this component. Listen to the 'beforeshow' event and return false to cancel showing the component. Fires the 'show' event after showing the component. 戻り値:
| Ext.Component | |
suspendEvents(
Boolean queueSuspended
)
:
voidイベントの発生を停止します。(参照:resumeEvents) Suspend the firing of all events. (see resumeEvents) イベントの発生を停止します。(参照:resumeEvents) Suspend the firing of all events. (see resumeEvents) パラメータ:
| Ext.util.Observable | |
syncSize()
:
Ext.BoxComponent 基礎となっている要素の現在の高さと幅に基づいて再計算し、コンポーネントの大きさを強制します。 Force the component's size to recalculate based on the underlying element's current height and wi... 基礎となっている要素の現在の高さと幅に基づいて再計算し、コンポーネントの大きさを強制します。 Force the component's size to recalculate based on the underlying element's current height and width. 戻り値:
| Ext.BoxComponent | |
toggleCollapse(
Boolean animate
)
:
Ext.Panelパネルのボディエレメントが開いている場合に折りたたむことで閉じ、パネルのボディエレメントが折りた... Shortcut for performing an
expand or collapse based on the current state of the panel. パネルのボディエレメントが開いている場合に パラメータ:
| Ext.Panel | |
un(
String eventName, Function handler, [Object scope]
)
:
voidこのオブジェクトから、指定したイベントハンドラを削除します。
(removeListenerのエイリアス) Removes an event handler
(shorthand for removeListener.) このオブジェクトから、指定したイベントハンドラを削除します。 (removeListenerのエイリアス) Removes an event handler (shorthand for removeListener.) パラメータ:
| Ext.util.Observable | |
updateBox(
Object box
)
:
Ext.BoxComponentコンポーネントの基礎となっている要素の、現在のボックスサイズを設定します。 Sets the current box measurements of the component's underlying element. コンポーネントの基礎となっている要素の、現在のボックスサイズを設定します。 Sets the current box measurements of the component's underlying element. パラメータ:
| Ext.BoxComponent |
イベント | 定義クラス | |
---|---|---|
activate
:
(
Ext.Panel p
)パネルが視覚的に始動した後に発火します。
パネルは直接始動することをサポートしませんが、Ext.Windo... Fires after the Panel has been visually activated. Note that Panels do not directly support being... パネルが視覚的に始動した後に発火します。 パネルは直接始動することをサポートしませんが、Ext.Windowのような、いくつかのサブクラスがこれをサポートすることに注意してください。 また、子クラスであるタブパネルは、activateとdeactivateイベントをタブパネルクラスのコントロールによって発火します。 Fires after the Panel has been visually activated. Note that Panels do not directly support being activated, but some Panel subclasses do (like Ext.Window). Panels which are child Components of a TabPanel fire the activate and deactivate events under the control of the TabPanel. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
add
:
(
Ext.Container this, Ext.Component component, Number index
)リスナーは以下の引数と共に呼び出されます:
| Ext.Container | |
afterlayout
:
(
Ext.Container this, ContainerLayout layout
)コンテナのコンポーネントが、関係するレイアウトマネージャーによって配置されるときに発火します。 Fires when the components in this container are arranged by the associated layout manager. コンテナのコンポーネントが、関係するレイアウトマネージャーによって配置されるときに発火します。 Fires when the components in this container are arranged by the associated layout manager. リスナーは以下の引数と共に呼び出されます:
| Ext.Container | |
afterrender
:
(
Ext.Component this
)コンポーネントのレンダリングが終了した後で発火します。
コンポーネントがレンダリングされた後に定義... Fires after the component rendering is finished.
The afterrender event is fired after this Compon... コンポーネントのレンダリングが終了した後で発火します。 コンポーネントがレンダリングされた後に定義されたafterRenderメソッドによって処理します。 もしstatefulである場合、状態が元に戻された後に発火します。 Fires after the component rendering is finished. The afterrender event is fired after this Component has been rendered, been postprocesed by any afterRender method defined for the Component, and, if stateful, after state has been restored. リスナーは以下の引数と共に呼び出されます:
| Ext.Component | |
beforeadd
:
(
Ext.Container this, Ext.Component component, Number index
)Ext.Componentが追加される、またはコンテナに挿入される前に発火します。
ハンドラがfalseを返すことで... Fires before any Ext.Component is added or inserted into the container.
A handler can return fals... Ext.Componentが追加される、またはコンテナに挿入される前に発火します。 ハンドラがfalseを返すことで、追加・挿入をキャンセルするができます。 Fires before any Ext.Component is added or inserted into the container.
A handler can return false to cancel the add. リスナーは以下の引数と共に呼び出されます:
| Ext.Container | |
beforeclose
:
(
Ext.Panel p
)パネルが閉じられる前に発火します。
パネルは閉じられていることを直接サポートしませんが、Ext.Window... Fires before the Panel is closed.
Note that Panels do not directly support being closed, but so... パネルが閉じられる前に発火します。 パネルは閉じられていることを直接サポートしませんが、Ext.Windowのような、いくつかのサブクラスとExt.TabPanelに含まれるパネルがこれをサポートすることに注意してください。 このイベントは上記のサブクラス等に効果のあるイベントです。 ハンドラがfalseを返すことで、閉じることを中止させることができます。 Fires before the Panel is closed. Note that Panels do not directly support being closed, but some Panel subclasses do (like Ext.Window) or a Panel within a Ext.TabPanel. This event only applies to such subclasses. A handler can return false to cancel the close. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
beforecollapse
:
(
Ext.Panel p, Boolean animate
)パネルが折りたたまれる前に発火します。
ハンドラがfalseを返すことで、折りたたまれることを中止させ... Fires before the Panel is collapsed. A handler can return false to cancel the collapse. パネルが折りたたまれる前に発火します。 ハンドラがfalseを返すことで、折りたたまれることを中止させることができます。 Fires before the Panel is collapsed. A handler can return false to cancel the collapse. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
beforedestroy
:
(
Ext.Component this
)コンポーネントが破壊される前に発火します。
イベントハンドラがfalseを返した場合、以後の動作(破壊... Fires before the component is destroyed. Return false from an event handler to stop the destroy. | Ext.Component | |
beforeexpand
:
(
Ext.Panel p, Boolean animate
)パネルが開かれる前に発火します。
ハンドラがfalseを返すことで、開くことを中止させることができます。 Fires before the Panel is expanded. A handler can return false to cancel the expand. パネルが開かれる前に発火します。 ハンドラがfalseを返すことで、開くことを中止させることができます。 Fires before the Panel is expanded. A handler can return false to cancel the expand. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
beforehide
:
(
Ext.Component this
)コンポーネントが隠れる前に発火します。
イベントハンドラがfalseを返した場合、以後の動作(隠れる)... Fires before the component is hidden by calling the hide method.
Return false from an event handl... | Ext.Component | |
beforeremove
:
(
Ext.Container this, Ext.Component component
)Ext.Componentが削除される前に発火します。
ハンドラがfalseを返すことで、削除をキャンセルするができ... Fires before any Ext.Component is removed from the container. A handler can return
false to canc... Ext.Componentが削除される前に発火します。 ハンドラがfalseを返すことで、削除をキャンセルするができます。 Fires before any Ext.Component is removed from the container. A handler can return
false to cancel the remove. リスナーは以下の引数と共に呼び出されます:
| Ext.Container | |
beforerender
:
(
Ext.Component this
)コンポーネントがレンダリングされる前に発火します。
イベントハンドラがfalseを返した場合、以後の動... Fires before the component is rendered. Return false from an
event handler to stop the render. | Ext.Component | |
beforeshow
:
(
Ext.Component this
)コンポーネントが現れる前に発火します。
イベントハンドラがfalseを返した場合、以後の動作(現れる)... Fires before the component is shown by calling the
show method.
Return false from an event handl... | Ext.Component | |
beforestaterestore
:
(
Ext.Component this, Object state
)コンポーネントがリストアされる前に発火します。
イベントハンドラがfalseを返した場合、以後の動作(... Fires before the state of the component is restored. Return false from an event handler to stop t... コンポーネントがリストアされる前に発火します。 イベントハンドラがfalseを返した場合、以後の動作(リストア)がキャンセルされます。 Fires before the state of the component is restored. Return false from an event handler to stop the restore. リスナーは以下の引数と共に呼び出されます:
| Ext.Component | |
beforestatesave
:
(
Ext.Component this, Object state
)コンポーネントがステートプロバイダによって状態保存される前に発火します。
falseを返した場合、以後... Fires before the state of the component is saved to the configured state provider. Return false t... コンポーネントがステートプロバイダによって状態保存される前に発火します。 falseを返した場合、以後の動作(状態保存)がキャンセルされます。 Fires before the state of the component is saved to the configured state provider. Return false to stop the save. リスナーは以下の引数と共に呼び出されます:
| Ext.Component | |
bodyresize
:
(
Ext.Panel p, Number width, Number height
)パネルがリサイズされた後に発火します。 Fires after the Panel has been resized. パネルがリサイズされた後に発火します。 Fires after the Panel has been resized. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
bodyscroll
:
(
Number scrollLeft, Number scrollTop
)ボディエレメントがスクロールされた時に発火します。 Fires when the body element is scrolled ボディエレメントがスクロールされた時に発火します。 Fires when the body element is scrolled リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
cellclick
:
(
Grid this, Number rowIndex, Number columnIndex, Ext.EventObject e
)セルがクリックされる時に発火します。
この列のレコードからセルのデータが引き出されます。
リスナー... Fires when a cell is clicked.
The data for the cell is drawn from the Record
for this row. To acc... セルがクリックされる時に発火します。 この列のレコードからセルのデータが引き出されます。 リスナーの関数内でデータにアクセスするためには次のテクニックを使用してください:
Fires when a cell is clicked. The data for the cell is drawn from the Record for this row. To access the data in the listener function use the following technique:
リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
cellcontextmenu
:
(
Grid this, Number rowIndex, Number cellIndex, Ext.EventObject e
)セルで右クリックした時に発火します。 Fires when a cell is right clicked セルで右クリックした時に発火します。 Fires when a cell is right clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
celldblclick
:
(
Grid this, Number rowIndex, Number columnIndex, Ext.EventObject e
)セルをダブルクリックした時に発火します。 Fires when a cell is double clicked セルをダブルクリックした時に発火します。 Fires when a cell is double clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
cellmousedown
:
(
Grid this, Number rowIndex, Number columnIndex, Ext.EventObject e
)セルがクリックされる前に発火します。 Fires before a cell is clicked セルがクリックされる前に発火します。 Fires before a cell is clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
click
:
(
Ext.EventObject e
)全てのGridのための、手を加えていないクリックイベントです。 The raw click event for the entire grid. 全てのGridのための、手を加えていないクリックイベントです。 The raw click event for the entire grid. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
close
:
(
Ext.Panel p
)パネルが閉じられた後に発火します。
パネルは閉じられていることを直接サポートしませんが、Ext.Window... Fires after the Panel is closed.
Note that Panels do not directly support being closed, but som... パネルが閉じられた後に発火します。 パネルは閉じられていることを直接サポートしませんが、Ext.Windowのような、いくつかのサブクラスとExt.TabPanelに含まれるパネルがこれをサポートすることに注意してください。 Fires after the Panel is closed. Note that Panels do not directly support being closed, but some Panel subclasses do (like Ext.Window) or a Panel within a Ext.TabPanel. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
collapse
:
(
Ext.Panel p
)パネルが折りたたまれた後に発火します。 Fires after the Panel has been collapsed. パネルが折りたたまれた後に発火します。 Fires after the Panel has been collapsed. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
columnmove
:
(
Number oldIndex, Number newIndex
)ユーザによってカラムを移動させた時に発火します。 Fires when the user moves a column ユーザによってカラムを移動させた時に発火します。 Fires when the user moves a column リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
columnresize
:
(
Number columnIndex, Number newSize
)ユーザによってカラムのサイズが変更されたときに発火します。 Fires when the user resizes a column ユーザによってカラムのサイズが変更されたときに発火します。 Fires when the user resizes a column リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
contextmenu
:
(
Ext.EventObject e
)全てのGridのためのコンテキストメニューイベントです。 The raw contextmenu event for the entire grid. 全てのGridのためのコンテキストメニューイベントです。 The raw contextmenu event for the entire grid. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
dblclick
:
(
Ext.EventObject e
)全てのGridのための、手を加えていないダブルクリックイベントです。 The raw dblclick event for the entire grid. 全てのGridのための、手を加えていないダブルクリックイベントです。 The raw dblclick event for the entire grid. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
deactivate
:
(
Ext.Panel p
)パネルが視覚的に停止した後に発火します。
パネルは直接停止することをサポートしませんが、Ext.Window... Fires after the Panel has been visually deactivated.
Note that Panels do not directly support bei... パネルが視覚的に停止した後に発火します。 パネルは直接停止することをサポートしませんが、Ext.Windowのような、いくつかのサブクラスがこれをサポートすることに注意してください。 また、子クラスであるタブパネルは、activateとdeactivateイベントをタブパネルクラスのコントロールによって発火します。 Fires after the Panel has been visually deactivated.
Note that Panels do not directly support being deactivated, but some Panel subclasses
do (like Ext.Window). Panels which are child Components of a TabPanel fire the
activate and deactivate events under the control of the TabPanel. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
destroy
:
(
Ext.Component this
) | Ext.Component | |
disable
:
(
Ext.Component this
)コンポーネントが無効になった後に発火します。 Fires after the component is disabled. コンポーネントが無効になった後に発火します。 Fires after the component is disabled. リスナーは以下の引数と共に呼び出されます:
| Ext.Component | |
enable
:
(
Ext.Component this
)コンポーネントが有効になった後に発火します。 Fires after the component is enabled. コンポーネントが有効になった後に発火します。 Fires after the component is enabled. リスナーは以下の引数と共に呼び出されます:
| Ext.Component | |
expand
:
(
Ext.Panel p
)折りたたまれたパネルが開いた後に発火します。 Fires after the Panel has been expanded. 折りたたまれたパネルが開いた後に発火します。 Fires after the Panel has been expanded. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
headerclick
:
(
Grid this, Number columnIndex, Ext.EventObject e
)ヘッダーをクリックした時に発火します。 Fires when a header is clicked ヘッダーをクリックした時に発火します。 Fires when a header is clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
headercontextmenu
:
(
Grid this, Number columnIndex, Ext.EventObject e
)ヘッダーを右クリックした時に発火します。 Fires when a header is right clicked ヘッダーを右クリックした時に発火します。 Fires when a header is right clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
headerdblclick
:
(
Grid this, Number columnIndex, Ext.EventObject e
)ヘッダーセルをダブルクリックした時に発火します。 Fires when a header cell is double clicked ヘッダーセルをダブルクリックした時に発火します。 Fires when a header cell is double clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
headermousedown
:
(
Grid this, Number columnIndex, Ext.EventObject e
)ヘッダーがクリックされる前に発火します。 Fires before a header is clicked ヘッダーがクリックされる前に発火します。 Fires before a header is clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
hide
:
(
Ext.Component this
)コンポーネントが隠された後に発火します。
hideメソッドがコールされたとき、コンポーネントが隠された... Fires after the component is hidden.
Fires after the component is hidden when calling the hide me... | Ext.Component | |
iconchange
:
(
Ext.Panel p, String The, String The
)アイコンCSSクラスが設定、
または変更された後に発火します。 Fires after the Panel icon class has been
set or changed. リスナーは以下の引数と共に呼び出されます:
| Ext.Panel | |
keydown
:
(
Ext.EventObject e
)全てのGridのための、手を加えていないkeydownイベントです。 The raw keydown event for the entire grid. 全てのGridのための、手を加えていないkeydownイベントです。 The raw keydown event for the entire grid. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
keypress
:
(
Ext.EventObject e
)全てのGridのための、手を加えていないkeypressイベントです。 The raw keypress event for the entire grid. 全てのGridのための、手を加えていないkeypressイベントです。 The raw keypress event for the entire grid. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
mousedown
:
(
Ext.EventObject e
)全てのGridのための、手を加えていないmousedownイベントです。 The raw mousedown event for the entire grid. 全てのGridのための、手を加えていないmousedownイベントです。 The raw mousedown event for the entire grid. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
mouseout
:
(
Ext.EventObject e
)全てのGridのための、手を加えていないmouseoutイベントです。 The raw mouseout event for the entire grid. 全てのGridのための、手を加えていないmouseoutイベントです。 The raw mouseout event for the entire grid. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
mouseover
:
(
Ext.EventObject e
)全てのGridのための、手を加えていないmouseoverイベントです。 The raw mouseover event for the entire grid. 全てのGridのための、手を加えていないmouseoverイベントです。 The raw mouseover event for the entire grid. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
mouseup
:
(
Ext.EventObject e
)全てのGridのための、手を加えていないouseupイベントです。 The raw mouseup event for the entire grid. 全てのGridのための、手を加えていないouseupイベントです。 The raw mouseup event for the entire grid. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
move
:
(
Ext.Component this, Number x, Number y
)コンポーネントが移動した後に発火します。 Fires after the component is moved. コンポーネントが移動した後に発火します。 Fires after the component is moved. リスナーは以下の引数と共に呼び出されます:
| Ext.BoxComponent | |
reconfigure
:
(
Grid this, Ext.data.Store store, Ext.grid.ColumnModel colModel
)Gridが新しいストアと/またはカラムモデルで再構成される時に発火します。 Fires when the grid is reconfigured with a new store and/or column model. Gridが新しいストアと/またはカラムモデルで再構成される時に発火します。 Fires when the grid is reconfigured with a new store and/or column model. リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
remove
:
(
Ext.Container this, Ext.Component component
)リスナーは以下の引数と共に呼び出されます:
| Ext.Container | |
render
:
(
Ext.Component this
) | Ext.Component | |
resize
:
(
Ext.Component this, Number adjWidth, Number adjHeight, Number rawWidth, Number rawHeight
)コンポーネントがリサイズされた後に発火します。 Fires after the component is resized. コンポーネントがリサイズされた後に発火します。 Fires after the component is resized. リスナーは以下の引数と共に呼び出されます:
| Ext.BoxComponent | |
rowclick
:
(
Grid this, Number rowIndex, Ext.EventObject e
)列をクリックした時に発火します。 Fires when a row is clicked 列をクリックした時に発火します。 Fires when a row is clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
rowcontextmenu
:
(
Grid this, Number rowIndex, Ext.EventObject e
)列を右クリックした時に発火します。 Fires when a row is right clicked 列を右クリックした時に発火します。 Fires when a row is right clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
rowdblclick
:
(
Grid this, Number rowIndex, Ext.EventObject e
)列をダブルクリックした時に発火します。 Fires when a row is double clicked 列をダブルクリックした時に発火します。 Fires when a row is double clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
rowmousedown
:
(
Grid this, Number rowIndex, Ext.EventObject e
)列をクリックする前に発火します。 Fires before a row is clicked 列をクリックする前に発火します。 Fires before a row is clicked リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
show
:
(
Ext.Component this
) | Ext.Component | |
sortchange
:
(
Grid this, Object sortInfo
)Gridのストアが並び替えをした時に発火します。 Fires when the grid's store sort changes Gridのストアが並び替えをした時に発火します。 Fires when the grid's store sort changes リスナーは以下の引数と共に呼び出されます:
| Ext.grid.GridPanel | |
staterestore
:
(
Ext.Component this, Object state
)コンポーネントの状態が復元された後に発火します。 Fires after the state of the component is restored. コンポーネントの状態が復元された後に発火します。 Fires after the state of the component is restored. リスナーは以下の引数と共に呼び出されます:
| Ext.Component | |
statesave
:
(
Ext.Component this, Object state
)コンポーネントの状態が設定されたstate providerに保存された後に発火します。 Fires after the state of the component is saved to the configured state provider. コンポーネントの状態が設定されたstate providerに保存された後に発火します。 Fires after the state of the component is saved to the configured state provider. リスナーは以下の引数と共に呼び出されます:
| Ext.Component | |
titlechange
:
(
Ext.Panel p, String The
) | Ext.Panel |