パッケージ: | Global |
定義ファイル: | Ext.js, Ext-more.js |
クラス: | Ext |
継承元: | Object |
プロパティ | 定義クラス | |
---|---|---|
BLANK_IMAGE_URL
:
String ExtがCSSのバックグラウンドを使用してアイコンを作成する際に使用する1px x 1pxの透明GIFまでのURLを指... URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images.... ExtがCSSのバックグラウンドを使用してアイコンを作成する際に使用する1px x 1pxの透明GIFまでのURLを指定します。 古いIE(7以前)では、初期値として"http://extjs.com/s.gif"が設定されます。その場合は、この初期値のURLは、使用するサーバのURLに書き換えるべきです。 変更を行わない場合、Extを使用したコンテンツを表示する度に、ブラウザにより"http://extjs.com/s.gif"へ画像を取得する処理が実行されます。 それ以外のブラウザは、インラインに記述されたデータを表示します。 URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images.
In older versions of IE, this defaults to "http://extjs.com/s.gif" and you should change this to a URL on your server.
For other browsers it uses an inline data URL. | Ext | |
SSL_SECURE_URL
:
String SSL使用時、iframe.srcとonReady.srcに対して、IEで警告を表示させないための空白のコンテンツまでのURL... URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent
the... SSL使用時、iframe.srcとonReady.srcに対して、IEで警告を表示させないための空白のコンテンツまでのURLを指定します。 IEでiframe.srcとonReady.src(SSL+IFRAMEを使用した場合)に対して、 「保護されていない項目を表示しますか?」というダイアログが表示されるのを防ぐために、 ブランク(空)のHTMLへのURLを指定することができます。 (初期値:'javascript:false') URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent
the IE insecure content warning (defaults to javascript:false). | Ext | |
USE_NATIVE_JSON
:
Boolean ブラウザにJSON構文解析が実装されている場合、それを使用するかを示します。
trueを設定しても、ブラウ... Indicates whether to use native browser parsing for JSON methods.
This option is ignored if the b... ブラウザにJSON構文解析が実装されている場合、それを使用するかを示します。
trueを設定しても、ブラウザがJSON構文解析を実装していない場合は、この設定は無視されます。 ノート:ブラウザが実装しているJSON構文解析は、関数を持つオブジェクトは解析できません。 また、プロパティ名はクォートで囲まれなければ解析できません。 Indicates whether to use native browser parsing for JSON methods.
This option is ignored if the browser does not support native JSON methods.
Note: Native JSON methods will not work with objects that have functions.
Also, property names must be quoted, otherwise the data will not parse. (Defaults to false) | Ext | |
emptyFn
:
Function 再利用ができる空の関数オブジェクトです。
プログラム内部で何かしらの関数を設定しなくてはならない場... A reusable empty function 再利用ができる空の関数オブジェクトです。
プログラム内部で何かしらの関数を設定しなくてはならない場合や、
継承先のクラスにメソッドを実装してもらうときの抽象メソッド定義などに使用します。 A reusable empty function | Ext | |
enableFx : Boolean | Ext | |
enableGarbageCollector
:
Boolean trueを設定した場合、Ext.Elementsに対してガーベージコレクタを有効にします。(初期値:true) True to automatically uncache orphaned Ext.Elements periodically (defaults to true) | Ext | |
enableListenerCollection
:
Boolean trueを設定した場合、エレメントを削除した後に、イベントリスナーを自動的にクリーンアップします。(初... True to automatically purge event listeners after uncaching an element (defaults to false).
Note... trueを設定した場合、エレメントを削除した後に、イベントリスナーを自動的にクリーンアップします。(初期値:false) ノート:この処理はenableGarbageCollectorがtrueに設定されている場合のみ発生します。 True to automatically purge event listeners after uncaching an element (defaults to false). Note: this only happens if enableGarbageCollector is true. | Ext | |
isAir
:
Boolean Adobe Airで動作している場合、trueが設定されます。 True if the detected platform is Adobe Air. | Ext | |
isBorderBox
:
Boolean Internet Explorerの動作モードがStrict Modeでない場合、trueが設定されます。 True if the detected browser is Internet Explorer running in non-strict mode. | Ext | |
isChrome
:
Boolean 使用ブラウザがGoogle Chromeである場合、trueが設定されます。 True if the detected browser is Chrome. | Ext | |
isGecko
:
Boolean ブラウザのレンダリングエンジンがGeckoで場合、trueが設定されます。(Mozilla、Firefoxなど) True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox). | Ext | |
isGecko2
:
Boolean ブラウザのレンダリングエンジンがGeckoでバージョンが1.9より古い場合、trueが設定されます。(Firefox 2.xなど) True if the detected browser uses a pre-Gecko 1.9 layout engine (e.g. Firefox 2.x). | Ext | |
isGecko3
:
Boolean ブラウザのレンダリングエンジンがGeckoでバージョンが1.9か、それより新しい場合、trueが設定されます。(Firefox 3.xなど) True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x). | Ext | |
isIE
:
Boolean 使用ブラウザがInternet Explorerである場合、trueが設定されます。 True if the detected browser is Internet Explorer. | Ext | |
isIE6
:
Boolean 使用ブラウザがInternet Explorer6.xである場合、trueが設定されます。 True if the detected browser is Internet Explorer 6.x. | Ext | |
isIE7
:
Boolean 使用ブラウザがInternet Explorer7.xである場合、trueが設定されます。 True if the detected browser is Internet Explorer 7.x. | Ext | |
isIE8
:
Boolean 使用ブラウザがInternet Explorer8.xである場合、trueが設定されます。 True if the detected browser is Internet Explorer 8.x. | Ext | |
isLinux
:
Boolean 使用OSがLinuxである場合、trueが設定されます。 True if the detected platform is Linux. | Ext | |
isMac
:
Boolean 使用OSがMac OSである場合、trueが設定されます。 True if the detected platform is Mac OS. | Ext | |
isOpera
:
Boolean 使用ブラウザがOperaである場合、trueが設定されます。 True if the detected browser is Opera. | Ext | |
isReady
:
Boolean ドキュメントが初期化され、アクション実行の準備が終わっている場合、このフラグにtrueが設定されます。 True when the document is fully initialized and ready for action | Ext | |
isSafari
:
Boolean 使用ブラウザがSafariである場合、trueが設定されます。 True if the detected browser is Safari. | Ext | |
isSafari2
:
Boolean 使用ブラウザがSafari2.xである場合、trueが設定されます。 True if the detected browser is Safari 2.x. | Ext | |
isSafari3
:
Boolean 使用ブラウザがSafari3.xである場合、trueが設定されます。 True if the detected browser is Safari 3.x. | Ext | |
isSafari4
:
Boolean 使用ブラウザがSafari4.xである場合、trueが設定されます。 True if the detected browser is Safari 4.x. | Ext | |
isSecure
:
Boolean SSLを使用してページを表示している場合、このフラグにtrueに設定されます。 True if the page is running over SSL | Ext | |
isStrict
:
Boolean ブラウザの動作モードがStrict Mode(規格対応した)の場合、trueが設定されます。 True if the browser is in strict (standards-compliant) mode, as opposed to quirks mode | Ext | |
isWebKit
:
Boolean ブラウザでWebKitを使用している場合、trueが設定されます。 True if the detected browser uses WebKit. | Ext | |
isWindows
:
Boolean 使用OSがWindowsである場合、trueが設定されます。 True if the detected platform is Windows. | Ext | |
useShims
:
Boolean 使用ブラウザがInternet Explorer6.x、またはMacOSでブラウザのレンダリングエンジンがGecko(バージョン... By default, Ext intelligently decides whether floating elements should be shimmed. If you are usi... 使用ブラウザがInternet Explorer6.x、またはMacOSでブラウザのレンダリングエンジンがGecko(バージョンが1.9以上を除く)の場合、trueが設定されます。 Flashなどを使っている場合は、この設定が意味のあるものになるかもしれません。 OSやブラウザなどの違いで、z-indexが有効にならないFlashなどを下に表示するかどうかを判定します。 By default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash,
you may want to set this to true. | Ext | |
ux
:
Object ユーザーエクステンションのために割り当てられた名前空間 Namespace alloted for extensions to the framework. | Ext | |
version
:
String 使用しているExt JSのバージョン The version of the framework | Ext |
メソッド | 定義クラス | |
---|---|---|
addBehaviors(
Object obj
)
:
void
ドキュメントの読み込み、初期化完了後、イベントリスナーを要素に対して設定します。
イベント名は「@...
Applies event listeners to elements by selectors when the document is ready. The event name is s...
ドキュメントの読み込み、初期化完了後、イベントリスナーを要素に対して設定します。
イベント名は「@接尾辞」の形式で指定します。
コールする関数に引数を必要とする場合は適切に引数を記述し、必要ない場合は記述しなくても動作します。
また、複数個同時に設定することも可能です。
使用方法:
Applies event listeners to elements by selectors when the document is ready. The event name is specified with an @ suffix.
パラメータ:
| Ext | |
apply(
Object obj, Object config, Object defaults
)
:
Object設定されたコンフィグオブジェクトをオブジェクトに全てコピーします。 Copies all the properties of config to obj. 設定されたコンフィグオブジェクトをオブジェクトに全てコピーします。 Copies all the properties of config to obj. パラメータ:
| Ext | |
applyIf(
Object obj, Object config
)
:
Objectプロパティ値が存在しないものに対して、設定されたコンフィグオブジェクトをオブジェクトにコピーしま... Copies all the properties of config to obj if they don't already exist. プロパティ値が存在しないものに対して、設定されたコンフィグオブジェクトをオブジェクトにコピーします。
既に存在するプロパティは上書きしません。 Copies all the properties of config to obj if they don't already exist. パラメータ:
| Ext | |
clean(
Array/NodeList arr
)
:
Array配列のコピーを作成します。この時、falseである値は取り除かれます。 Creates a copy of the passed Array with falsy values removed. 配列のコピーを作成します。この時、falseである値は取り除かれます。 Creates a copy of the passed Array with falsy values removed. パラメータ:
| Ext | |
copyTo(
Object The, Object The, Array/String Either
)
:
Object
オブジェクトからオブジェクトへ、指定されたプロパティ名のプロパティをコピーします。
使用方法:
Copies a set of named properties fom the source object to the destination object.
example:
オブジェクトからオブジェクトへ、指定されたプロパティ名のプロパティをコピーします。 使用方法:
Copies a set of named properties fom the source object to the destination object. example:
パラメータ:
| Ext | |
decode(
String json, [Boolean safe]
)
:
ObjectExt.util.JSON.decodeのエイリアスです。 Shorthand for Ext.util.JSON.decode Ext.util.JSON.decodeのエイリアスです。 Shorthand for Ext.util.JSON.decode パラメータ:
| Ext | |
destroy(
Mixed arg1, [Mixed arg2], [Mixed etc...]
)
:
void
設定されたオブジェクトの全てのイベントとDOMからの削除を行います。
このメソッドは、主にExt.Elemen... Attempts to destroy any objects passed to it by removing all event listeners, removing them from ...
設定されたオブジェクトの全てのイベントとDOMからの削除を行います。 このメソッドは、主にExt.ElementとExt.Component のために用意されていますが、Ext.util.Observableを継承したクラスであれば、利用することが可能です。 一回の呼び出しで、複数のオブジェクトを引数として設定することができます。 Attempts to destroy any objects passed to it by removing all event listeners, removing them from the DOM (if applicable) and calling their destroy functions (if available). This method is primarily intended for arguments of type Ext.Element and Ext.Component, but any subclass of Ext.util.Observable can be passed in. Any number of elements and/or components can be passed into this function in a single call as separate arguments. パラメータ:
| Ext | |
destroyMembers(
Object o, Mixed arg1, Mixed etc...
)
:
voidオブジェクトにセットされたプロパティ削除します。 Attempts to destroy and then remove a set of named properties of the passed object. オブジェクトにセットされたプロパティ削除します。 Attempts to destroy and then remove a set of named properties of the passed object. パラメータ:
| Ext | |
each(
Array/NodeList/Mixed array, Function fn, Object scope
)
:
void指定したファンクションを要素内容分、繰り返し呼び出します。
もし、繰り返しを途中で停止させたい場合... Iterates an array calling the passed function with each item, stopping if your function returns f... 指定したファンクションを要素内容分、繰り返し呼び出します。
もし、繰り返しを途中で停止させたい場合は、呼び出し関数の戻り値をfalse に設定してください。
もし、配列でないオブジェクトを指定した場合、本来配列の要素オブジェクトが渡されるところに、そのオブジェクトを引き渡し関数が呼び出されます。
Iterates an array calling the passed function with each item, stopping if your function returns false. If the passed array is not really an array, your function is called once with it. The supplied function is called with (Object item, Number index, Array allItems). パラメータ:
| Ext | |
encode(
Mixed o
)
:
StringExt.util.JSON.encodeのエイリアス Shorthand for Ext.util.JSON.encode Ext.util.JSON.encodeのエイリアス Shorthand for Ext.util.JSON.encode パラメータ:
| Ext | |
escapeRe(
String str
)
:
String正規表現を使用可能にするために、文字列をエスケープします。 Escapes the passed string for use in a regular expression 正規表現を使用可能にするために、文字列をエスケープします。 Escapes the passed string for use in a regular expression パラメータ:
| Ext | |
extend(
Function subclass, Function superclass, Object overrides
)
:
Functionメソッドをオーバーライドして他のクラスを継承します。
継承したサブクラスには"override()"メソッド... Extends one class to create a subclass and optionally overrides members with the passed literal. ... メソッドをオーバーライドして他のクラスを継承します。
継承したサブクラスには"override()"メソッドが実装され、
引数にプロトタイプ宣言オブジェクトを設定することで動的にメソッドやプロパティをオーバーライドすることが可能です。
このoverrideメソッドは内部でExt.overrideメソッドが呼び出されています。
使用方法:
Extends one class to create a subclass and optionally overrides members with the passed literal. This method also adds the function "override()" to the subclass that can be used to override members of the class. For example, to create a subclass of Ext GridPanel:
This function also supports a 3-argument call in which the subclass's constructor is passed as an argument. In this form, the parameters are as follows:
パラメータ:
| Ext | |
flatten(
Array arr
)
:
Array多次元配列を再帰的に1次元配列にします。 Recursively flattens into 1-d Array. Injects Arrays inline. 多次元配列を再帰的に1次元配列にします。 Recursively flattens into 1-d Array. Injects Arrays inline. パラメータ:
| Ext | |
fly(
String/HTMLElement el, [String named]
)
:
ElementExt.Element.flyのエイリアス
共有エレメントオブジェクトを取得します。
取得した共有エレメントは、他... Gets the globally shared flyweight Element, with the passed node as the active element. Do not s... Ext.Element.flyのエイリアス 共有エレメントオブジェクトを取得します。 取得した共有エレメントは、他のコードによってDOMノードの内容が上書きされることがあるため、参照を保持するような使い方をしてはいけません。 共有エレメントではなく、新たにエレメントオブジェクトを取得するには、Ext.getを使用してください。 Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class. パラメータ:
| Ext | |
get(
Mixed el
)
:
ElementExt.Element.getのエイリアス
このメソッドは、Componentを取得するものではありません。
このメソッド... Retrieves Ext.Element objects.
This method does not retrieve Components.
This method retrieves E... Ext.Element.getのエイリアス このメソッドは、Componentを取得するものではありません。 このメソッドは、DOMエレメントをExt.Elementとして取得するものです。 IDでコンポーネントを取得したい場合は、Ext.ComponentMgr.getを使用してください。 Retrieves Ext.Element objects.
This method does not retrieve Components. Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM. Shorthand of Ext.Element.getパラメータ:
| Ext | |
getBody()
:
Ext.Element bodyエレメントをExt.Elementとして取得します。 Returns the current document body as an Ext.Element. bodyエレメントをExt.Elementとして取得します。 Returns the current document body as an Ext.Element. 戻り値:
| Ext | |
getCmp(
String id
)
:
Ext.Componentidからコンポーネントを取得します。
Ext.ComponentMgr.getのエイリアスです。
This is shorthand reference to Ext.ComponentMgr.get. Looks up an existing Component by id | Ext | |
getDoc()
:
Ext.Element 現在のHTMLエレメントを、Ext.Elementとしてドキュメントを取得します。 Returns the current HTML document object as an Ext.Element. 現在のHTMLエレメントを、Ext.Elementとしてドキュメントを取得します。 Returns the current HTML document object as an Ext.Element. 戻り値:
| Ext | |
getDom(
Mixed el
)
:
HTMLElement指定されたid(文字列)、DOMノード、またはExt.ElementオブジェクトのDOMノードを取得します。
使用方法:
Return the dom node for the passed String (id), dom node, or Ext.Element. Here are some examples:
指定されたid(文字列)、DOMノード、またはExt.ElementオブジェクトのDOMノードを取得します。 使用方法:
ノート:このメソッドが成功するには、DOMノードが存在している(既にレンダリングされている等)必要があります。Return the dom node for the passed String (id), dom node, or Ext.Element. Here are some examples:
Note: the dom node to be found actually needs to exist (be rendered, etc) when this method is called to be successful.パラメータ:
| Ext | |
getScrollBarWidth(
[Boolean force ]
)
:
Numberブラウザスクロールバーの幅を取得するための便利なメソッドです。これはthemeのようなOSの設定や、また... Utility method for getting the width of the browser scrollbar.
This can differ depending on oper... ブラウザスクロールバーの幅を取得するための便利なメソッドです。これはthemeのようなOSの設定や、またはフォントサイズによって異なります。 Utility method for getting the width of the browser scrollbar.
This can differ depending on operating system settings, such as the theme or font size. パラメータ:
| Ext | |
id(
[Mixed el], [String prefix]
)
:
StringユニークなIDを生成します。エレメントに既にIDが存在する場合は設定しません。 Generates unique ids. If the element already has an id, it is unchanged ユニークなIDを生成します。エレメントに既にIDが存在する場合は設定しません。 Generates unique ids. If the element already has an id, it is unchanged パラメータ:
| Ext | |
invoke(
Array|NodeList arr, String methodName, Anything ...
)
:
Array配列要素のメソッドをコールします。
使用方法:
Invokes a method on each item in an Array.
配列要素のメソッドをコールします。 使用方法:
Invokes a method on each item in an Array.
パラメータ:
| Ext | |
isArray(
Mixed value
)
:
Booleanオブジェクトが配列の場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is a JavaScript array, otherwise false. オブジェクトが配列の場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is a JavaScript array, otherwise false. パラメータ:
| Ext | |
isBoolean(
Mixed value
)
:
Booleanオブジェクトが真偽値の場合true、そうでない場合はfalseを返します。 Returns true if the passed object is a boolean. オブジェクトが真偽値の場合true、そうでない場合はfalseを返します。 Returns true if the passed object is a boolean. パラメータ:
| Ext | |
isDate(
Object object
)
:
Booleanオブジェクトが日付型の場合はtrue、そうでない場合はfalseを返します。 オブジェクトが日付型の場合はtrue、そうでない場合はfalseを返します。 パラメータ:
| Ext | |
isDefined(
Mixed value
)
:
Booleanオブジェクトがundefinedでない場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is not undefined. オブジェクトがundefinedでない場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is not undefined. パラメータ:
| Ext | |
isEmpty(
Mixed value, [Boolean allowBlank]
)
:
Booleanvalue値がnullまたは、undefined、または空文字列、空配列の場合、trueを返します。
空文字列をEmpty(空... Returns true if the passed value is empty.
The value is deemed to be empty if it is
value値がnullまたは、undefined、または空文字列、空配列の場合、trueを返します。
空文字列をEmpty(空)としない場合は、allowBlankにtrueを設定します。 Returns true if the passed value is empty. The value is deemed to be empty if it is
パラメータ:
| Ext | |
isFunction(
Mixed value
)
:
Booleanオブジェクトが関数オブジェクトの場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is a JavaScript Function, otherwise false. オブジェクトが関数オブジェクトの場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is a JavaScript Function, otherwise false. パラメータ:
| Ext | |
isNumber(
Mixed value
)
:
Booleanオブジェクトが数値型の場合true、そうでない場合はfalseを返します。 Returns true if the passed object is a number. Returns false for non-finite numbers. オブジェクトが数値型の場合true、そうでない場合はfalseを返します。 Returns true if the passed object is a number. Returns false for non-finite numbers. パラメータ:
| Ext | |
isObject(
Mixed value
)
:
Booleanオブジェクトが、オブジェクト型の場合true、そうでない場合はfalseを返します。 Returns true if the passed object is a JavaScript Object, otherwise false. オブジェクトが、オブジェクト型の場合true、そうでない場合はfalseを返します。 Returns true if the passed object is a JavaScript Object, otherwise false. パラメータ:
| Ext | |
isPrimitive(
Mixed value
)
:
Booleanオブジェクトが、文字列型か数値型か真偽型の場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is a JavaScript 'primitive', a string, number or boolean. オブジェクトが、文字列型か数値型か真偽型の場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is a JavaScript 'primitive', a string, number or boolean. パラメータ:
| Ext | |
isString(
Mixed value
)
:
Booleanオブジェクトが文字列型の場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is a string. オブジェクトが文字列型の場合はtrue、そうでない場合はfalseを返します。 Returns true if the passed object is a string. パラメータ:
| Ext | |
iterate(
Object/Array object, Function fn, Object scope
)
:
void配列の各要素か、オブジェクトのプロパティを繰り返します。
もし、配列の繰り返しを行いたい場合は、ea... Iterates either the elements in an array, or each of the properties in an object. Note: If you ar... 配列の各要素か、オブジェクトのプロパティを繰り返します。 もし、配列の繰り返しを行いたい場合は、eachを使用してください。 Iterates either the elements in an array, or each of the properties in an object. Note: If you are only iterating arrays, it is better to call each. パラメータ:
| Ext | |
max(
Array|NodeList arr, [Function comp]
)
:
Object配列要素の最大値を返します。 Returns the maximum value in the Array 配列要素の最大値を返します。 Returns the maximum value in the Array パラメータ:
| Ext | |
mean(
Array arr
)
:
Number配列の平均値を取得します。 Calculates the mean of the Array 配列の平均値を取得します。 Calculates the mean of the Array パラメータ:
| Ext | |
min(
Array|NodeList arr, [Function comp]
)
:
Object配列要素の最小値を返します。 Returns the minimum value in the Array. 配列要素の最小値を返します。 Returns the minimum value in the Array. パラメータ:
| Ext | |
namespace(
String namespace1, String namespace2, String etc
)
:
void変数やクラスのための名前空間を作成します。名前空間内の変数やクラスはグローバルではありません。
使... Creates namespaces to be used for scoping variables and classes so that they are not global. Spe... 変数やクラスのための名前空間を作成します。名前空間内の変数やクラスはグローバルではありません。 使用方法:
Creates namespaces to be used for scoping variables and classes so that they are not global. Specifying the last node of a namespace implicitly creates all other nodes. Usage:
パラメータ:
| Ext | |
ns(
String namespace1, String namespace2, String etc
)
:
Object変数やクラスのための名前空間(namespace)を生成します。名前空間内の変数やクラスはグローバルではあ... Creates namespaces to be used for scoping variables and classes so that they are not global.
Spec... 変数やクラスのための名前空間(namespace)を生成します。名前空間内の変数やクラスはグローバルではありません。
namespaceの最後のノードを指定した場合、その途中の全てのノードを暗黙的に生成します。
使用例:
Creates namespaces to be used for scoping variables and classes so that they are not global.
Specifying the last node of a namespace implicitly creates all other nodes.
Usage:
パラメータ:
| Ext | |
num(
Mixed value, Number defaultValue
)
:
Number数値チェック用メソッド。数値でない場合defaultValueに指定した値を返します。 Utility method for validating that a value is numeric, returning the specified default value if i... 数値チェック用メソッド。数値でない場合defaultValueに指定した値を返します。 Utility method for validating that a value is numeric, returning the specified default value if it is not. パラメータ:
| Ext | |
onReady(
Function fn, Object scope, [boolean options]
)
:
void読み込みが完了しドキュメントが開始されるとき(onloadの前、イメージの読み込みが完了する前に実行され... Fires when the document is ready (before onload and before images are loaded). Shorthand of Ext.... 読み込みが完了しドキュメントが開始されるとき(onloadの前、イメージの読み込みが完了する前に実行されます)呼び出されます。 Ext.EventManager.onDocumentReadyのエイリアス Fires when the document is ready (before onload and before images are loaded). Shorthand of Ext.EventManager.onDocumentReady. パラメータ:
| Ext | |
override(
Object origclass, Object overrides
)
:
void既に存在するクラスに対してメソッドをオーバーライドします。同じ名前のメソッドが存在する場合、その... Adds a list of functions to the prototype of an existing class, overwriting any existing methods ... 既に存在するクラスに対してメソッドをオーバーライドします。同じ名前のメソッドが存在する場合、そのまま上書きされます。 使用方法:
Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name. Usage:
パラメータ:
| Ext | |
partition(
Array|NodeList arr, [Function truth]
)
:
Array配列やノードリストをtrueとfalseのセットに区切ります。
使用方法:
Partitions the set into two sets: a true set and a false set. Example: Example2:
配列やノードリストをtrueとfalseのセットに区切ります。 使用方法:
Partitions the set into two sets: a true set and a false set. Example: Example2:
パラメータ:
| Ext | |
pluck(
Array|NodeList arr, String prop
)
:
Array配列やノードリストから指定した要素の値を取得します。
使用方法:
Plucks the value of a property from each item in the Array
配列やノードリストから指定した要素の値を取得します。 使用方法:
Plucks the value of a property from each item in the Array
パラメータ:
| Ext | |
preg(
String ptype, Constructor cls
)
:
voidExt.ComponentMgr.registerPluginのエイリアス Shorthand for Ext.ComponentMgr.registerPlugin Shorthand for Ext.ComponentMgr.registerPlugin パラメータ:
| Ext | |
query(
String path, [Node root]
)
:
ArrayDOMノードをXPATH形式で取得します。
Ext.DomQuery.selectのエイリアスです。 Selects an array of DOM nodes by CSS/XPath selector.
Shorthand of Ext.DomQuery.select DOMノードをXPATH形式で取得します。 Ext.DomQuery.selectのエイリアスです。 Selects an array of DOM nodes by CSS/XPath selector. Shorthand of Ext.DomQuery.select パラメータ:
| Ext | |
reg(
String xtype, Constructor cls
)
:
voidExt.ComponentMgr.registerTypeのエイリアス Shorthand for Ext.ComponentMgr.registerType Shorthand for Ext.ComponentMgr.registerType パラメータ:
| Ext | |
removeNode(
HTMLElement node
)
:
voidDOMノードをドキュメントから取り除きます。このとき、bodyノードは除外されます。 Removes a DOM node from the document. The body node will be ignored if passed in. DOMノードをドキュメントから取り除きます。このとき、bodyノードは除外されます。 Removes a DOM node from the document. The body node will be ignored if passed in. パラメータ:
| Ext | |
select(
String/Array selector, [Boolean unique], [HTMLElement/String root]
)
:
CompositeElementLite/CompositeElementCSSセレクタでElementをCompositeElementLite、またはCompositeElement形式で取得します。 Selects elements based on the passed CSS selector to enable Element methods to be applied to man... Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement through the returned CompositeElement or CompositeElementLite object. パラメータ:
| Ext | |
sum(
Array arr
)
:
Number配列要素の合計値を取得します。 Calculates the sum of the Array 配列要素の合計値を取得します。 Calculates the sum of the Array パラメータ:
| Ext | |
toArray(
Iterable the
)
:
(Array)Ext.eachで繰り返しできるように、オブジェクトを配列に変換します。
InternetExplorerは"abc"[0]の形式... Converts any iterable (numeric indices and a length property) into a true array Don't use this on... Ext.eachで繰り返しできるように、オブジェクトを配列に変換します。 InternetExplorerは"abc"[0]の形式をサポートされていないため、文字列を引数に設定するべきではありません。 その場合は、"abc".match(/./g)としてください。 Converts any iterable (numeric indices and a length property) into a true array Don't use this on strings. IE doesn't support "abc"[0] which this implementation depends on. For strings, use this instead: "abc".match(/./g) => [a,b,c]; パラメータ:
| Ext | |
type(
Mixed object
)
:
String指定されたオブジェクトタイプを返します。
もしオブジェクトにnullまたはundefinedが指定されたとき、f... Returns the type of object that is passed in. If the object passed in is null or undefined it re... 指定されたオブジェクトタイプを返します。
もしオブジェクトにnullまたはundefinedが指定されたとき、falseを返します。
それぞれの返却値は、次の通りです。
Returns the type of object that is passed in. If the object passed in is null or undefined it return false otherwise it returns one of the following values:
パラメータ:
| Ext | |
unique(
Array arr
)
:
Array引数で設定された配列の要素を、ユニークな値のみで再構成します。 Creates a copy of the passed Array, filtered to contain only unique values. 引数で設定された配列の要素を、ユニークな値のみで再構成します。 Creates a copy of the passed Array, filtered to contain only unique values. パラメータ:
| Ext | |
urlAppend(
String url, String s
)
:
(String)URLのクエリーストリング(?か&以降の文字列)を追加します。 Appends content to the query string of a URL, which handles logic for whether to place a question... URLのクエリーストリング(?か&以降の文字列)を追加します。 Appends content to the query string of a URL, which handles logic for whether to place a question mark or ampersand. パラメータ:
| Ext | |
urlDecode(
String string, [Boolean overwrite]
)
:
ObjectエンコードされたURLのクエリーストリングをオブジェクトに変換します。
例えば「Ext.urlDecode("foo=1&... Takes an encoded URL and and converts it to an object. Example:
エンコードされたURLのクエリーストリングをオブジェクトに変換します。
例えば「Ext.urlDecode("foo=1&bar=2");」のような形で使います。
デコードが行われ戻り値として「{foo: 1, bar: 2}」が返されます。
または、「Ext.urlDecode("foo=1&bar=2&bar=3&bar=4", true);」とすることで「{foo: 1, bar: [2, 3, 4]}」のように 同じ名前が存在する場合、
上書きするのではなく配列として取得することが可能です。 使用方法:
Takes an encoded URL and and converts it to an object. Example:
パラメータ:
| Ext | |
urlEncode(
Object o, [String pre]
)
:
StringオブジェクトをエンコードされたURLのクエリーストリングに変換します。
例えば「Ext.urlEncode({foo: 1... Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would re... オブジェクトをエンコードされたURLのクエリーストリングに変換します。
例えば「Ext.urlEncode({foo: 1, bar: 2});」とすると 「"foo=1&bar=2"」が返されます。
オブジェクト内に配列を指定すると同名のパラメータを出力できます。
例えば「Ext.urlEncode ( {foo: 1, bar: [2, 3, 4] } )」とすると「foo=1&bar=2&bar=3&bar=4」が返却されます。 Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2". Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value. パラメータ:
| Ext | |
value(
Mixed value, Mixed defaultValue, [Boolean allowBlank]
)
:
Mixed引数の値が空の場合に、設定した初期値を返却するためのユーティリティです。
次の場合、空と判定します... Utility method for returning a default value if the passed value is empty.
The value is deemed to... 引数の値が空の場合に、設定した初期値を返却するためのユーティリティです。 次の場合、空と判定します。
Utility method for returning a default value if the passed value is empty. The value is deemed to be empty if it is
パラメータ:
| Ext | |
zip(
Arrays|NodeLists arr, [Function zipper]
)
:
Array配列のキーが一致する値で配列を再構成します。
いくつかの配列を行列にするように、行と列を変更するこ... Zips N sets together.
配列のキーが一致する値で配列を再構成します。
いくつかの配列を行列にするように、行と列を変更することができます。
Zips N sets together.
パラメータ:
| Ext |