JavaTM Platform
Standard Ed. 6

javax.swing.text
クラス StyledEditorKit.BoldAction

java.lang.Object
  上位を拡張 javax.swing.AbstractAction
      上位を拡張 javax.swing.text.TextAction
          上位を拡張 javax.swing.text.StyledEditorKit.StyledTextAction
              上位を拡張 javax.swing.text.StyledEditorKit.BoldAction
すべての実装されたインタフェース:
ActionListener, Serializable, Cloneable, EventListener, Action
含まれているクラス:
StyledEditorKit

public static class StyledEditorKit.BoldAction
extends StyledEditorKit.StyledTextAction

ボールド属性を切り替えるアクションです。

警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。JDK Version 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
 
コンストラクタの概要
StyledEditorKit.BoldAction()
          新しい BoldAction を構築します。
 
メソッドの概要
 void actionPerformed(ActionEvent e)
          ボールド属性を切り替えます。
 
クラス 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
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

StyledEditorKit.BoldAction

public StyledEditorKit.BoldAction()
新しい BoldAction を構築します。

メソッドの詳細

actionPerformed

public void actionPerformed(ActionEvent e)
ボールド属性を切り替えます。

パラメータ:
e - アクションイベント

JavaTM Platform
Standard Ed. 6

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

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