Class/Object

scala.swing

Action

Related Docs: object Action | package swing

Permalink

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

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Action
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Action(title0: String)

    Permalink

Abstract Value Members

  1. abstract def apply(): Unit

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def accelerator: Option[KeyStroke]

    Permalink

    For menus.

  5. def accelerator_=(k: Option[KeyStroke]): Unit

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def enabled: Boolean

    Permalink

    For all components.

  9. def enabled_=(b: Boolean): Unit

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def icon: Icon

    Permalink

    None if large icon and small icon are not equal.

  16. def icon_=(i: Icon): Unit

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def longDescription: String

    Permalink

    Can be used for status bars, for example.

  19. def longDescription_=(t: String): Unit

    Permalink
  20. def mnemonic: Int

    Permalink

    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.

  21. def mnemonic_=(m: Int): Unit

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. lazy val peer: javax.swing.Action

    Permalink
  26. def smallIcon: Icon

    Permalink
  27. def smallIcon_=(i: Icon): Unit

    Permalink
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def text: String

    Permalink

    Gets the NAME property.

  30. def text_=(t: String): Unit

    Permalink

    Sets the NAME property.

  31. def title: String

    Permalink

    An alias for text.

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

    See also

    text

  32. def title_=(t: String): Unit

    Permalink

    An alias for text_=.

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

  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. def toolTip: String

    Permalink

    For all components.

  35. def toolTip_=(t: String): Unit

    Permalink
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped