JavaTM Platform
Standard Ed. 6

javax.swing.text
クラス JTextComponent.KeyBinding

java.lang.Object
  上位を拡張 javax.swing.text.JTextComponent.KeyBinding
含まれているクラス:
JTextComponent

public static class JTextComponent.KeyBinding
extends Object

キーバインド作成用のレコードを割り当てます。

警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。JDK Version 1.4 以降、すべての JavaBeans の長期間の運用サポートは、java.beans パッケージに追加されています。詳細は、XMLEncoder を参照してください。


フィールドの概要
 String actionName
          キーのアクション名です。
 KeyStroke key
          キーです。
 
コンストラクタの概要
JTextComponent.KeyBinding(KeyStroke key, String actionName)
          新しいキーバインドを作成します。
 
メソッドの概要
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

key

public KeyStroke key
キーです。


actionName

public String actionName
キーのアクション名です。

コンストラクタの詳細

JTextComponent.KeyBinding

public JTextComponent.KeyBinding(KeyStroke key,
                                 String actionName)
新しいキーバインドを作成します。

パラメータ:
key - キー
actionName - キーのアクション名

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 も参照してください。