public static class StyledEditorKit.FontSizeAction extends StyledEditorKit.StyledTextAction
| Constructor and Description |
|---|
StyledEditorKit.FontSizeAction(java.lang.String nm,
int size)
Creates a new instance of
FontSizeAction to set the
font size to size. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Performs the action.
|
getEditor, getStyledDocument, getStyledEditorKit, setCharacterAttributes, setParagraphAttributesaugmentList, getFocusedComponent, getTextComponentpublic StyledEditorKit.FontSizeAction(java.lang.String nm, int size)
FontSizeAction to set the
font size to size.nm - the name of the Actionsize - the font size to setpublic void actionPerformed(java.awt.event.ActionEvent event)
event - the ActionEvent that describes the action