クラスjava.awt.event.ActionEvent
の使用
-
ActionEventを使用するパッケージ パッケージ 説明 java.awt ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。java.awt.dnd ドラッグ&ドロップ操作は、多くのグラフィカル・ユーザー・インタフェース・システムで見られる直接的な操作ジェスチャで、GUIの表現要素に論理的に関連付けられた2つのエンティティ間で情報を変換するメカニズムを提供します。java.awt.event AWTコンポーネントによってトリガーされるさまざまな種類のイベントを処理するインタフェースとクラスを提供します。javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。javax.swing.plaf.basic 基本Look & Feelに従って構築されたユーザー・インタフェース・オブジェクトを提供します。javax.swing.text 編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。javax.swing.text.html HTMLテキスト・エディタを作成するためのクラスHTMLEditorKitとサポート・クラスを提供します。javax.swing.tree javax.swing.JTreeを処理するためのクラスとインタフェースを提供します。 -
-
java.awtでのActionEventの使用
ActionEvent型のパラメータを持つjava.awtのメソッド 修飾子と型 メソッド 説明 voidAWTEventMulticaster. actionPerformed(ActionEvent e)listener-aとlistener-bでactionPerformedメソッドを呼び出すことによって、actionPerformedイベントを処理します。protected voidButton. processActionEvent(ActionEvent e)このボタンで発生するアクション・イベントを、登録されているActionListenerオブジェクトにディスパッチすることによって処理します。protected voidList. processActionEvent(ActionEvent e)このコンポーネントで発生するアクション・イベントを、登録されているActionListenerオブジェクトにディスパッチすることによって処理します。protected voidMenuItem. processActionEvent(ActionEvent e)このメニュー項目で発生するアクション・イベントを、登録されているActionListenerオブジェクトにディスパッチすることによって処理します。protected voidTextField. processActionEvent(ActionEvent e)このテキスト・フィールドで発生するアクション・イベントを、登録されているActionListenerオブジェクトにディスパッチすることによって処理します。 -
java.awt.dndでのActionEventの使用
ActionEvent型のパラメータを持つjava.awt.dndのメソッド 修飾子と型 メソッド 説明 voidDropTarget.DropTargetAutoScroller. actionPerformed(ActionEvent e)自動スクロールが発生します -
java.awt.eventでのActionEventの使用
ActionEvent型のパラメータを持つjava.awt.eventのメソッド 修飾子と型 メソッド 説明 voidActionListener. actionPerformed(ActionEvent e)アクションが発生すると呼び出されます。 -
javax.swingでのActionEventの使用
ActionEvent型のパラメータを持つjavax.swingのメソッド 修飾子と型 メソッド 説明 voidDefaultCellEditor.EditorDelegate. actionPerformed(ActionEvent e)アクションが実行されると編集が終了します。voidJComboBox. actionPerformed(ActionEvent e)このメソッドは実装の副作用としてpublicです。protected voidAbstractButton. fireActionPerformed(ActionEvent event)このイベント・タイプの通知対象として登録されているすべてのリスナーに通知します。protected voidDefaultButtonModel. fireActionPerformed(ActionEvent e)このイベント・タイプの通知対象として登録されているすべてのリスナーに通知します。protected voidTimer. fireActionPerformed(ActionEvent e)このイベント・タイプの通知対象として登録されているすべてのリスナーに通知します。 -
javax.swing.plaf.basicでのActionEventの使用
ActionEvent型のパラメータを持つjavax.swing.plaf.basicのメソッド 修飾子と型 メソッド 説明 voidBasicTreeUI.ComponentHandler. actionPerformed(ActionEvent ae)Timerの結果としてpublicです。 -
javax.swing.textでのActionEventの使用
ActionEvent型のパラメータを持つjavax.swing.textのメソッド 修飾子と型 メソッド 説明 voidDefaultEditorKit.BeepAction. actionPerformed(ActionEvent e)このアクションがトリガーされたときに実行される操作です。voidDefaultEditorKit.CopyAction. actionPerformed(ActionEvent e)このアクションがトリガーされたときに実行される操作です。voidDefaultEditorKit.CutAction. actionPerformed(ActionEvent e)このアクションがトリガーされたときに実行される操作です。voidDefaultEditorKit.DefaultKeyTypedAction. actionPerformed(ActionEvent e)このアクションがトリガーされたときに実行される操作です。voidDefaultEditorKit.InsertBreakAction. actionPerformed(ActionEvent e)このアクションがトリガーされたときに実行される操作です。voidDefaultEditorKit.InsertContentAction. actionPerformed(ActionEvent e)このアクションがトリガーされたときに実行される操作です。voidDefaultEditorKit.InsertTabAction. actionPerformed(ActionEvent e)このアクションがトリガーされたときに実行される操作です。voidDefaultEditorKit.PasteAction. actionPerformed(ActionEvent e)このアクションがトリガーされたときに実行される操作です。voidStyledEditorKit.AlignmentAction. actionPerformed(ActionEvent e)配置方法を設定します。voidStyledEditorKit.BoldAction. actionPerformed(ActionEvent e)太字属性を切り替えます。voidStyledEditorKit.FontFamilyAction. actionPerformed(ActionEvent e)フォント・ファミリを設定します。voidStyledEditorKit.FontSizeAction. actionPerformed(ActionEvent e)フォント・サイズを設定します。voidStyledEditorKit.ForegroundAction. actionPerformed(ActionEvent e)フォアグラウンド・カラーを設定します。voidStyledEditorKit.ItalicAction. actionPerformed(ActionEvent e)イタリック属性を切り替えます。voidStyledEditorKit.UnderlineAction. actionPerformed(ActionEvent e)下線属性を切り替えます。protected JEditorPaneStyledEditorKit.StyledTextAction. getEditor(ActionEvent e)アクションのターゲット・エディタを取得します。protected JTextComponentTextAction. getTextComponent(ActionEvent e)アクションに使用するコンポーネントを判定します。 -
javax.swing.text.htmlでのActionEventの使用
ActionEvent型のパラメータを持つjavax.swing.text.htmlのメソッド 修飾子と型 メソッド 説明 voidFormView. actionPerformed(ActionEvent evt)ActionEventを処理します。voidHTMLEditorKit.InsertHTMLTextAction. actionPerformed(ActionEvent ae)HTMLをドキュメントに挿入します。 -
javax.swing.treeでのActionEventの使用
ActionEvent型のパラメータを持つjavax.swing.treeのメソッド 修飾子と型 メソッド 説明 voidDefaultTreeCellEditor. actionPerformed(ActionEvent e)タイマーがトリガーされるとメッセージが送られ、編集中セッションが開始されます。
-