当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
NbEditorKit.GenerateFoldPopupAction (Editor Module) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.editor
Class NbEditorKit.GenerateFoldPopupAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
org.netbeans.editor.BaseAction
org.netbeans.modules.editor.NbEditorKit.GenerateFoldPopupAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- NbEditorKit
public static class NbEditorKit.GenerateFoldPopupAction
- extends BaseAction
- See Also:
- Serialized Form
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 |
NbEditorKit.GenerateFoldPopupAction
public NbEditorKit.GenerateFoldPopupAction()
getShortDescriptionBundleClass
protected Class getShortDescriptionBundleClass()
- Overrides:
getShortDescriptionBundleClass
in class BaseAction
actionPerformed
public void actionPerformed(ActionEvent evt,
JTextComponent target)
- Specified by:
actionPerformed
in class BaseAction
getItemText
protected String getItemText(JTextComponent target,
String actionName,
Action a)
addAction
protected void addAction(JTextComponent target,
JMenu menu,
String actionName)
setAddSeparatorBeforeNextAction
protected void setAddSeparatorBeforeNextAction(boolean addSeparator)
addAdditionalItems
protected void addAdditionalItems(JTextComponent target,
JMenu menu)
getPopupMenuItem
public JMenuItem getPopupMenuItem(JTextComponent target)
- Overrides:
getPopupMenuItem
in class BaseAction