Java プラットフォーム 1.2

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


コンストラクタの概要
HTMLDocument.HTMLReader.FormAction()
           
 
メソッドの概要
 void end(HTML.Tag t)
           
 void start(HTML.Tag t, MutableAttributeSet attr)
           
 
クラス 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

Java プラットフォーム 1.2

バグや機能要求の報告
新しい 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.