javax.swing.text

Class DefaultEditorKit.InsertContentAction

public static class DefaultEditorKit.InsertContentAction extends TextAction

Places content into the associated editor. If there currently is a selection, this selection is replaced.
Constructor Summary
InsertContentAction()
Creates a new InsertContentAction.
Method Summary
voidactionPerformed(ActionEvent event)
Performs the Action.

Constructor Detail

InsertContentAction

public InsertContentAction()
Creates a new InsertContentAction.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Performs the Action.

Parameters: event the action event describing the user action