org.netbeans.modules.editor.lib2/1 1.60.0 31

org.netbeans.api.editor
Class EditorActionNames

java.lang.Object
  extended by org.netbeans.api.editor.EditorActionNames

public final class EditorActionNames
extends Object

Names of common editor actions. Clients can use the names constants e.g. for

Ideally all editor actions' names should be declared here.

Since:
1.13

Field Summary
static String gotoDeclaration
          Goto declaration depending on the context under the caret
static String moveCodeElementDown
          Move entire code elements (statements and class members) down.
static String moveCodeElementUp
          Move entire code elements (statements and class members) up.
static String removeSurroundingCode
          Remove the enclosing parts of a nested statement.
static String toggleLineNumbers
          Toggle visibility of line numbers
static String toggleNonPrintableCharacters
          Toggle visibility of non-printable characters.
static String toggleRectangularSelection
          Toggle between regular text selection and rectangular block selection when caret selects in a column mode.
static String toggleToolbar
          Toggle the visibility of the editor toolbar
static String transposeLetters
          Transpose letter at caret offset with the next one (useful when making typo).
static String zoomTextIn
          Zoom text in by increasing default font size.
static String zoomTextOut
          Zoom text out by decreasing default font size.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toggleToolbar

public static final String toggleToolbar
Toggle the visibility of the editor toolbar

See Also:
Constant Field Values

toggleLineNumbers

public static final String toggleLineNumbers
Toggle visibility of line numbers

See Also:
Constant Field Values

toggleNonPrintableCharacters

public static final String toggleNonPrintableCharacters
Toggle visibility of non-printable characters.

Since:
1.20
See Also:
Constant Field Values

gotoDeclaration

public static final String gotoDeclaration
Goto declaration depending on the context under the caret

See Also:
Constant Field Values

zoomTextIn

public static final String zoomTextIn
Zoom text in by increasing default font size.
textComponent.getClientProperty("text-zoom") contains positive (or negative) integer of how many points the font size should be increased (decreased).

Since:
1.45
See Also:
Constant Field Values

zoomTextOut

public static final String zoomTextOut
Zoom text out by decreasing default font size.

Since:
1.45
See Also:
#zoomInTextAction, Constant Field Values

toggleRectangularSelection

public static final String toggleRectangularSelection
Toggle between regular text selection and rectangular block selection when caret selects in a column mode.

See Also:
Constant Field Values

transposeLetters

public static final String transposeLetters
Transpose letter at caret offset with the next one (useful when making typo).

Since:
1.48
See Also:
Constant Field Values

moveCodeElementUp

public static final String moveCodeElementUp
Move entire code elements (statements and class members) up.

Since:
1.56
See Also:
Constant Field Values

moveCodeElementDown

public static final String moveCodeElementDown
Move entire code elements (statements and class members) down.

Since:
1.56
See Also:
Constant Field Values

removeSurroundingCode

public static final String removeSurroundingCode
Remove the enclosing parts of a nested statement.

Since:
1.57
See Also:
Constant Field Values

org.netbeans.modules.editor.lib2/1 1.60.0 31

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.