- java.lang.Object
-
- javax.swing.AbstractAction
-
- javax.swing.text.TextAction
-
- javax.swing.text.StyledEditorKit.StyledTextAction
-
- javax.swing.text.StyledEditorKit.FontFamilyAction
-
- すべての実装されたインタフェース:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- 含まれているクラス:
- StyledEditorKit
public static class StyledEditorKit.FontFamilyAction extends StyledEditorKit.StyledTextAction
関連するJEditorPaneのフォント・ファミリを設定するアクションです。 フォント・ファミリがある場合は、ActionEventのコマンド文字列として指定されたファミリが使用されます。そうでない場合は、初期化済みのファミリが使用されます。警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースとの互換性がなくなる予定です。 現在の直列化のサポートは、短期間の格納や、同じバージョンのSwingを実行するアプリケーション間のRMIに適しています。 1.4以降、すべてのJavaBeans™用の長期間の格納サポートが
java.beans
パッケージに追加されています。XMLEncoder
を参照してください。
-
-
フィールドのサマリー
-
クラス javax.swing.AbstractActionで宣言されたフィールド
changeSupport, enabled
-
インタフェース javax.swing.Actionで宣言されたフィールド
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 FontFamilyAction(String nm, String family)
新しいFontFamilyActionを作成します。
-
メソッドのサマリー
修飾子と型 メソッド 説明 void
actionPerformed(ActionEvent e)
フォント・ファミリを設定します。-
クラス javax.swing.text.StyledEditorKit.StyledTextActionで宣言されたメソッド
getEditor, getStyledDocument, getStyledEditorKit, setCharacterAttributes, setParagraphAttributes
-
クラス javax.swing.text.TextActionで宣言されたメソッド
augmentList, getFocusedComponent, getTextComponent
-
クラス javax.swing.AbstractActionで宣言されたメソッド
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
メソッドの詳細
-
actionPerformed
public void actionPerformed(ActionEvent e)
フォント・ファミリを設定します。- パラメータ:
e
- イベント
-
-