javax.swing.text

Class StyledEditorKit.ItalicAction

public static class StyledEditorKit.ItalicAction extends StyledEditorKit.StyledTextAction

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

Constructor Detail

ItalicAction

public ItalicAction()
Creates an instance of ItalicAction.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Performs the action.

Parameters: event the ActionEvent that describes the action