# Uses of Class
javax.swing.text.TextAction

Packages that use TextAction
Package
Description
javax.swing.text
Provides classes and interfaces that deal with editable and noneditable text components.
javax.swing.text.html
Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.

## Uses of TextAction in javax.swing.text

Subclasses of TextAction in javax.swing.text
Modifier and Type
Class
Description
`static class`
`DefaultEditorKit.BeepAction`
Creates a beep.
`static class`
`DefaultEditorKit.CopyAction`
Copies the selected region and place its contents into the system clipboard.
`static class`
`DefaultEditorKit.CutAction`
Cuts the selected region and place its contents into the system clipboard.
`static class`
`DefaultEditorKit.DefaultKeyTypedAction`
The action that is executed by default if a key typed event is received and there is no keymap entry.
`static class`
`DefaultEditorKit.InsertBreakAction`
Places a line/paragraph break into the document.
`static class`
`DefaultEditorKit.InsertContentAction`
Places content into the associated document.
`static class`
`DefaultEditorKit.InsertTabAction`
Places a tab character into the document.
`static class`
`DefaultEditorKit.PasteAction`
Pastes the contents of the system clipboard into the selected region, or before the caret if nothing is selected.
`static class`
`StyledEditorKit.AlignmentAction`
An action to set paragraph alignment.
`static class`
`StyledEditorKit.BoldAction`
An action to toggle the bold attribute.
`static class`
`StyledEditorKit.FontFamilyAction`
An action to set the font family in the associated JEditorPane.
`static class`
`StyledEditorKit.FontSizeAction`
An action to set the font size in the associated JEditorPane.
`static class`
`StyledEditorKit.ForegroundAction`
An action to set foreground color.
`static class`
`StyledEditorKit.ItalicAction`
An action to toggle the italic attribute.
`static class`
`StyledEditorKit.StyledTextAction`
An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.
`static class`
`StyledEditorKit.UnderlineAction`
An action to toggle the underline attribute.

## Uses of TextAction in javax.swing.text.html

Subclasses of TextAction in javax.swing.text.html
Modifier and Type
Class
Description
`static class`
`HTMLEditorKit.HTMLTextAction`
An abstract Action providing some convenience methods that may be useful in inserting HTML into an existing document.
`static class`
`HTMLEditorKit.InsertHTMLTextAction`
InsertHTMLTextAction can be used to insert an arbitrary string of HTML into an existing HTML document.