abstract class Action extends AnyRef
An abstract action to be performed in reaction to user input.
Not every action component will honor every property of its action. An action itself can generally be configured so that certain properties should be ignored and instead taken from the component directly. In the end, it is up to a component which property it uses in which way.
- See also
javax.swing.Action
- Alphabetic
- By Inheritance
- Action
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Action(title0: String)
Abstract Value Members
- abstract def apply(): Unit
Concrete 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.
- def accelerator_=(k: Option[KeyStroke]): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
enabled: Boolean
For all components.
- def enabled_=(b: Boolean): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
icon: Icon
None if large icon and small icon are not equal.
- def icon_=(i: Icon): Unit
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
longDescription: String
Can be used for status bars, for example.
- def longDescription_=(t: String): Unit
-
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.
- def mnemonic_=(m: Int): Unit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- lazy val peer: javax.swing.Action
- def smallIcon: Icon
- def smallIcon_=(i: Icon): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
title: String
Title is not optional.
- def title_=(t: String): Unit
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toolTip: String
For all components.
- def toolTip_=(t: String): Unit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )