WrappedAction
org.nlogo.swing.WrappedAction
class WrappedAction(base: Action, menu: String, group: String, accelerator: KeyStroke) extends Action
The purpose of this class is to allow an action which doesn't know about the NetLogo menu system to be placed into a NetLogo menu. It's especially important in cases where the action is defined by somewhere which doesn't (or can't) know about the various keys in UserAction. This includes packages which aren't allowed to depend on org.nlogo.swing (editor, for instance) or external libraries which provide actions (swing or RSyntaxTextArea)
Attributes
- Source
- WrappedAction.scala
- Graph
-
- Supertypes
-
trait Actiontrait ActionListenertrait EventListenerclass Objecttrait Matchableclass Any
- Known subtypes
-
class WrappedPasteAction
Members list
In this article