Available Methods
- pasteAction ( )
- selectionBeginAction ( )
- cutAction ( )
- nextWordAction ( )
- endLineAction ( )
- selectionBackwardAction ( )
- endAction ( )
- upAction ( )
- deleteNextCharAction ( )
- selectionEndAction ( )
- selectAllAction ( )
- selectionNextWordAction ( )
- selectionForwardAction ( )
- downAction ( )
- selectionPreviousWordAction ( )
- beginAction ( )
- forwardAction ( )
- backwardAction ( )
- pageUpAction ( )
- copyAction ( )
- previousWordAction ( )
- pageDownAction ( )
- deletePrevCharAction ( )
- insertBreakAction ( )
- selectionBeginLineAction ( )
- selectionDownAction ( )
- selectionEndLineAction ( )
- deletePrevWordAction ( )
- beginLineAction ( )
- insertTabAction ( )
- deleteNextWordAction ( )
- selectionUpAction ( )
Related Classes
- java.util.Objects
- java.util.logging.Level
- java.awt.Color
- java.awt.event.ActionEvent
- java.awt.event.ActionListener
- javax.swing.JPanel
- java.awt.Dimension
- javax.annotation.Nonnull
- java.awt.Font
- java.awt.event.MouseEvent
- java.awt.event.KeyEvent
- java.awt.BorderLayout
- javax.swing.JScrollPane
- java.security.AccessController
- java.awt.Toolkit
- javax.swing.JTextField
- javax.swing.SwingUtilities
- java.awt.event.MouseAdapter
- javax.swing.JComponent
- javax.swing.UIManager
- javax.swing.JTextArea
- javax.swing.JMenuItem
- javax.swing.BorderFactory
- javax.swing.SwingConstants
- javax.swing.KeyStroke
Java Code Examples for javax.swing.text.DefaultEditorKit#insertBreakAction()
The following examples show how to use
javax.swing.text.DefaultEditorKit#insertBreakAction() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TextRegionManager.java From netbeans with Apache License 2.0 | 6 votes |
private static String actionType2Name(int actionType) { switch (actionType) { case TAB: return BaseKit.insertTabAction; case SHIFT_TAB: return BaseKit.removeTabAction; case ENTER: return DefaultEditorKit.insertBreakAction; default: throw new IllegalArgumentException(); } }