org.netbeans.modules.editor.lib2/1 1.43.1 10

org.netbeans.api.editor
Class EditorUtilities

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

public final class EditorUtilities
extends Object

Various utility methods related to editor.

Since:
1.13

Method Summary
static Action getAction(EditorKit editorKit, String actionName)
          Find an action with the given name in the editor kit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.

org.netbeans.modules.editor.lib2/1 1.43.1 10

Built on October 11 2012.  |  Portions Copyright 1997-2012 Sun Microsystems, Inc. All rights reserved.