|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractAction
javax.swing.text.TextAction
javax.swing.text.StyledEditorKit.StyledTextAction
javax.swing.text.StyledEditorKit.FontSizeAction
public static class StyledEditorKit.FontSizeAction
Sets the font size attribute on the selected text.
| Field Summary |
|---|
| 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.FontSizeAction(String nm,
int size)
Creates a new instance of FontSizeAction to set the
font size to size. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(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 |
| Constructor Detail |
|---|
public StyledEditorKit.FontSizeAction(String nm,
int size)
FontSizeAction to set the
font size to size.
nm - the name of the Actionsize - the font size to set| Method Detail |
|---|
public void actionPerformed(ActionEvent event)
event - the ActionEvent that describes the action
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||