クラス
javax.swing.text.DocumentFilterの使用
-
DocumentFilterを使用しているパッケージ パッケージ 説明 javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。javax.swing.text 編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。 -
-
javax.swingでのDocumentFilterの使用
DocumentFilterを返すjavax.swing内のメソッド 修飾子と型 メソッド 説明 protected DocumentFilter
JFormattedTextField.AbstractFormatter. getDocumentFilter()
入力を制限するDocumentFilter
を提供する場合は、サブクラス化し、オーバーライドします。 -
javax.swing.textでのDocumentFilterの使用
DocumentFilterを返すjavax.swing.text内のメソッド 修飾子と型 メソッド 説明 DocumentFilter
AbstractDocument. getDocumentFilter()
挿入または削除のフィルタを行うDocumentFilter
を返します。protected DocumentFilter
DefaultFormatter. getDocumentFilter()
JFormattedTextField
に入力可能な文字を限定するDocumentFilter
を返します。DocumentFilter型のパラメータを持つjavax.swing.text内のメソッド 修飾子と型 メソッド 説明 void
AbstractDocument. setDocumentFilter(DocumentFilter filter)
DocumentFilter
を設定します。
-