case 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
- Product
- Equals
- Action
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def accelerator: Option[KeyStroke]
For menus.
For menus.
- Definition Classes
- Action
- def accelerator_=(k: Option[KeyStroke]): Unit
- Definition Classes
- Action
- def apply(): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def enabled: Boolean
For all components.
For all components.
- Definition Classes
- Action
- def enabled_=(b: Boolean): Unit
- Definition Classes
- Action
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val peer: javax.swing.Action
- Definition Classes
- Action
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def smallIcon: Icon
- Definition Classes
- Action
- def smallIcon_=(i: Icon): Unit
- Definition Classes
- Action
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text: String
Gets the
NAME
property.Gets the
NAME
property.- Definition Classes
- Action
- def text_=(t: String): Unit
Sets the
NAME
property.Sets the
NAME
property.- Definition Classes
- Action
- def title: String
An alias for
text
. - def title_=(t: String): Unit
An alias for
text_=
.An alias for
text_=
. This is kept for backwards compatibility.- Definition Classes
- Action
- def toolTip: String
For all components.
For all components.
- Definition Classes
- Action
- def toolTip_=(t: String): Unit
- Definition Classes
- Action
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()