public static class StyledEditorKit.BoldAction extends StyledEditorKit.StyledTextAction
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
StyledEditorKit.BoldAction()
Creates an instance of
BoldAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent event)
Performs the action.
|
getEditor, getStyledDocument, getStyledEditorKit, setCharacterAttributes, setParagraphAttributes
augmentList, getFocusedComponent, getTextComponent
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public StyledEditorKit.BoldAction()
BoldAction
.public void actionPerformed(ActionEvent event)
event
- the ActionEvent
that describes the action