javax.swing.text

Class StyledEditorKit.UnderlineAction

public static class StyledEditorKit.UnderlineAction extends StyledEditorKit.StyledTextAction

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

Constructor Detail

UnderlineAction

public UnderlineAction()
Creates an instance of UnderlineAction.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Performs the action.

Parameters: event the ActionEvent that describes the action