ObservableComponent
BoxComponent
Field
TextField
TextArea
パッケージ: | Ext.form |
定義ファイル: | TextArea.js |
クラス: | Ext.form.TextArea |
継承元: | TextField |
xtype: | textarea |
コンフィグオプション | 定義クラス | |
---|---|---|
allowBlank
:
Boolean trueを設定した場合、テキストフィールドが空の状態を許可します(初期値 true)。
falseを設定した場合... Specify false to validate that the value's length is > 0 (defaults to true) trueを設定した場合、テキストフィールドが空の状態を許可します(初期値 true)。 falseを設定した場合、テキストフィールドに1文字以上は入力しなければならないという入力チェックが実行されます。 1つも選択されない場合、blankTextで設定したエラーテキストが表示されます。 Specify false to validate that the value's length is > 0 (defaults to true) | Ext.form.TextField | |
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 | |
applyTo
:
Mixed DOM要素、またはこのコンポーネントのために構造的マークアップを指定するdocument内に既に存在している... Specify the id of the element, a DOM element or an existing Element corresponding to a DIV
that i... DOM要素、またはこのコンポーネントのために構造的マークアップを指定するdocument内に既に存在しているDIVに対応するエレメントのid、または要素を指定します。
Specify the id of the element, a DOM element or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component.
| Ext.Component | |
autoCreate
:
String/Object DomHelper仕様オブジェクトを設定した場合、設定した内容でHTMLタグが自動生成されます。trueを設定した... A DomHelper element spec, or true for a default element spec. Used to create the Element which wi... | Ext.form.TextArea | |
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 | |
autoHeight
:
Boolean trueの場合はheight:'auto'を使用し、falseの場合は固定された高さを使用します
(または、高さが親コン... True to use height:'auto', false to use fixed height (or allow it to be managed by its parent
Con... trueの場合はheight:'auto'を使用し、falseの場合は固定された高さを使用します (または、高さが親コンテナのレイアウトマネージャによって管理されることを許可してください)。 初期値はfalseです。 メモ: 多くのコンポーネントはこのコンフィグオプションを継承しますが、全てが期待されたようにheightが'auto'で機能するわけではありません。 autoHeight:trueの設定は、ブラウザが要素の中身に基づいて高さを処理することであり、そしてExtが高さを全く管理しないことを意味します。 もし、ブラウザが高さを処理しているなら、ブラウザによって実行される、 コンポーネントの構造内で変化に対応じたリサイズは検出できないことを知っておいてください。 そのために高さに対する変更は、要素が新しい高さに同期させられる必要があるという結果になるかもしれません。 例:
True to use height:'auto', false to use fixed height (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 height of 'auto'. Setting autoHeight:true means that the browser will manage height based on the element's contents, and that Ext will not manage it at all. If the browser is managing the height, be aware that resizes performed by the browser in response to changes within the structure of the Component cannot be detected. Therefore changes to the height might result in elements needing to be synchronized with the new height. Example:
| Ext.BoxComponent | |
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 | |
blankText
:
String allowBlankのチェックを通過しなかった場合に表示するテキストを設定します
(初期値 'This field is required')。 The error text to display if the allowBlank validation
fails (defaults to 'This field is required') | Ext.form.TextField | |
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 | |
cls
:
String フィールドの基本的な要素に適用するカスタムされたCSSクラスを設定します(初期値 "")。 A custom CSS class to apply to the field's underlying element (defaults to ""). | Ext.form.Field | |
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 | |
disableKeyFilter
:
Boolean trueを設定した場合、入力されたキーのフィルタリングを無効します(初期値 false)。 Specify true to disable input keystroke filtering (defaults
to false) | Ext.form.TextField | |
disabled
:
Boolean trueを設定した場合、フィールドを無効にします(初期値 false)。
HTML仕様により、無効にされたフィー... True to disable the field (defaults to false).
Be aware that conformant with the HTML specificati... trueを設定した場合、フィールドを無効にします(初期値 false)。 HTML仕様により、無効にされたフィールドはsubmitによって送信されないことをいう認識を持っていてください。 True to disable the field (defaults to false). Be aware that conformant with the HTML specification, disabled Fields will not be submitted. | Ext.form.Field | |
disabledClass
:
String コンポーネントが無効になったときに、コンポーネント追加されるCSSクラスを設定します(初期値 'x-item-disabled')。 CSS class added to the component when it is disabled (defaults to 'x-item-disabled'). | Ext.Component | |
emptyClass
:
String 空のフィールドの
emptyTextに適用するCSSクラスを設定します(初期値 'x-form-empty-field')。
これは... The CSS class to apply to an empty field to style the emptyText
(defaults to 'x-form-empty-field'... | Ext.form.TextField | |
emptyText
:
String 空のテキストフィールドに表示するデフォルトのテキストを設定します(初期値 null)。
メモ: このフィ... The default text to place into an empty field (defaults to null).
Note: that this value will be s... 空のテキストフィールドに表示するデフォルトのテキストを設定します(初期値 null)。 メモ: このフィールドが使用可能な場合、このテキストが表示されている状態でサーバに送信すると、このテキストがname属性と共にサーバに送信されることに気をつけてください。 The default text to place into an empty field (defaults to null). Note: that this value will be submitted to the server if this field is enabled and configured with a name. | Ext.form.TextField | |
enableKeyEvents
:
Boolean trueを設定した場合、HTML入力フィールドへの入力時にもキーイベント(keydown、keyup、keypress)を発生させます(初期値 false)。 true to enable the proxying of key events for the HTML input
field (defaults to false) | Ext.form.TextField | |
fieldClass
:
String フィールドのデフォルトCSSクラスを設定します(初期値 "x-form-field")。 The default CSS class for the field (defaults to "x-form-field") | Ext.form.Field | |
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 | |
focusClass
:
String フィールドがフォーカスが受けたときに使用されるCSSクラスを設定します(初期値 "x-form-focus")。 The CSS class to use when the field receives focus (defaults to "x-form-focus") | Ext.form.Field | |
grow
:
true trueに設定した場合、このフィールドが内容によって自動的に拡大/縮小します(初期値 false)。 true if this field should automatically grow and shrink to its content (defaults to false) | Ext.form.TextField | |
growMax : Number | Ext.form.TextArea | |
growMin : Number | Ext.form.TextArea | |
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 | |
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 | |
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 | |
inputType
:
String 入力フィールドのtype属性 -- 例: radio、text、password、file (初期値 'text')。
'file'と'password... The type attribute for input fields -- e.g. radio, text, password, file (defaults
to "text"). The... 入力フィールドのtype属性 -- 例: radio、text、password、file (初期値 'text')。
'file'と'password'はレンダリングする時点で使用されなければなりません -- 'file'と'password'のためのExtコンポーネントはありません。 inputType:'file'を使用する場合、emptyTextがサポートされず、回避すべきであることに注意してください。 The type attribute for input fields -- e.g. radio, text, password, file (defaults to "text"). The types "file" and "password" must be used to render those field types currently -- there are no separate Ext components for those. Note that if you use inputType:'file', emptyText is not supported and should be avoided. | Ext.form.Field | |
invalidClass
:
String フィールドが無効であるマークを付けるときに使用するCSSクラスを設定します(初期値 "x-form-invalid")。 The CSS class to use when marking a field invalid (defaults to "x-form-invalid") | Ext.form.Field | |
invalidText
:
String メッセージではなく、フィールドが無効であるマークを付けるときに使用されるエラーテキストを設定します(初期値 'The value in this field is invalid')。 The error text to use when marking a field invalid and no message is provided
(defaults to "The value in this field is invalid") | Ext.form.Field | |
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 | |
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 | |
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 | |
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 | |
maskRe
:
RegExp 一致しないキーストロークに対してフィルタリングするために使用される正規表現を設定します(初期値 null)。 An input mask regular expression that will be used to filter keystrokes that do
not match (defaults to null) | Ext.form.TextField | |
maxLength
:
Number 許可する最大文字長さを入力フィールドに設定します(初期値 JavaScriptのNumber.MAX_VALUE)。
この入... Maximum input field length allowed by validation (defaults to Number.MAX_VALUE).
This behavior is... 許可する最大文字長さを入力フィールドに設定します(初期値 JavaScriptのNumber.MAX_VALUE)。 この入力チェックは、貼り付け、編集、または過剰なタイピングによる文字の削除を許可するためにユーザビリティを改良することによって、ユーザに即時のフィードバックを提供することを意図しています。 この設定はHTMLのmaxlength属性を設定するものではありません。 フィールドに入力できる最大値を設定する場合は、以下の例のようにautoCreateの属性値に追加してください:
Maximum input field length allowed by validation (defaults to Number.MAX_VALUE). This behavior is intended to provide instant feedback to the user by improving usability to allow pasting and editing or overtyping and back tracking. To restrict the maximum number of characters that can be entered into the field use autoCreate to add any attributes you want to a field, for example:
| Ext.form.TextField | |
maxLengthText
:
String 設定した
maxLengthのチェックを通過しなかった場合に表示するテキストを設定します
(初期値 'The maxi... Error text to display if the
maximum length
validation fails (defaults to 'The maximum length fo... 設定した maxLengthのチェックを通過しなかった場合に表示するテキストを設定します (初期値 'The maximum length for this field is {maxLength}")。 Error text to display if the maximum length validation fails (defaults to 'The maximum length for this field is {maxLength}') | Ext.form.TextField | |
minLength
:
Number 許可する最小文字長さを入力フィールドに設定します(初期値 0)。 Minimum input field length required (defaults to 0) | Ext.form.TextField | |
minLengthText
:
String 設定した
minLengthのチェックを通過しなかった場合に表示するテキストを設定します
(初期値 'The mini... Error text to display if the minimum length
validation fails (defaults to 'The minimum length for... 設定した minLengthのチェックを通過しなかった場合に表示するテキストを設定します (初期値 'The minimum length for this field is {minLength}')。 Error text to display if the minimum length validation fails (defaults to 'The minimum length for this field is {minLength}') | Ext.form.TextField | |
msgFx
:
String 実験的 フィールドの下で妥当性チェックメッセージを表示するときにエフェクトを使用します(初期値 'normal')。 Experimental The effect used when displaying a validation message under the field
(defaults to 'normal'). | Ext.form.Field | |
msgTarget
:
String エラーテキストを表示させる場所を設定します。
取り得る値は次のうちの1つです(初期値 'qtip'):
The location where error text should display.
Should be one of the following values
(defaults t... エラーテキストを表示させる場所を設定します。 取り得る値は次のうちの1つです(初期値 'qtip'): Value Description ----------- ---------------------------------------------------------------------- qtip ユーザがフィールド上でhoverする場合、quick tipを表示します。 title ブラウザデフォルトのtitle属性のポップアップを表示します。 under エラーテキストを含んでいるフィールドの下にdivブロックを追加します。 side hoverしているポップアップのフィールドの右にエラーアイコンを追加します [element id] 指定されたエレメントのinnerHTMLにエラーテキストを直接書き込みます。 The location where error text should display. Should be one of the following values (defaults to 'qtip'): Value Description ----------- ---------------------------------------------------------------------- qtip Display a quick tip when the user hovers over the field title Display a default browser title attribute popup under Add a block div beneath the field containing the error text side Add an error icon to the right of the field with a popup on hover [element id] Add the error text directly to the innerHTML of the specified element | Ext.form.Field | |
name
:
String フィールドのHTML name属性を設定します(初期値 "")。
メモ: このフィールドが自動的にform submit()... The field's HTML name attribute (defaults to "").
Note: this property must be set if this field i... フィールドのHTML name属性を設定します(初期値 "")。 メモ: このフィールドが自動的にform submit()に含まれる場合、このプロパティが設定されなくてはなりません。 The field's HTML name attribute (defaults to ""). Note: this property must be set if this field is to be automatically included with form submit(). | Ext.form.Field | |
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 | |
preventMark
:
String trueに設定した場合、に無効マークを付けることを停止します。初期値はfalseです。 true to disable marking the field invalid. Defaults to false. | Ext.form.Field | |
preventScrollbars
:
Boolean trueに設定した場合、テキストに関わらず、スクロールバーの表示を阻止します(初期値 false)。
この場合... true to prevent scrollbars from appearing regardless of how much text is
in the field (equivalent... trueに設定した場合、テキストに関わらず、スクロールバーの表示を阻止します(初期値 false)。 この場合、内部でエレメントに対してoverflow: hiddenが設定されます。 true to prevent scrollbars from appearing regardless of how much text is
in the field (equivalent to setting overflow: hidden, defaults to false) | Ext.form.TextArea | |
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 | |
readOnly
:
Boolean trueに設定した場合、フィールドにHTMLでreadOnlyをマークします(初期値 false)。
メモ: これはユーザ... true to mark the field as readOnly in HTML(defaults to false).
Note: this only sets the element's... trueに設定した場合、フィールドにHTMLでreadOnlyをマークします(初期値 false)。 メモ: これはユーザーにテキストボックスをタイプしないで、トリガーによって選択することを強制するオプションを与えます。
トリガーを隠すために、 true to mark the field as readOnly in HTML(defaults to false). Note: this only sets the element's readOnly DOM attribute.
Setting | Ext.form.Field | |
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 | |
regex
:
RegExp 入力値に対して、JavaScriptの正規表現によって入力チェックを行います(初期値 null)。
チェックを通... A JavaScript RegExp object to be tested against the field value during validation (defaults to nu... | Ext.form.TextField | |
regexText : String | Ext.form.TextField | |
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 | |
selectOnFocus
:
Boolean trueに設定した場合、フィールドが入力時のフォーカスを受けたとき、自動的にフィールドの既存のテキストを選択状態にします(初期値 false)。 true to automatically select any existing field text when the field
receives input focus (defaults to false) | Ext.form.TextField | |
stateEvents
:
Array このコンポーネントの状態を保存するための引き金となるイベントの配列(初期値 none)。
stateEventsは... An array of events that, when fired, should trigger this component to
save its state (defaults to... このコンポーネントの状態を保存するための引き金となるイベントの配列(初期値 none)。
An array of events that, when fired, should trigger this component to
save its state (defaults to none). See | Ext.Component | |
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 | |
stripCharsRe
:
RegExp JavaScriptの正規表現オブジェクトを使用して、妥当性チェックの前に値として望ましくない内容を取り除きます(初期値 null)。 A JavaScript RegExp object used to strip unwanted content from the value
before validation (defaults to null). | Ext.form.TextField | |
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 | |
tabIndex
:
Number このフィールドのtabIndexを設定します(初期値 未定義)。
これはapplyToによって構築されるものではな... The tabIndex for this field. Note this only applies to fields that are rendered,
not those which ... このフィールドのtabIndexを設定します(初期値 未定義)。
これはapplyToによって構築されるものではなく、レンダリングされているフィールドにただ適用させているだけであることに注意してください。 The tabIndex for this field. Note this only applies to fields that are rendered,
not those which are built via applyTo (defaults to undefined). | Ext.form.Field | |
validateOnBlur
:
Boolean trueに設定した場合、フィールドのフォーカスを失ったときに妥当性チェックします(初期値 true) Whether the field should validate when it loses focus (defaults to true). | Ext.form.Field | |
validationDelay
:
Number ユーザの入力が終わってから妥当性チェックが開始するまでの時間を見降り秒で設定します(初期値 250)。 The length of time in milliseconds after user input begins until validation
is initiated (defaults to 250) | Ext.form.Field | |
validationEvent
:
String/Boolean フィールドの妥当性チェックを開始するイベントを設定します(初期値 'keyup')。自動的にチェックが開始されないようにするためにはfalseを設定します。 The event that should initiate field validation. Set to false to disable
automatic validation (defaults to "keyup"). | Ext.form.Field | |
validator
:
Function フィールド妥当性チェックの際に使用される、カスタムの入力チェック関数を設定します
(validateValue...
A custom validation function to be called during field validation
(validateValue) (defaults to... フィールド妥当性チェックの際に使用される、カスタムの入力チェック関数を設定します (validateValue)(初期値 null)。 指定した場合、この関数がデフォルト入力チェック関数より優先され、最初にコールされます。 この関数に、以下のパラメータが引き渡されます:
この関数が返す値は以下の通りです:
A custom validation function to be called during field validation (validateValue) (defaults to null). If specified, this function will be called first, allowing the developer to override the default validation process. This function will be passed the following Parameters:
This function is to Return:
| Ext.form.TextField | |
value
:
Mixed このフィールドを初期化したときにセットされるvalue属性値を設定します。 A value to initialize this field with (defaults to undefined). | Ext.form.Field | |
vtype
:
String Ext.form.VTypesで定義したvtype名を設定します(初期値 null)。 A validation type name as defined in Ext.form.VTypes (defaults to null) | Ext.form.TextField | |
vtypeText
:
String vtypeのチェックを通過しなかった場合に表示するテキストを設定します(初期値 '')。
メモ: vtypeが設... A custom error message to display in place of the default message provided
for the vtype currentl... | Ext.form.TextField | |
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 |
プロパティ | 定義クラス | |
---|---|---|
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 | |
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 | |
originalValue
:
mixed valueオプションによって設定される、またはフォームのtrackResetOnLoadがtrueで、最後のフォームのロー... The original value of the field as configured in the
value configuration, or
as loaded by the la... The original value of the field as configured in the value configuration, or as loaded by the last form load operation if the form's trackResetOnLoad setting is true . | Ext.form.Field | |
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 |
メソッド | 定義クラス | |
---|---|---|
TextArea(
Object config
)
:
void新しいTextAreaを生成します。 Creates a new TextArea 新しいTextAreaを生成します。 Creates a new TextArea パラメータ:
| Ext.form.TextArea | |
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 | |
autoSize()
:
void 入力されたテキストの高さに合わせて、許可された高さまで自動的にフィールドを拡大します。
growにtrue... Automatically grows the field to accomodate the height of the text up to the maximum field height... 入力されたテキストの高さに合わせて、許可された高さまで自動的にフィールドを拡大します。 growにtrueが設定されている場合に有効です。 高さが変化した場合、autosizeイベントが発火します。 Automatically grows the field to accomodate the height of the text up to the maximum field height allowed. This only takes effect if grow = true, and fires the autosize event if the height changes. 戻り値:
| Ext.form.TextArea | |
clearInvalid()
:
void このフィールドの無効なstyles/messagesを消去します。 Clear any invalid styles/messages for this field このフィールドの無効なstyles/messagesを消去します。 Clear any invalid styles/messages for this field 戻り値:
| Ext.form.Field | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
getItemId()
:
String このコンポーネントのitemIdを返します。
itemIdが設定によって割り当てられなかった場合、getIdを使っ... Returns the itemId of this component. If an
itemId was not assigned through configuration the
id... | Ext.Component | |
getName()
:
String 可能であるなら、フィールドのname、またはhiddenName属性値を返します。 Returns the name or hiddenName
attribute of the field if available. 可能であるなら、フィールドのname、またはhiddenName属性値を返します。 Returns the name or hiddenName
attribute of the field if available. 戻り値:
| Ext.form.Field | |
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 | |
getRawValue()
:
Mixed 有効な、定義された値かもしれないし、そうではないかもしれない手を加えられていない生のデータ値を返... Returns the raw data value which may or may not be a valid, defined value. To return a normalize... | Ext.form.Field | |
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 | |
getSize()
:
Object コンポーネントの基礎となっている要素の、現在のサイズを取得します。 Gets the current size of the component's underlying element. コンポーネントの基礎となっている要素の、現在のサイズを取得します。 Gets the current size of the component's underlying element. 戻り値:
| Ext.BoxComponent | |
getValue()
:
Mixed 標準化されたデータ値を返します(未定義、またはemptyTextが''で返されます)。
手の加えられていない... Returns the normalized data value (undefined or emptyText will be returned as '').
To return th... 標準化されたデータ値を返します(未定義、またはemptyTextが''で返されます)。 手の加えられていない生のデータを返すためには、getRawValueを見てください。 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see getRawValue. 戻り値:
| Ext.form.Field | |
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 | |
isDirty()
:
Boolean オリジナルの値から変更されている場合はtrueを返します。
もし、フィールドが無効、またはレンダリング... Returns true if the value of this Field has been changed from its original value.
Will return fal... オリジナルの値から変更されている場合はtrueを返します。 所有しているフォームがExt.form.BasicForm.trackResetOnLoadと一緒に設定された場合、値がExt.form.BasicForm.setValuesによってロードされるときにオリジナルの値が更新されることに注意してください。 Returns true if the value of this Field has been changed from its original value. Note that if the owning form was configured with Ext.form.BasicForm.trackResetOnLoad then the original value is updated when the values are loaded by Ext.form.BasicForm.setValues. 戻り値:
| Ext.form.Field | |
isValid(
Boolean preventMark
)
:
Booleanフィールドの手を加えられた値の妥当性をチェックし、フィールド値が妥当であるかないかを返します。
メ... Returns whether or not the field value is currently valid by
validating the processed value
of th... Returns whether or not the field value is currently valid by validating the processed value of the field. Note: disabled fields are ignored. パラメータ:
| Ext.form.Field | |
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 | |
markInvalid(
String msg
)
:
voidこのフィールドが無効であるというマークをつけます。
どのようにエラーを表示するかを決定するためにms... Mark this field as invalid, using
msgTarget to determine how to
display the error and applying i... このフィールドが無効であるというマークをつけます。 どのようにエラーを表示するかを決定するためにmsgTargetを使用し、そしてinvalidClassをフィールドのエレメントに適用します。 メモ: このメソッドが実際にフィールドを無効にするわけではありません。 Mark this field as invalid, using msgTarget to determine how to display the error and applying invalidClass to the field's element. Note: this method does not actually make the field invalid. パラメータ:
| Ext.form.Field | |
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 | |
processValue(
Mixed value
)
:
妥当性チェック(validateとisValidを見てください)のために、手の加えられていない値を準備する必要が... This method should only be overridden if necessary to prepare raw values for validation (see val... 妥当性チェック(validateとisValidを見てください)のために、手の加えられていない値を準備する必要がる場合に、このメソッドはオーバーライドされるべきです。
このメソッドは、妥当性チェックに使用されるフィールドのために、加工された値を返すことが期待されます(validateValueメソッドを見てください)。 This method should only be overridden if necessary to prepare raw values for validation (see validate and isValid). This method is expected to return the processed value for the field which will be used for validation (see validateValue method). パラメータ:
| Ext.form.Field | |
purgeListeners()
:
void このオブジェクトから、イベントリスナーを全て削除します。 Removes all listeners for this object このオブジェクトから、イベントリスナーを全て削除します。 Removes all listeners for this object 戻り値:
| Ext.util.Observable | |
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 | |
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 | |
reset()
:
void フィールド値をロードされた状態の値にリセットし、妥当性チェックを通過しなかった場合のエラーテキス... Resets the current field value to the originally-loaded value and clears any validation messages.... フィールド値をロードされた状態の値にリセットし、妥当性チェックを通過しなかった場合のエラーテキストを除去します。 もし、オリジナルな値が空の場合、emptyTextとemptyClassが自動的に設定されます。 Resets the current field value to the originally-loaded value and clears any validation messages. Also adds emptyText and emptyClass if the original value was blank. 戻り値:
| Ext.form.TextField | |
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 | |
selectText(
[Number start], [Number end]
)
:
voidこのフィールドに存在するテキストを選択します。 Selects text in this field このフィールドに存在するテキストを選択します。 Selects text in this field パラメータ:
| Ext.form.TextField | |
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 | |
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 | |
setRawValue(
Mixed value
)
:
Mixed妥当性チェックを回避し、基礎となっているDOMフィールドの値を直接設定します。
妥当性チェックから値... Sets the underlying DOM field's value directly, bypassing validation.
To set the value with val... | Ext.form.Field | |
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 | |
setValue(
Mixed value
)
:
Ext.form.Fieldデータ値をフィールドに設定し、妥当性チェックをします。
このチェックを回避して直接設定する場合はse... Sets a data value into the field and validates it.
To set the value directly without validation... データ値をフィールドに設定し、妥当性チェックをします。 このチェックを回避して直接設定する場合はsetRawValueを使用してください。 Sets a data value into the field and validates it. To set the value directly without validation see setRawValue. パラメータ:
| Ext.form.Field | |
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 | |
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 | |
validate()
:
Boolean フィールドの値の妥当性をチェックします。 Validates the field value フィールドの値の妥当性をチェックします。 Validates the field value 戻り値:
| Ext.form.Field | |
validateValue(
Mixed value
)
:
Booleanフィールドの妥当性チェック規則に従い値を判定し、もし妥当性チェックでfalseとなった場合、フィールド... Validates a value according to the field's validation rules and marks the field as invalid
if the... フィールドの妥当性チェック規則に従い値を判定し、もし妥当性チェックでfalseとなった場合、フィールドに無効であるというマークを付けます。
Validates a value according to the field's validation rules and marks the field as invalid
パラメータ:
| Ext.form.TextField |
イベント | 定義クラス | |
---|---|---|
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 | |
autoSize
:
(
Ext.form.Field this, Number width
)autoSize関数がトリガーとなって発火します。
デフォルトのロジックに従って、フィールドはサイズを変化... Fires when the
autoSize function is triggered. The field may or
may not have actually changed si... autoSize関数がトリガーとなって発火します。
デフォルトのロジックに従って、フィールドはサイズを変化させたりさせなかったりします。しかし、必要であるなら、開発者がランタイムにフィールドをリサイズするための追加のロジックを適用するためのフックを提供します。 Fires when the autoSize function is triggered. The field may or may not have actually changed size according to the default logic, but this event provides a hook for the developer to apply additional logic at runtime to resize the field if needed. リスナーは以下の引数と共に呼び出されます:
| Ext.form.TextField | |
beforedestroy
:
(
Ext.Component this
)コンポーネントが破壊される前に発火します。
イベントハンドラがfalseを返した場合、以後の動作(破壊... Fires before the component is destroyed. Return false from an event handler to stop the destroy. | Ext.Component | |
beforehide
:
(
Ext.Component this
)コンポーネントが隠れる前に発火します。
イベントハンドラがfalseを返した場合、以後の動作(隠れる)... Fires before the component is hidden by calling the hide method.
Return false from an event handl... | Ext.Component | |
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 | |
blur
:
(
Ext.form.Field this
)このフィールドのフォーカスを失った場合に発火します。 Fires when this field loses input focus. このフィールドのフォーカスを失った場合に発火します。 Fires when this field loses input focus. リスナーは以下の引数と共に呼び出されます:
| Ext.form.Field | |
change
:
(
Ext.form.Field this, Mixed newValue, Mixed oldValue
)フィールド値に変更があった場合に、フォーカスを失う直前に発火します。 Fires just before the field blurs if the field value has changed. フィールド値に変更があった場合に、フォーカスを失う直前に発火します。 Fires just before the field blurs if the field value has changed. リスナーは以下の引数と共に呼び出されます:
| Ext.form.Field | |
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 | |
focus
:
(
Ext.form.Field this
)フィールドがフォーカスを受け取ったときに発火します。 Fires when this field receives input focus. フィールドがフォーカスを受け取ったときに発火します。 Fires when this field receives input focus. リスナーは以下の引数と共に呼び出されます:
| Ext.form.Field | |
hide
:
(
Ext.Component this
)コンポーネントが隠された後に発火します。
hideメソッドがコールされたとき、コンポーネントが隠された... Fires after the component is hidden.
Fires after the component is hidden when calling the hide me... | Ext.Component | |
invalid
:
(
Ext.form.Field this, String msg
)フィールドが無効であるマークを付けられた後で発火します。 Fires after the field has been marked as invalid. フィールドが無効であるマークを付けられた後で発火します。 Fires after the field has been marked as invalid. リスナーは以下の引数と共に呼び出されます:
| Ext.form.Field | |
keydown
:
(
Ext.form.TextField this, Ext.EventObject e
)入力フィールドのKeydownイベント。
enableKeyEventsにtrueが設定されている場合に限り、このイベントは... Keydown input field event.
This event only fires if enableKeyEvents
is set to true. 入力フィールドのKeydownイベント。 enableKeyEventsにtrueが設定されている場合に限り、このイベントは発火します。 Keydown input field event. This event only fires if enableKeyEvents is set to true. リスナーは以下の引数と共に呼び出されます:
| Ext.form.TextField | |
keypress
:
(
Ext.form.TextField this, Ext.EventObject e
)入力フィールドのKeypressイベント。
enableKeyEventsにtrueが設定されている場合に限り、このイベント... Keypress input field event.
This event only fires if enableKeyEvents
is set to true. 入力フィールドのKeypressイベント。 enableKeyEventsにtrueが設定されている場合に限り、このイベントは発火します。 Keypress input field event. This event only fires if enableKeyEvents is set to true. リスナーは以下の引数と共に呼び出されます:
| Ext.form.TextField | |
keyup
:
(
Ext.form.TextField this, Ext.EventObject e
)入力フィールドのKeyupイベント。
enableKeyEventsにtrueが設定されている場合に限り、このイベントは発... Keyup input field event.
This event only fires if enableKeyEvents
is set to true. 入力フィールドのKeyupイベント。 enableKeyEventsにtrueが設定されている場合に限り、このイベントは発火します。 Keyup input field event. This event only fires if enableKeyEvents is set to true. リスナーは以下の引数と共に呼び出されます:
| Ext.form.TextField | |
move
:
(
Ext.Component this, Number x, Number y
)コンポーネントが移動した後に発火します。 Fires after the component is moved. コンポーネントが移動した後に発火します。 Fires after the component is moved. リスナーは以下の引数と共に呼び出されます:
| Ext.BoxComponent | |
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 | |
show
:
(
Ext.Component this
) | Ext.Component | |
specialkey
:
(
Ext.form.Field this, Ext.EventObject e
)ナビゲーションと関係のあるキーを押下されたときに発火します(矢印、tab、enter、esc、など)。
他の... Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.
To handle ot... ナビゲーションと関係のあるキーを押下されたときに発火します(矢印、tab、enter、esc、など)。 他のキーを扱うためには、Ext.Panel.keys、またはExt.KeyMapを見てください。 どのキーが押下されたかは、Ext.EventObject.getKeyによってチェックすることができます。 例:
Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. To handle other keys see Ext.Panel.keys or Ext.KeyMap. You can check Ext.EventObject.getKey to determine which key was pressed. For example:
リスナーは以下の引数と共に呼び出されます:
| Ext.form.Field | |
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 | |
valid
:
(
Ext.form.Field this
)フィールドが妥当性チェックをエラーなしで通過した場合に発火します。 Fires after the field has been validated with no errors. フィールドが妥当性チェックをエラーなしで通過した場合に発火します。 Fires after the field has been validated with no errors. リスナーは以下の引数と共に呼び出されます:
| Ext.form.Field |