Action

object Action
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

case object NoAction extends Action

Special action that has an empty title and all default properties and does nothing. Use this as a "null action", i.e., to tell components that they do not have any associated action. A component may then obtain its properties from its direct members instead of from its action. In Java Swing, one would use null instead of a designated action.

Special action that has an empty title and all default properties and does nothing. Use this as a "null action", i.e., to tell components that they do not have any associated action. A component may then obtain its properties from its direct members instead of from its action. In Java Swing, one would use null instead of a designated action.

trait Trigger

Something that triggers an action.

Something that triggers an action.

Value members

Concrete methods

def apply(title: String)(body: => Unit): Action

Convenience method to create an action with a given title and body to run.

Convenience method to create an action with a given title and body to run.