object NoAction extends Action with Product with Serializable
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.
- Alphabetic
- By Inheritance
- NoAction
- Serializable
- Serializable
- Product
- Equals
- Action
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
accelerator: Option[KeyStroke]
For menus.
For menus.
- Definition Classes
- Action
-
def
accelerator_=(k: Option[KeyStroke]): Unit
- Definition Classes
- Action
- def apply(): Unit
-
def
enabled: Boolean
For all components.
For all components.
- Definition Classes
- Action
-
def
enabled_=(b: Boolean): Unit
- Definition Classes
- Action
-
def
icon: Icon
None if large icon and small icon are not equal.
None if large icon and small icon are not equal.
- Definition Classes
- Action
-
def
icon_=(i: Icon): Unit
- Definition Classes
- Action
-
def
longDescription: String
Can be used for status bars, for example.
Can be used for status bars, for example.
- Definition Classes
- Action
-
def
longDescription_=(t: String): Unit
- Definition Classes
- Action
-
def
mnemonic: Int
Default: java.awt.event.KeyEvent.VK_UNDEFINED, i.e., no mnemonic key.
Default: java.awt.event.KeyEvent.VK_UNDEFINED, i.e., no mnemonic key. For all buttons and thus menu items.
- Definition Classes
- Action
-
def
mnemonic_=(m: Int): Unit
- Definition Classes
- Action
-
lazy val
peer: javax.swing.Action
- Definition Classes
- Action
-
def
smallIcon: Icon
- Definition Classes
- Action
-
def
smallIcon_=(i: Icon): Unit
- Definition Classes
- Action
-
def
title: String
Title is not optional.
Title is not optional.
- Definition Classes
- Action
-
def
title_=(t: String): Unit
- Definition Classes
- Action
-
def
toolTip: String
For all components.
For all components.
- Definition Classes
- Action
-
def
toolTip_=(t: String): Unit
- Definition Classes
- Action