javax.swing.text
クラス StyledEditorKit.FontFamilyAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--javax.swing.text.TextAction
|
+--javax.swing.text.StyledEditorKit.StyledTextAction
|
+--javax.swing.text.StyledEditorKit.FontFamilyAction
- public static class StyledEditorKit.FontFamilyAction
- extends StyledEditorKit.StyledTextAction
関連付けられている JEditorPane でフォントファミリを設定するアクションです。このアクションは、ActionEvent でコマンド文字列としてファミリが指定されている場合はそのファミリを使用します。指定されていない場合は、初期化されたファミリが使用されます。
警告:
このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。今後の Swing リリースでは、長期間の持続性をサポートする予定です。
- 関連項目:
- 直列化された形式
StyledEditorKit.FontFamilyAction
public StyledEditorKit.FontFamilyAction(String nm,
String family)
- 新しい FontFamilyAction を作成します。
- パラメータ:
nm
- アクション名family
- フォントファミリ
actionPerformed
public void actionPerformed(ActionEvent e)
- フォントファミリを設定します。
- パラメータ:
e
- イベント
バグや機能要求の報告
新しい 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.