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 Action
trait ActionListener
trait EventListener
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

override def actionPerformed(e: ActionEvent): Unit

Attributes

Definition Classes
ActionListener
Source
WrappedAction.scala
override def addPropertyChangeListener(listener: PropertyChangeListener): Unit

Attributes

Definition Classes
Action
Source
WrappedAction.scala
override def getValue(k: String): AnyRef

Attributes

Definition Classes
Action
Source
WrappedAction.scala
override def isEnabled: Boolean

Attributes

Definition Classes
Action
Source
WrappedAction.scala
override def putValue(k: String, v: AnyRef): Unit

Attributes

Definition Classes
Action
Source
WrappedAction.scala
def removePropertyChangeListener(listener: PropertyChangeListener): Unit

Attributes

Source
WrappedAction.scala
def setEnabled(isEnabled: Boolean): Unit

Attributes

Source
WrappedAction.scala

Inherited methods

def accept(x$0: <FromJavaObject>): Boolean

Attributes

Inherited from:
Action

Concrete fields

val wrappedValues: Map[String, AnyRef]

Attributes

Source
WrappedAction.scala