JavaTM Platform
Standard Ed. 6

クラス
javax.swing.text.TextAction の使用

TextAction を使用しているパッケージ
javax.swing.text 編集可能なテキストコンポーネントと編集不能なテキストコンポーネントを処理するクラスとインタフェースを提供します。 
javax.swing.text.html HTML テキストエディタを作成するための HTMLEditorKit クラスとサポートクラスを提供します。 
 

javax.swing.text での TextAction の使用
 

javax.swing.text での TextAction のサブクラス
static class DefaultEditorKit.BeepAction
          ビープ音を作成します。
static class DefaultEditorKit.CopyAction
          選択した領域をコピーして、その内容をシステムクリップボードに格納します。
static class DefaultEditorKit.CutAction
          選択した領域を切り取り、その内容をシステムクリップボードに格納します。
static class DefaultEditorKit.DefaultKeyTypedAction
          キー入力イベントを受け取ったとき、キーマップエントリがない場合にデフォルトで実行されるアクションです。
static class DefaultEditorKit.InsertBreakAction
          ドキュメントに行または段落の区切りを配置します。
static class DefaultEditorKit.InsertContentAction
          関連するドキュメントに内容を格納します。
static class DefaultEditorKit.InsertTabAction
          ドキュメントにタブ文字を配置します。
static class DefaultEditorKit.PasteAction
          システムクリップボードの内容を、選択された範囲、あるいはキャレットの前 (選択範囲がない場合) に貼り付けます。
static class StyledEditorKit.AlignmentAction
          段落の配置方法を設定するアクションです。
static class StyledEditorKit.BoldAction
          ボールド属性を切り替えるアクションです。
static class StyledEditorKit.FontFamilyAction
          関連する JEditorPane のフォントファミリを設定するアクションです。
static class StyledEditorKit.FontSizeAction
          関連する JEditorPane のフォントサイズを設定するアクションです。
static class StyledEditorKit.ForegroundAction
          フォアグラウンドカラーを設定するアクションです。
static class StyledEditorKit.ItalicAction
          イタリック属性を切り替えるアクションです。
static class StyledEditorKit.StyledTextAction
          インストールされた StyledEditorKit (またはサブクラス) によって JEditorPane でトリガーされると見なされるアクションです。
static class StyledEditorKit.UnderlineAction
          下線属性を切り替えるアクションです。
 

javax.swing.text.html での TextAction の使用
 

javax.swing.text.html での TextAction のサブクラス
static class HTMLEditorKit.HTMLTextAction
          HTML を既存のドキュメントに挿入するのに便利な簡易メソッドを提供する、abstract Action です。
static class HTMLEditorKit.InsertHTMLTextAction
          InsertHTMLTextAction は、既存の HTML ドキュメントに任意の HTML 文字列を挿入するために使用します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。