javax.swing.text

Class StyledEditorKit.BoldAction

public static class StyledEditorKit.BoldAction extends StyledEditorKit.StyledTextAction

Toggles the bold attribute for the selected text.
Constructor Summary
BoldAction()
Creates an instance of BoldAction.
Method Summary
voidactionPerformed(ActionEvent event)
Performs the action.

Constructor Detail

BoldAction

public BoldAction()
Creates an instance of BoldAction.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Performs the action.

Parameters: event the ActionEvent that describes the action