- java.lang.Object
 -  
      
- javax.swing.AbstractAction
 -  
        
- javax.swing.text.TextAction
 -  
          
- javax.swing.text.StyledEditorKit.StyledTextAction
 -  
            
- javax.swing.text.StyledEditorKit.FontFamilyAction
 
 
 
 
 
-  
       
- 实现的所有接口
 -  
         
ActionListener,Serializable,Cloneable,EventListener,Action 
- Enclosing class:
 - StyledEditorKit
 
public static class StyledEditorKit.FontFamilyAction extends StyledEditorKit.StyledTextAction
在关联的JEditorPane中设置字体系列的操作。 这将使用在ActionEvent上指定为命令字符串的系列(如果有),否则将使用已初始化的系列。警告:此类的序列化对象与以后的Swing版本不兼容。 当前的序列化支持适用于运行相同版本Swing的应用程序之间的短期存储或RMI。 从1.4开始,对
java.beans软件包中添加了对所有JavaBeansjava.beans长期存储的支持。 请参阅XMLEncoder。- 另请参见:
 - Serialized Form
 
 
-  
        
       
-  
             
字段汇总
-  
               
声明的属性在类 javax.swing.AbstractAction
changeSupport, enabled 
-  
               
Fields declared in interface 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 
 -  
               
 
-  
             
构造方法摘要
构造方法 构造器 描述 FontFamilyAction(String nm, String family)创建一个新的FontFamilyAction。 
-  
             
方法摘要
所有方法 实例方法 具体的方法 变量和类型 方法 描述 voidactionPerformed(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 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
方法详细信息
-  
actionPerformed
public void actionPerformed(ActionEvent e)
设置字体系列。- 参数
 -  
              
e- 活动 
 
 -  
 
 -