scala.swing

Action

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.

Source
Action.scala
See also

javax.swing.Action

Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Action
  2. AnyRef
  3. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Action(title0: String)

Abstract Value Members

  1. abstract def apply(): Unit

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Action to StringAdd[Action] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Action, B)

    Implicit information
    This member is added by an implicit conversion from Action to ArrowAssoc[Action] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def accelerator: Option[KeyStroke]

    For menus.

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

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

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

    For all components.

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

  14. def ensuring(cond: (Action) ⇒ Boolean, msg: ⇒ Any): Action

    Implicit information
    This member is added by an implicit conversion from Action to Ensuring[Action] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Action) ⇒ Boolean): Action

    Implicit information
    This member is added by an implicit conversion from Action to Ensuring[Action] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): Action

    Implicit information
    This member is added by an implicit conversion from Action to Ensuring[Action] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Action

    Implicit information
    This member is added by an implicit conversion from Action to Ensuring[Action] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from Action to StringFormat[Action] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  24. def icon: Icon

    None if large icon and small icon are not equal.

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

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def longDescription: String

    Can be used for status bars, for example.

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

  29. def mnemonic: Int

    Default: java.

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

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

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. lazy val peer: javax.swing.Action

  35. def smallIcon: Icon

  36. def smallIcon_=(i: Icon): Unit

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

    Definition Classes
    AnyRef
  38. def title: String

    Title is not optional.

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

  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def toolTip: String

    For all components.

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

  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. def [B](y: B): (Action, B)

    Implicit information
    This member is added by an implicit conversion from Action to ArrowAssoc[Action] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from Action to StringAdd[Action]

Inherited by implicit conversion StringFormat from Action to StringFormat[Action]

Inherited by implicit conversion Ensuring from Action to Ensuring[Action]

Inherited by implicit conversion ArrowAssoc from Action to ArrowAssoc[Action]

Ungrouped