NoAction

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 Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Action
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type MirroredMonoType = Singleton
Inherited from
Singleton
type MirroredType = Singleton
Inherited from
Singleton

Value members

Concrete methods

def apply(): Unit

Inherited methods

def accelerator: Option[KeyStroke]

For menus.

For menus.

Inherited from
Action
def accelerator_=(k: Option[KeyStroke]): Unit
Inherited from
Action
def enabled: Boolean

For all components.

For all components.

Inherited from
Action
def enabled_=(b: Boolean): Unit
Inherited from
Action
def fromProduct(p: Product): MirroredMonoType
Inherited from
Singleton
def icon: Icon

None if large icon and small icon are not equal.

None if large icon and small icon are not equal.

Inherited from
Action
def icon_=(i: Icon): Unit
Inherited from
Action
def longDescription: String

Can be used for status bars, for example.

Can be used for status bars, for example.

Inherited from
Action
def longDescription_=(t: String): Unit
Inherited from
Action
def mnemonic: Int

Default: java.awt.event.KeyEvent.VK_UNDEFINED, i.e., no mnemonic key. For all buttons and thus menu items.

Default: java.awt.event.KeyEvent.VK_UNDEFINED, i.e., no mnemonic key. For all buttons and thus menu items.

Inherited from
Action
def mnemonic_=(m: Int): Unit
Inherited from
Action
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def smallIcon: Icon
Inherited from
Action
def smallIcon_=(i: Icon): Unit
Inherited from
Action
def text: String

Gets the NAME property.

Gets the NAME property.

Inherited from
Action
def text_=(t: String): Unit

Sets the NAME property.

Sets the NAME property.

Inherited from
Action
def title: String

An alias for text. This is kept for backwards compatibility.

An alias for text. This is kept for backwards compatibility.

See also
Inherited from
Action
def title_=(t: String): Unit

An alias for text_=. This is kept for backwards compatibility.

An alias for text_=. This is kept for backwards compatibility.

Inherited from
Action
def toolTip: String

For all components.

For all components.

Inherited from
Action
def toolTip_=(t: String): Unit
Inherited from
Action

Inherited fields

lazy val peer: Action
Inherited from
Action