Packages

o

scala.swing.Action

NoAction

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.

Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, Action, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoAction
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Action
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def accelerator: Option[KeyStroke]

    For menus.

    For menus.

    Definition Classes
    Action
  2. def accelerator_=(k: Option[KeyStroke]): Unit
    Definition Classes
    Action
  3. def apply(): Unit
    Definition Classes
    NoActionAction
  4. def enabled: Boolean

    For all components.

    For all components.

    Definition Classes
    Action
  5. def enabled_=(b: Boolean): Unit
    Definition Classes
    Action
  6. 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
  7. def icon_=(i: Icon): Unit
    Definition Classes
    Action
  8. def longDescription: String

    Can be used for status bars, for example.

    Can be used for status bars, for example.

    Definition Classes
    Action
  9. def longDescription_=(t: String): Unit
    Definition Classes
    Action
  10. 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
  11. def mnemonic_=(m: Int): Unit
    Definition Classes
    Action
  12. lazy val peer: javax.swing.Action
    Definition Classes
    Action
  13. def smallIcon: Icon
    Definition Classes
    Action
  14. def smallIcon_=(i: Icon): Unit
    Definition Classes
    Action
  15. def title: String

    Title is not optional.

    Title is not optional.

    Definition Classes
    Action
  16. def title_=(t: String): Unit
    Definition Classes
    Action
  17. def toolTip: String

    For all components.

    For all components.

    Definition Classes
    Action
  18. def toolTip_=(t: String): Unit
    Definition Classes
    Action