org.netbeans.modules.editor/3 1.42.0 3

org.netbeans.modules.editor
Class NbEditorKit.NbToggleLineNumbersAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by javax.swing.text.TextAction
          extended by org.netbeans.editor.BaseAction
              extended by org.netbeans.editor.ActionFactory.ToggleLineNumbersAction
                  extended by org.netbeans.modules.editor.NbEditorKit.NbToggleLineNumbersAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
NbEditorKit

public static class NbEditorKit.NbToggleLineNumbersAction
extends ActionFactory.ToggleLineNumbersAction

Switch visibility of line numbers in editor

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.netbeans.editor.BaseAction
ABBREV_RESET, CLEAR_STATUS_TEXT, ICON_RESOURCE_PROPERTY, LOCALE_DESC_PREFIX, LOCALE_POPUP_PREFIX, MAGIC_POSITION_RESET, NO_KEYBINDING, NO_RECORDING, POPUP_MENU_TEXT, SAVE_POSITION, SELECTION_REMOVE, UNDO_MERGE_RESET, updateMask, WORD_MATCH_RESET
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
NbEditorKit.NbToggleLineNumbersAction()
           
 
Method Summary
protected  Class getShortDescriptionBundleClass()
           
protected  boolean isLineNumbersVisible()
           
protected  void toggleLineNumbers()
           
 
Methods inherited from class org.netbeans.editor.ActionFactory.ToggleLineNumbersAction
actionPerformed, getPopupMenuItem
 
Methods inherited from class org.netbeans.editor.BaseAction
actionPerformed, asynchonous, createDefaultValue, findValue, getDefaultShortDescription, getPopupMenuText, getValue, updateComponent, updateComponent
 
Methods inherited from class javax.swing.text.TextAction
augmentList, getFocusedComponent, getTextComponent
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NbEditorKit.NbToggleLineNumbersAction

public NbEditorKit.NbToggleLineNumbersAction()
Method Detail

isLineNumbersVisible

protected boolean isLineNumbersVisible()
Overrides:
isLineNumbersVisible in class ActionFactory.ToggleLineNumbersAction

toggleLineNumbers

protected void toggleLineNumbers()
Overrides:
toggleLineNumbers in class ActionFactory.ToggleLineNumbersAction

getShortDescriptionBundleClass

protected Class getShortDescriptionBundleClass()
Overrides:
getShortDescriptionBundleClass in class BaseAction

org.netbeans.modules.editor/3 1.42.0 3

Built on December 3 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.