|
|
@@ -1,6 +1,6 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<!-- Reviewed: no -->
|
|
|
-<!-- EN-Revision: 16073 -->
|
|
|
+<!-- EN-Revision: 17406 -->
|
|
|
<sect2 id="zend.dojo.form.elements">
|
|
|
<title>Dijit固有のフォーム要素</title>
|
|
|
|
|
|
@@ -12,41 +12,41 @@
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setDijitParam($key, $value)</code>:
|
|
|
+ <methodname>setDijitParam($key, $value)</methodname>:
|
|
|
dijitパラメータを一つセットします。
|
|
|
dijitパラメータがすでに存在すれば、上書きされます。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setDijitParams(array $params)</code>:
|
|
|
+ <methodname>setDijitParams(array $params)</methodname>:
|
|
|
一度にいくつかのdijitパラメータをセットします。
|
|
|
渡されたパラメータにマッチする既存のパラメータは上書きされます。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>hasDijitParam($key)</code>:
|
|
|
+ <methodname>hasDijitParam($key)</methodname>:
|
|
|
与えられたdijitパラメータが定義されたか存在している場合はtrueを返します。
|
|
|
それ以外はfalseを返します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getDijitParam($key)</code>:
|
|
|
+ <methodname>getDijitParam($key)</methodname>:
|
|
|
与えられたdijitパラメータを返します。
|
|
|
利用できない場合は null値を返します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getDijitParams()</code>:
|
|
|
+ <methodname>getDijitParams()</methodname>:
|
|
|
dijitパラメータを全て返します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>removeDijitParam($key)</code>:
|
|
|
+ <methodname>removeDijitParam($key)</methodname>:
|
|
|
与えられたdijitパラメータを除去します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>clearDijitParams()</code>:
|
|
|
+ <methodname>clearDijitParams()</methodname>:
|
|
|
現行定義されたdijitパラメータを全て消去します。
|
|
|
</para></listitem>
|
|
|
</itemizedlist>
|
|
|
@@ -102,13 +102,13 @@ $element->addDecorator('DijitElement')
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
名前が提供されないならば、
|
|
|
- <code>getLabel()</code>はボタン・ラベルとして要素名を利用します。
|
|
|
+ <methodname>getLabel()</methodname>はボタン・ラベルとして要素名を利用します。
|
|
|
さらに、翻訳メッセージにマッチした翻訳アダプターが利用できれば、
|
|
|
それは名前を翻訳します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>isChecked()</code>は、
|
|
|
+ <methodname>isChecked()</methodname>は、
|
|
|
提出される値がラベルにマッチするかどうか決定します;
|
|
|
もしマッチするなら、それはtrueを返します。
|
|
|
これは、フォームが提出されたとき、どのボタンが使われたかについて決定することに役立ちます。
|
|
|
@@ -147,32 +147,32 @@ $form->addElement(
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setCheckedValue($value)</code>:
|
|
|
+ <methodname>setCheckedValue($value)</methodname>:
|
|
|
要素がチェックされたときに使う値を設定します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getCheckedValue()</code>:
|
|
|
+ <methodname>getCheckedValue()</methodname>:
|
|
|
チェックされたときに要素で使う値を取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setUncheckedValue($value)</code>:
|
|
|
+ <methodname>setUncheckedValue($value)</methodname>:
|
|
|
チェックされていないときに要素で使う値を設定します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getUncheckedValue()</code>:
|
|
|
+ <methodname>getUncheckedValue()</methodname>:
|
|
|
チェックされていないときに要素で使う値を取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setChecked($flag)</code>:
|
|
|
+ <methodname>setChecked($flag)</methodname>:
|
|
|
要素をチェック済みにするか否か設定します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>isChecked()</code>:
|
|
|
+ <methodname>isChecked()</methodname>:
|
|
|
要素が現在チェック済みか判断します。
|
|
|
</para></listitem>
|
|
|
</itemizedlist>
|
|
|
@@ -222,61 +222,61 @@ $form->addElement(
|
|
|
dojo.dataデータ・ストア(使用された場合)を指定することだけでなく、
|
|
|
選ばれた選択肢を調べて、セットするためにアクセッサとミューテーターを提供します。
|
|
|
それらはDijitMultiから拡張します。
|
|
|
- そして、それは<code>setMultiOptions()</code>及び<code>setMultiOption()</code>メソッドによって
|
|
|
+ そして、それは<methodname>setMultiOptions()</methodname>及び<methodname>setMultiOption()</methodname>メソッドによって
|
|
|
選ばれた選択肢を指定することができます。
|
|
|
さらに、以下のメソッドを利用できます:
|
|
|
</para>
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>getStoreInfo()</code>:
|
|
|
+ <methodname>getStoreInfo()</methodname>:
|
|
|
現行で設定されているデータストア情報を全て取得します。
|
|
|
現行で設定されたデータがなければ、空の配列を返します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setStoreId($identifier)</code>:
|
|
|
+ <methodname>setStoreId($identifier)</methodname>:
|
|
|
ストアの識別変数を設定します。
|
|
|
(通常、Dojoで 'jsId' 属性によって言及されます)
|
|
|
これは、有効なjavascript変数の名前でなければなりません。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getStoreId()</code>:
|
|
|
+ <methodname>getStoreId()</methodname>:
|
|
|
ストアの識別変数名を取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setStoreType($dojoType)</code>:
|
|
|
+ <methodname>setStoreType($dojoType)</methodname>:
|
|
|
使用するデータストアクラスを設定します;
|
|
|
例えば "dojo.data.ItemFileReadStore"
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getStoreType()</code>:
|
|
|
+ <methodname>getStoreType()</methodname>:
|
|
|
使用するdojoデータストアクラスを取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setStoreParams(array $params)</code>:
|
|
|
+ <methodname>setStoreParams(array $params)</methodname>:
|
|
|
データ・ストア・オブジェクトを構成するために使われるパラメータをいずれも設定します。
|
|
|
例えば、 dojo.data.ItemFileReadStore データストアでは
|
|
|
dojo.dataオブジェクトを返す場所を指す 'url' パラメータを期待します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getStoreParams()</code>:
|
|
|
+ <methodname>getStoreParams()</methodname>:
|
|
|
現行で設定されているデータストアパラメータをいずれも取得します;
|
|
|
もしなければ、空の配列を返します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setAutocomplete($flag)</code>:
|
|
|
+ <methodname>setAutocomplete($flag)</methodname>:
|
|
|
ユーザーが要素から離れるとき、選ばれた項目が使われるかどうかを示します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getAutocomplete()</code>:
|
|
|
+ <methodname>getAutocomplete()</methodname>:
|
|
|
自動補完フラグの値を取得します。
|
|
|
</para></listitem>
|
|
|
</itemizedlist>
|
|
|
@@ -285,7 +285,7 @@ $form->addElement(
|
|
|
dojo.dataストアが要素で登録されなければ、
|
|
|
登録された選択肢の配列のキーを検証する<code>InArray</code>バリデーターを
|
|
|
この要素はデフォルトで登録します。
|
|
|
- <code>setRegisterInArrayValidator(false)</code>を呼び出すことでも、
|
|
|
+ <methodname>setRegisterInArrayValidator(false)</methodname>を呼び出すことでも、
|
|
|
<code>registerInArrayValidator</code>設定キーにfalse値を渡すことでも、
|
|
|
このふるまいを抑制することができます。
|
|
|
</para>
|
|
|
@@ -361,34 +361,34 @@ $form->addElement(
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setCurrency($currency)</code>:
|
|
|
+ <methodname>setCurrency($currency)</methodname>:
|
|
|
使用する通貨種類を設定します;
|
|
|
<ulink url="http://en.wikipedia.org/wiki/ISO_4217">ISO-4217</ulink>
|
|
|
仕様に従うでしょう。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getCurrency()</code>:現行の通貨種類を取得します。
|
|
|
+ <methodname>getCurrency()</methodname>:現行の通貨種類を取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setSymbol($symbol)</code>: 3文字からなる<ulink
|
|
|
+ <methodname>setSymbol($symbol)</methodname>: 3文字からなる<ulink
|
|
|
url="http://en.wikipedia.org/wiki/ISO_4217">ISO-4217</ulink>
|
|
|
通貨記号を設定します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getSymbol()</code>:
|
|
|
+ <methodname>getSymbol()</methodname>:
|
|
|
現行の通貨記号を取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setFractional($flag)</code>:
|
|
|
+ <methodname>setFractional($flag)</methodname>:
|
|
|
通貨で小数を許すかどうか設定します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>getFractional()</code>:
|
|
|
+ <methodname>getFractional()</methodname>:
|
|
|
小数フラグの状態を取得します。
|
|
|
</para></listitem>
|
|
|
</itemizedlist>
|
|
|
@@ -433,39 +433,39 @@ $form->addElement(
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setAmPm($flag)</code>及び<code>getAmPm()</code>:
|
|
|
+ <methodname>setAmPm($flag)</methodname>及び<methodname>getAmPm()</methodname>:
|
|
|
時刻でAM/PM 文字列を使うかどうか
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setStrict($flag)</code>及び<code>getStrict()</code>:
|
|
|
+ <methodname>setStrict($flag)</methodname>及び<methodname>getStrict()</methodname>:
|
|
|
入力を確認した時にマッチする厳しい正規表現を使うかどうか。
|
|
|
デフォルトはfalseですが、空白文字やいくつかの省略形を許します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setLocale($locale)</code>及び<code>getLocale()</code>:
|
|
|
+ <methodname>setLocale($locale)</methodname>及び<methodname>getLocale()</methodname>:
|
|
|
指定した要素で使うロケールを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setDatePattern($pattern)</code>及び
|
|
|
- <code>getDatePattern()</code>:
|
|
|
+ <methodname>setDatePattern($pattern)</methodname>及び
|
|
|
+ <methodname>getDatePattern()</methodname>:
|
|
|
日付をフォーマットする<ulink
|
|
|
url="http://www.unicode.org/reports/tr35/#Date_Format_Patterns">
|
|
|
unicode 日付形式パターン</ulink>を提示または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setFormatLength($formatLength)</code>及び
|
|
|
- <code>getFormatLength()</code>:
|
|
|
+ <methodname>setFormatLength($formatLength)</methodname>及び
|
|
|
+ <methodname>getFormatLength()</methodname>:
|
|
|
使用する形式の長さの種類を提示または取得します;
|
|
|
"long"、"short"、"medium"または"full"のどれか一つです。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setSelector($selector)</code>及び
|
|
|
- <code>getSelector()</code>:
|
|
|
+ <methodname>setSelector($selector)</methodname>及び
|
|
|
+ <methodname>getSelector()</methodname>:
|
|
|
セレクタのスタイルを提示または取得します;
|
|
|
"date" や "time" のどちらかでしょう。
|
|
|
</para></listitem>
|
|
|
@@ -517,13 +517,13 @@ $form->addElement(
|
|
|
</para>
|
|
|
|
|
|
<itemizedlist>
|
|
|
- <listitem><para><code>addCaptureEvent($event)</code></para></listitem>
|
|
|
- <listitem><para><code>addCaptureEvents(array $events)</code></para></listitem>
|
|
|
- <listitem><para><code>setCaptureEvents(array $events)</code></para></listitem>
|
|
|
- <listitem><para><code>getCaptureEvents()</code></para></listitem>
|
|
|
- <listitem><para><code>hasCaptureEvent($event)</code></para></listitem>
|
|
|
- <listitem><para><code>removeCaptureEvent($event)</code></para></listitem>
|
|
|
- <listitem><para><code>clearCaptureEvents()</code></para></listitem>
|
|
|
+ <listitem><para><methodname>addCaptureEvent($event)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>addCaptureEvents(array $events)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>setCaptureEvents(array $events)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>getCaptureEvents()</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>hasCaptureEvent($event)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>removeCaptureEvent($event)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>clearCaptureEvents()</methodname></para></listitem>
|
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
|
|
|
|
@@ -535,13 +535,13 @@ $form->addElement(
|
|
|
</para>
|
|
|
|
|
|
<itemizedlist>
|
|
|
- <listitem><para><code>addEvent($event)</code></para></listitem>
|
|
|
- <listitem><para><code>addEvents(array $events)</code></para></listitem>
|
|
|
- <listitem><para><code>setEvents(array $events)</code></para></listitem>
|
|
|
- <listitem><para><code>getEvents()</code></para></listitem>
|
|
|
- <listitem><para><code>hasEvent($event)</code></para></listitem>
|
|
|
- <listitem><para><code>removeEvent($event)</code></para></listitem>
|
|
|
- <listitem><para><code>clearEvents()</code></para></listitem>
|
|
|
+ <listitem><para><methodname>addEvent($event)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>addEvents(array $events)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>setEvents(array $events)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>getEvents()</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>hasEvent($event)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>removeEvent($event)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>clearEvents()</methodname></para></listitem>
|
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
|
|
|
|
@@ -553,13 +553,13 @@ $form->addElement(
|
|
|
</para>
|
|
|
|
|
|
<itemizedlist>
|
|
|
- <listitem><para><code>addPlugin($plugin)</code></para></listitem>
|
|
|
- <listitem><para><code>addPlugins(array $plugins)</code></para></listitem>
|
|
|
- <listitem><para><code>setPlugins(array $plugins)</code></para></listitem>
|
|
|
- <listitem><para><code>getPlugins()</code></para></listitem>
|
|
|
- <listitem><para><code>hasPlugin($plugin)</code></para></listitem>
|
|
|
- <listitem><para><code>removePlugin($plugin)</code></para></listitem>
|
|
|
- <listitem><para><code>clearPlugins()</code></para></listitem>
|
|
|
+ <listitem><para><methodname>addPlugin($plugin)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>addPlugins(array $plugins)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>setPlugins(array $plugins)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>getPlugins()</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>hasPlugin($plugin)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>removePlugin($plugin)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>clearPlugins()</methodname></para></listitem>
|
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
|
|
|
|
@@ -568,8 +568,8 @@ $form->addElement(
|
|
|
<emphasis>editActionInterval</emphasis>は、
|
|
|
アンドゥ操作のためにイベントをまとめるために使われます。
|
|
|
デフォルトでこの値は3秒です。
|
|
|
- <code>setEditActionInterval($interval)</code>メソッドが値を設定するために使われるかもしれません。
|
|
|
- 一方で、<code>getEditActionInterval()</code>が値を取得します。
|
|
|
+ <methodname>setEditActionInterval($interval)</methodname>メソッドが値を設定するために使われるかもしれません。
|
|
|
+ 一方で、<methodname>getEditActionInterval()</methodname>が値を取得します。
|
|
|
</para>
|
|
|
</listitem>
|
|
|
|
|
|
@@ -579,8 +579,8 @@ $form->addElement(
|
|
|
ページが読み込まれたとき、
|
|
|
この指定のエディタがフォーカスを受けるかどうか判断するために使われます。
|
|
|
デフォルトでこれはfalseです。
|
|
|
- メソッド<code>setFocusOnLoad($flag)</code>が値を設定するために使われるかもしれません。
|
|
|
- 一方で、<code>getFocusOnLoad()</code>が値を取得します。
|
|
|
+ メソッド<methodname>setFocusOnLoad($flag)</methodname>が値を設定するために使われるかもしれません。
|
|
|
+ 一方で、<methodname>getFocusOnLoad()</methodname>が値を取得します。
|
|
|
</para>
|
|
|
</listitem>
|
|
|
|
|
|
@@ -588,8 +588,8 @@ $form->addElement(
|
|
|
<para>
|
|
|
<emphasis>height</emphasis>はエディターの高さを指定します;
|
|
|
デフォルトでこれは300pxです。
|
|
|
- メソッド<code>setHeight($height)</code>が値を設定するために使われるかもしれません。
|
|
|
- 一方で、<code>getHeight()</code>が値を取得します。
|
|
|
+ メソッド<methodname>setHeight($height)</methodname>が値を設定するために使われるかもしれません。
|
|
|
+ 一方で、<methodname>getHeight()</methodname>が値を取得します。
|
|
|
</para>
|
|
|
</listitem>
|
|
|
|
|
|
@@ -599,8 +599,8 @@ $form->addElement(
|
|
|
エディタが親コンテナの幅と単純にデフォルトの100%幅のどちらを使うか決定するために使われます。
|
|
|
デフォルトでこれはfalseです。
|
|
|
(すなわち、画面の幅一杯を満たします)
|
|
|
- メソッド<code>setInheritWidth($flag)</code>が値を設定するために使われるかもしれません。
|
|
|
- 一方で、<code>getInheritWidth()</code>が値を取得します。
|
|
|
+ メソッド<methodname>setInheritWidth($flag)</methodname>が値を設定するために使われるかもしれません。
|
|
|
+ 一方で、<methodname>getInheritWidth()</methodname>が値を取得します。
|
|
|
</para>
|
|
|
</listitem>
|
|
|
|
|
|
@@ -608,31 +608,31 @@ $form->addElement(
|
|
|
<para>
|
|
|
<emphasis>minHeight</emphasis>はエディターの高さの最小値を設定します;
|
|
|
デフォルトでこれは1emです。
|
|
|
- メソッド<code>setMinHeight($height)</code>が値を設定するために使われるかもしれません。
|
|
|
- 一方で、<code>getMinHeight()</code>が値を取得します。
|
|
|
+ メソッド<methodname>setMinHeight($height)</methodname>が値を設定するために使われるかもしれません。
|
|
|
+ 一方で、<methodname>getMinHeight()</methodname>が値を取得します。
|
|
|
</para>
|
|
|
</listitem>
|
|
|
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<emphasis>styleSheets</emphasis>は、
|
|
|
- どの追加CSSスタイルシートがエディタの表示に影響を及ぼすために使われるか示します。
|
|
|
+ どの追加<acronym>CSS</acronym>スタイルシートがエディタの表示に影響を及ぼすために使われるか示します。
|
|
|
デフォルトでは何も登録されず、それはページ・スタイルを継承します。
|
|
|
エディタ・スタイルシートを操作するために以下のアクセッサとミューテーターを利用できます:
|
|
|
</para>
|
|
|
|
|
|
<itemizedlist>
|
|
|
- <listitem><para><code>addStyleSheet($styleSheet)</code></para></listitem>
|
|
|
+ <listitem><para><methodname>addStyleSheet($styleSheet)</methodname></para></listitem>
|
|
|
<listitem>
|
|
|
- <para><code>addStyleSheets(array $styleSheets)</code></para>
|
|
|
+ <para><methodname>addStyleSheets(array $styleSheets)</methodname></para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
- <para><code>setStyleSheets(array $styleSheets)</code></para>
|
|
|
+ <para><methodname>setStyleSheets(array $styleSheets)</methodname></para>
|
|
|
</listitem>
|
|
|
- <listitem><para><code>getStyleSheets()</code></para></listitem>
|
|
|
- <listitem><para><code>hasStyleSheet($styleSheet)</code></para></listitem>
|
|
|
- <listitem><para><code>removeStyleSheet($styleSheet)</code></para></listitem>
|
|
|
- <listitem><para><code>clearStyleSheets()</code></para></listitem>
|
|
|
+ <listitem><para><methodname>getStyleSheets()</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>hasStyleSheet($styleSheet)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>removeStyleSheet($styleSheet)</methodname></para></listitem>
|
|
|
+ <listitem><para><methodname>clearStyleSheets()</methodname></para></listitem>
|
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
|
</itemizedlist>
|
|
|
@@ -672,8 +672,8 @@ $form->addElement('editor', 'content', array(
|
|
|
<itemizedlist>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- <code>setTopDecorationDijit($dijit)</code>及び
|
|
|
- <code>setBottomDecorationDijit($dijit)</code>:
|
|
|
+ <methodname>setTopDecorationDijit($dijit)</methodname>及び
|
|
|
+ <methodname>setBottomDecorationDijit($dijit)</methodname>:
|
|
|
スライダーの上側か下側で使うdijitの名前をセットします。
|
|
|
これは、接頭辞 "dijit.form." を含んではいけません。
|
|
|
むしろ final 名だけ
|
|
|
@@ -684,8 +684,8 @@ $form->addElement('editor', 'content', array(
|
|
|
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- <code>setTopDecorationContainer($container)</code>及び
|
|
|
- <code>setBottomDecorationContainer($container)</code>:
|
|
|
+ <methodname>setTopDecorationContainer($container)</methodname>及び
|
|
|
+ <methodname>setBottomDecorationContainer($container)</methodname>:
|
|
|
罫線コンテナ要素のために使用する名前を指定します;
|
|
|
例えば、'topRule' や 'topContainer'など。
|
|
|
</para>
|
|
|
@@ -693,8 +693,8 @@ $form->addElement('editor', 'content', array(
|
|
|
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- <code>setTopDecorationLabels(array $labels)</code>及び
|
|
|
- <code>setBottomDecorationLabels(array $labels)</code>:
|
|
|
+ <methodname>setTopDecorationLabels(array $labels)</methodname>及び
|
|
|
+ <methodname>setBottomDecorationLabels(array $labels)</methodname>:
|
|
|
RuleLabels dijit型のうちの1つで使用するラベルをセットします。
|
|
|
これらは、インデックスを付けられた配列でなければなりません;
|
|
|
与えられたラベル位置(例えば始めまたは終わり)をスキップするために、
|
|
|
@@ -704,8 +704,8 @@ $form->addElement('editor', 'content', array(
|
|
|
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- <code>setTopDecorationParams(array $params)</code>及び
|
|
|
- <code>setBottomDecorationParams(array $params)</code>:
|
|
|
+ <methodname>setTopDecorationParams(array $params)</methodname>及び
|
|
|
+ <methodname>setBottomDecorationParams(array $params)</methodname>:
|
|
|
与えられた罫線、
|
|
|
またはRuleLabels dijitを構成するときに使うdijitパラメータです。
|
|
|
</para>
|
|
|
@@ -713,8 +713,8 @@ $form->addElement('editor', 'content', array(
|
|
|
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- <code>setTopDecorationAttribs(array $attribs)</code>及び
|
|
|
- <code>setBottomDecorationAttribs(array $attribs)</code>:
|
|
|
+ <methodname>setTopDecorationAttribs(array $attribs)</methodname>及び
|
|
|
+ <methodname>setBottomDecorationAttribs(array $attribs)</methodname>:
|
|
|
与えられた罫線、
|
|
|
またはRuleLabels HTML要素コンテナのために指定するHTML属性です。
|
|
|
</para>
|
|
|
@@ -722,8 +722,8 @@ $form->addElement('editor', 'content', array(
|
|
|
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- <code>getTopDecoration()</code>及び
|
|
|
- <code>getBottomDecoration()</code>:
|
|
|
+ <methodname>getTopDecoration()</methodname>及び
|
|
|
+ <methodname>getBottomDecoration()</methodname>:
|
|
|
上記のミューテーターによって提示されたように、
|
|
|
与えられた罫線またはRuleLabels定義のためにすべてのメタデータを取得します。
|
|
|
</para>
|
|
|
@@ -802,50 +802,50 @@ $form->addElement(
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setDefaultTimeout($timeout)</code>及び
|
|
|
- <code>getDefaultTimeout()</code>:
|
|
|
+ <methodname>setDefaultTimeout($timeout)</methodname>及び
|
|
|
+ <methodname>getDefaultTimeout()</methodname>:
|
|
|
ボタンが押されたままのときと、値が変更されるときの間の既定のタイムアウトを
|
|
|
ミリ秒単位で設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setTimeoutChangeRate($rate)</code>及び
|
|
|
- <code>getTimeoutChangeRate()</code>:
|
|
|
+ <methodname>setTimeoutChangeRate($rate)</methodname>及び
|
|
|
+ <methodname>getTimeoutChangeRate()</methodname>:
|
|
|
ボタンが押されたままのとき、変化がなされる割合をミリ秒単位で設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setLargeDelta($delta)</code>及び
|
|
|
- <code>getLargeDelta()</code>:
|
|
|
+ <methodname>setLargeDelta($delta)</methodname>及び
|
|
|
+ <methodname>getLargeDelta()</methodname>:
|
|
|
ボタンが押されたままのとき、数値が変わるべき量を設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setSmallDelta($delta)</code>及び
|
|
|
- <code>getSmallDelta()</code>:
|
|
|
+ <methodname>setSmallDelta($delta)</methodname>及び
|
|
|
+ <methodname>getSmallDelta()</methodname>:
|
|
|
ボタンが一度押されたとき、数が変わるべきデルタを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setIntermediateChanges($flag)</code>及び
|
|
|
- <code>getIntermediateChanges()</code>:
|
|
|
+ <methodname>setIntermediateChanges($flag)</methodname>及び
|
|
|
+ <methodname>getIntermediateChanges()</methodname>:
|
|
|
ボタンが押されたままのとき、
|
|
|
各々の値が変化するごとに表示されるべきかどうか示すフラグを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setRangeMessage($message)</code>及び
|
|
|
- <code>getRangeMessage()</code>:
|
|
|
+ <methodname>setRangeMessage($message)</methodname>及び
|
|
|
+ <methodname>getRangeMessage()</methodname>:
|
|
|
利用できる値の範囲を指示しているメッセージを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setMin($value)</code>及び<code>getMin()</code>:
|
|
|
+ <methodname>setMin($value)</methodname>及び<methodname>getMin()</methodname>:
|
|
|
使用可能な最小値を設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setMax($value)</code>及び<code>getMax()</code>:
|
|
|
+ <methodname>setMax($value)</methodname>及び<methodname>getMax()</methodname>:
|
|
|
使用可能な最大値を設定または取得します。
|
|
|
</para></listitem>
|
|
|
</itemizedlist>
|
|
|
@@ -894,31 +894,31 @@ $form->addElement(
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setLocale($locale)</code>及び<code>getLocale()</code>:
|
|
|
+ <methodname>setLocale($locale)</methodname>及び<methodname>getLocale()</methodname>:
|
|
|
このdijitを利用するために指定されたまたは代替のロケールを指定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setPattern($pattern)</code>及び
|
|
|
- <code>getPattern()</code>:
|
|
|
+ <methodname>setPattern($pattern)</methodname>及び
|
|
|
+ <methodname>getPattern()</methodname>:
|
|
|
数をフォーマットするために使う<ulink
|
|
|
url="http://www.unicode.org/reports/tr35/#Number_Format_Patterns">数値パターン形式</ulink>
|
|
|
を設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setType($type)</code>及び<code>getType()</code>:
|
|
|
+ <methodname>setType($type)</methodname>及び<methodname>getType()</methodname>:
|
|
|
使用する数の形式型を取得します。
|
|
|
('decimal'、'percent'または'currency'のいずれかであるべきです)。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setPlaces($places)</code>及び<code>getPlaces()</code>:
|
|
|
+ <methodname>setPlaces($places)</methodname>及び<methodname>getPlaces()</methodname>:
|
|
|
サポートする小数位の数を設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setStrict($flag)</code>及び<code>getStrict()</code>:
|
|
|
+ <methodname>setStrict($flag)</methodname>及び<methodname>getStrict()</methodname>:
|
|
|
空白文字及び数字以外の文字についてどの程度ゆるやかに許されるか示す
|
|
|
厳密性フラグの値を設定または取得します。
|
|
|
</para></listitem>
|
|
|
@@ -995,14 +995,14 @@ $form->addElement(
|
|
|
|
|
|
<para>
|
|
|
ラジオボタンはDijitMultiから拡張します。
|
|
|
- そして、<code>setMultiOptions()</code>及び<code>setMultiOption()</code>メソッドによって
|
|
|
+ そして、<methodname>setMultiOptions()</methodname>及び<methodname>setMultiOption()</methodname>メソッドによって
|
|
|
選ばれた選択肢を指定することができます。
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
デフォルトでこの要素は、
|
|
|
配列に対して登録された選択肢のキーを確認する<code>InArray</code>バリデーターを登録します。
|
|
|
- <code>setRegisterInArrayValidator(false)</code>または
|
|
|
+ <methodname>setRegisterInArrayValidator(false)</methodname>または
|
|
|
<code>registerInArrayValidator</code>のどちらを呼び出しても、
|
|
|
設定キーにfalse値を渡すことによってこのふるまいを抑制することができます。
|
|
|
</para>
|
|
|
@@ -1034,7 +1034,7 @@ $form->addElement(
|
|
|
<para>
|
|
|
シンプルテキストエリアは、主に標準的なHTMLの textarea のようにふるまいます。
|
|
|
しかし、それは列または行の設定をサポートしません。
|
|
|
- その代わり、textarea幅は、標準的なCSS幅を使用して指定されるべきです。
|
|
|
+ その代わり、textarea幅は、標準的な<acronym>CSS</acronym>幅を使用して指定されるべきです。
|
|
|
テキストエリアとは異なり、自動的に成長しません。
|
|
|
</para>
|
|
|
|
|
|
@@ -1069,43 +1069,43 @@ $form->addElement(
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setClickSelect($flag)</code>及び
|
|
|
- <code>getClickSelect()</code>:
|
|
|
+ <methodname>setClickSelect($flag)</methodname>及び
|
|
|
+ <methodname>getClickSelect()</methodname>:
|
|
|
スライダーをクリックしたら値を変更するかどうか示すフラグを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setIntermediateChanges($flag)</code>及び
|
|
|
- <code>getIntermediateChanges()</code>:
|
|
|
+ <methodname>setIntermediateChanges($flag)</methodname>及び
|
|
|
+ <methodname>getIntermediateChanges()</methodname>:
|
|
|
各々のスライダー変化イベントにdijitが通知を送るかどうか示すフラグを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setShowButtons($flag)</code>及び
|
|
|
- <code>getShowButtons()</code>:
|
|
|
+ <methodname>setShowButtons($flag)</methodname>及び
|
|
|
+ <methodname>getShowButtons()</methodname>:
|
|
|
どちらかの端にボタンが表示されるかどうか示すフラグを設定または取得します。;
|
|
|
もし表示されるなら、スライダーの値を変えるために、ユーザーはボタンをクリックできます。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setDiscreteValues($value)</code>及び
|
|
|
- <code>getDiscreteValues()</code>:
|
|
|
+ <methodname>setDiscreteValues($value)</methodname>及び
|
|
|
+ <methodname>getDiscreteValues()</methodname>:
|
|
|
スライダーによって表される不連続な値の数を設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setMaximum($value)</code>及び<code>getMaximum()</code>:
|
|
|
+ <methodname>setMaximum($value)</methodname>及び<methodname>getMaximum()</methodname>:
|
|
|
スライダーの最大値を設定します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setMinimum($value)</code>及び<code>getMinimum()</code>:
|
|
|
+ <methodname>setMinimum($value)</methodname>及び<methodname>getMinimum()</methodname>:
|
|
|
スライダーの最小値を設定します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setPageIncrement($value)</code>及び
|
|
|
- <code>getPageIncrement()</code>:
|
|
|
+ <methodname>setPageIncrement($value)</methodname>及び
|
|
|
+ <methodname>getPageIncrement()</methodname>:
|
|
|
スライダーがキーボード・イベントで変わる量を設定します。
|
|
|
</para></listitem>
|
|
|
</itemizedlist>
|
|
|
@@ -1153,30 +1153,30 @@ $form->addElement(
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setLowercase($flag)</code>及び
|
|
|
- <code>getLowercase()</code>:
|
|
|
+ <methodname>setLowercase($flag)</methodname>及び
|
|
|
+ <methodname>getLowercase()</methodname>:
|
|
|
入力を小文字にキャストすべきかどうか示すフラグを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setPropercase($flag)</code>及び
|
|
|
- <code>getPropercase()</code>:
|
|
|
+ <methodname>setPropercase($flag)</methodname>及び
|
|
|
+ <methodname>getPropercase()</methodname>:
|
|
|
入力をProper Case(訳注:先頭を大文字、他を小文字にすること)にキャストすべきかどうか示すフラグを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setUppercase($flag)</code>及び<code>getUppercase()</code>:
|
|
|
+ <methodname>setUppercase($flag)</methodname>及び<methodname>getUppercase()</methodname>:
|
|
|
入力を大文字にキャストすべきかどうか示すフラグを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setTrim($flag)</code>及び<code>getTrim()</code>:
|
|
|
+ <methodname>setTrim($flag)</methodname>及び<methodname>getTrim()</methodname>:
|
|
|
先立つまたは後続する空白を除去すべきかどうか示すフラグを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setMaxLength($length)</code>及び
|
|
|
- <code>getMaxLength()</code>:
|
|
|
+ <methodname>setMaxLength($length)</methodname>及び
|
|
|
+ <methodname>getMaxLength()</methodname>:
|
|
|
入力の長さの上限を設定または取得します。
|
|
|
</para></listitem>
|
|
|
</itemizedlist>
|
|
|
@@ -1205,7 +1205,7 @@ $form->addElement(
|
|
|
<para>
|
|
|
テキストエリアは、主に標準的なHTMLの textarea のようにふるまいます。
|
|
|
しかし、それは列または行の設定をサポートしません。
|
|
|
- その代わり、textareaの幅は、標準的なCSS幅を使用して指定されるべきです;
|
|
|
+ その代わり、textareaの幅は、標準的な<acronym>CSS</acronym>幅を使用して指定されるべきです;
|
|
|
列は、完全に省略されます。
|
|
|
テキストが追加されるたびに、textareaは垂直に伸びます。
|
|
|
</para>
|
|
|
@@ -1248,16 +1248,16 @@ $form->addElement(
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setTimePattern($pattern)</code>及び
|
|
|
- <code>getTimePattern()</code>:
|
|
|
+ <methodname>setTimePattern($pattern)</methodname>及び
|
|
|
+ <methodname>getTimePattern()</methodname>:
|
|
|
時刻をフォーマットするための<ulink
|
|
|
url="http://www.unicode.org/reports/tr35/#Date_Format_Patterns">unicode時間形式パターン</ulink>
|
|
|
を設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setClickableIncrement($format)</code>及び
|
|
|
- <code>getClickableIncrement()</code>:
|
|
|
+ <methodname>setClickableIncrement($format)</methodname>及び
|
|
|
+ <methodname>getClickableIncrement()</methodname>:
|
|
|
Time Pickerでクリックできる全ての要素で
|
|
|
増分値を示す<ulink
|
|
|
url="http://en.wikipedia.org/wiki/ISO_8601">ISO-8601</ulink>
|
|
|
@@ -1265,15 +1265,15 @@ $form->addElement(
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setVisibleIncrement($format)</code>及び
|
|
|
- <code>getVisibleIncrement()</code>:
|
|
|
+ <methodname>setVisibleIncrement($format)</methodname>及び
|
|
|
+ <methodname>getVisibleIncrement()</methodname>:
|
|
|
時刻選択にて見える増分を設定します;
|
|
|
ISO-8601フォーマットに従わなければなりません。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setVisibleRange($format)</code>及び
|
|
|
- <code>getVisibleRange()</code>:
|
|
|
+ <methodname>setVisibleRange($format)</methodname>及び
|
|
|
+ <methodname>getVisibleRange()</methodname>:
|
|
|
時刻選択にていつでも見える時刻の範囲を設定または取得します;
|
|
|
ISO-8601フォーマットに従わなければなりません。
|
|
|
</para></listitem>
|
|
|
@@ -1315,46 +1315,46 @@ $form->addElement(
|
|
|
|
|
|
<itemizedlist>
|
|
|
<listitem><para>
|
|
|
- <code>setInvalidMessage($message)</code>及び
|
|
|
- <code>getInvalidMessage()</code>:
|
|
|
+ <methodname>setInvalidMessage($message)</methodname>及び
|
|
|
+ <methodname>getInvalidMessage()</methodname>:
|
|
|
値がバリデーションされないときに表示するtooltipメッセージを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setPromptMessage($message)</code>及び
|
|
|
- <code>getPromptMessage()</code>:
|
|
|
+ <methodname>setPromptMessage($message)</methodname>及び
|
|
|
+ <methodname>getPromptMessage()</methodname>:
|
|
|
要素の使用方法のために表示されるtooltipメッセージを設定または取得します。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setRegExp($regexp)</code>及び<code>getRegExp()</code>:
|
|
|
+ <methodname>setRegExp($regexp)</methodname>及び<methodname>getRegExp()</methodname>:
|
|
|
要素を確認するために使用する正規表現を取得します。
|
|
|
- 正規表現は、バウンダリ(PHPのpreg* ファミリーの関数と異なります)を必要としません。
|
|
|
+ 正規表現は、バウンダリ(<acronym>PHP</acronym>のpreg* ファミリーの関数と異なります)を必要としません。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setConstraint($key, $value)</code>及び
|
|
|
- <code>getConstraint($key)</code>:
|
|
|
+ <methodname>setConstraint($key, $value)</methodname>及び
|
|
|
+ <methodname>getConstraint($key)</methodname>:
|
|
|
要素を確認するときに使う追加制約を設定または取得します;
|
|
|
サブクラスで主に使われます。
|
|
|
制約は、dijitパラメータの 'constraints' キーに保存されます。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>setConstraints(array $constraints)</code>及び
|
|
|
- <code>getConstraints()</code>:
|
|
|
+ <methodname>setConstraints(array $constraints)</methodname>及び
|
|
|
+ <methodname>getConstraints()</methodname>:
|
|
|
要素を確認するときに使う個々の制約を設定または取得します;
|
|
|
サブクラスで主に使われます。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>hasConstraint($key)</code>:
|
|
|
+ <methodname>hasConstraint($key)</methodname>:
|
|
|
与えられた制約が存在するかどうか調べます。
|
|
|
</para></listitem>
|
|
|
|
|
|
<listitem><para>
|
|
|
- <code>removeConstraint($key)</code>及び
|
|
|
- <code>clearConstraints()</code>:
|
|
|
+ <methodname>removeConstraint($key)</methodname>及び
|
|
|
+ <methodname>clearConstraints()</methodname>:
|
|
|
要素のために個別またはすべての制約を取り除きます。
|
|
|
</para></listitem>
|
|
|
</itemizedlist>
|