Scala Library
|
|
scala/swing/Action.scala
]
object
Action
extends
AnyRefMethod Summary | |
def
|
apply
(title : java.lang.String)(body : => Unit) : Action
Convenience method to create an action with a given title and body to run.
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Class Summary | |
trait
|
Trigger
extends AnyRef
Something that triggers an action.
|
Object Summary | |
case object
|
NoAction
extends Action with Product
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.
|
object
|
Trigger
extends AnyRef
|
Method Details |
def
apply(title : java.lang.String)(body : => Unit) : Action
Scala Library
|
|