|
|||||||||
Home >> All >> javax >> swing >> [ text overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
javax.swing.text
Class StyledEditorKit.FontFamilyAction

java.lang.Objectjavax.swing.AbstractAction
javax.swing.text.TextAction
javax.swing.text.StyledEditorKit.StyledTextAction
javax.swing.text.StyledEditorKit.FontFamilyAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- Enclosing class:
- StyledEditorKit
- public static class StyledEditorKit.FontFamilyAction
- extends StyledEditorKit.StyledTextAction
Sets the font family attribute on the selected text.
Field Summary | |
private java.lang.String |
family
The font family to set. |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
StyledEditorKit.FontFamilyAction(java.lang.String nm,
java.lang.String family)
Creates a new instance of FontFamilyAction to set the
font family to family . |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
Performs the action. |
Methods inherited from class javax.swing.text.StyledEditorKit.StyledTextAction |
getEditor, getStyledDocument, getStyledEditorKit, setCharacterAttributes, setParagraphAttributes |
Methods inherited from class javax.swing.text.TextAction |
augmentList, getFocusedComponent, getTextComponent |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
family
private java.lang.String family
- The font family to set.
Constructor Detail |
StyledEditorKit.FontFamilyAction
public StyledEditorKit.FontFamilyAction(java.lang.String nm, java.lang.String family)
- Creates a new instance of
FontFamilyAction
to set the font family tofamily
.
Method Detail |
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- Performs the action.
|
|||||||||
Home >> All >> javax >> swing >> [ text overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |