JavaTM 2 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。從 1.4 版本開始,已在 java.beans 套件中添加了支持所有 JavaBeansTM 長期存儲的功能。請參見 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 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only