public static class BasicEditorKit.BeginLineAction extends BasicEditorKit.NavigateAction
BeginLineAction
implementation of the action for
moving the caret to the begining of a line, possibly extending
the selection.Constructor and Description |
---|
BasicEditorKit.BeginLineAction(java.lang.String actionName,
boolean performSelect)
Constructs this object with the appropriate action name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
navigatePerformed(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
The navigation to perform when this action is triggered.
|
actionPerformed, doSelect
actionPerformed, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, lock, setMagicCaretPosition, showMessage, skipLeadingIndent, unlock
augmentList, getFocusedComponent, getTextComponent
public BasicEditorKit.BeginLineAction(java.lang.String actionName, boolean performSelect)
actionName
- the name of the navigation actionperformSelect
- true to perform selection while navigatingprotected void navigatePerformed(java.awt.event.ActionEvent event, BasicEditorPane editor, BasicDocument document)
navigatePerformed
in class BasicEditorKit.NavigateAction
event
- the action eventeditor
- the editor his action was invoked indocument
- the document associated with the editor