java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
javax.swing.text.StyledEditorKit.StyledTextAction
javax.swing.text.StyledEditorKit.FontSizeAction
- すべての実装されたインタフェース:
- ActionListener,- Serializable,- Cloneable,- EventListener,- Action
- 含まれているクラス:
- StyledEditorKit
public static class StyledEditorKit.FontSizeAction 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
- 
コンストラクタのサマリーコンストラクタ
- 
メソッドのサマリークラス 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
- 
コンストラクタの詳細- 
FontSizeActionpublic FontSizeAction(String nm, int size)新しいFontSizeActionを作成します。- パラメータ:
- nm- アクション名
- size- フォント・サイズ
 
 
- 
- 
メソッドの詳細- 
actionPerformedpublic void actionPerformed(ActionEvent e)フォント・サイズを設定します。- パラメータ:
- e- アクション・イベント
 
 
-