org.netbeans.api.editor
Class EditorUtilities
java.lang.Object
org.netbeans.api.editor.EditorUtilities
public final class EditorUtilities
- extends Object
Various utility methods related to editor.
- Since:
- 1.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAction
public static Action getAction(EditorKit editorKit,
String actionName)
- Find an action with the given name in the editor kit.
- Parameters:
editorKit
- non-null editor kit in which search is performed.actionName
- non-null action name to search for.
- Returns:
- action instance with the given name or null if action not found.