javax.swing.text.html
クラス HTMLDocument.HTMLReader.FormAction
java.lang.Object
|
+--javax.swing.text.html.HTMLDocument.HTMLReader.TagAction
|
+--javax.swing.text.html.HTMLDocument.HTMLReader.SpecialAction
|
+--javax.swing.text.html.HTMLDocument.HTMLReader.FormAction
- public class HTMLDocument.HTMLReader.FormAction
- extends HTMLDocument.HTMLReader.SpecialAction
フォームの各コントロールを表すための要素をすべて作成して、フォームをサポートするためのアクションです。これは、<input>、<textarea>、<select>、および <option> タグを処理します。このアクションで作成された要素の StyleConstants.ModelAttribute
属性は、フォームのコントロールについての状態を保持するモデルに設定されると見なされます。これによって複数のビューが有効になり、ドキュメントからフォームのデータを繰り返し取得できるようになります。次に、それぞれのフォーム要素の種類に対するモデルの割り当てを示します。
要素の種類
| モデルの型
|
input、タイプは button
| DefaultButtonModel
|
input、タイプは checkbox
| JToggleButton.ToggleButtonModel
|
input、タイプは image
| DefaultButtonModel
|
input、タイプは password
| PlainDocument
|
input、タイプは radio
| JToggleButton.ToggleButtonModel
|
input、タイプは reset
| DefaultButtonModel
|
input、タイプは submit
| DefaultButtonModel
|
input、タイプは text または type の指定なし
| PlainDocument
|
select
| OptionComboBoxModel または OptionListBoxModel (タイプが Option の項目付き)
|
textarea
| TextAreaDocument
|
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
HTMLDocument.HTMLReader.FormAction
public HTMLDocument.HTMLReader.FormAction()
start
public void start(HTML.Tag t,
MutableAttributeSet attr)
- オーバーライド:
- クラス HTMLDocument.HTMLReader.SpecialAction 内の start
end
public void end(HTML.Tag t)
- オーバーライド:
- クラス HTMLDocument.HTMLReader.TagAction 内の end
バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.