class Menu extends MenuItem with Wrapper

A menu. Contains menu items. Being a menu item itself, menus can be nested.

Self Type
Menu
See also

javax.swing.JMenu

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Menu
  2. Wrapper
  3. Wrapper
  4. SequentialContainer
  5. Container
  6. MenuItem
  7. AbstractButton
  8. Wrapper
  9. Trigger
  10. Component
  11. UIElement
  12. LazyPublisher
  13. Publisher
  14. Reactor
  15. Proxy
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Menu(title0: String)

Value Members

  1. object keys extends Publisher
    Definition Classes
    Component
  2. object mouse

    Contains publishers for various mouse events.

    Contains publishers for various mouse events. They are separated for efficiency reasons.

    Definition Classes
    Component
  3. def action: Action
    Definition Classes
    WrapperTrigger
  4. def action_=(a: Action): Unit
    Definition Classes
    WrapperTrigger
  5. def background: Color
    Definition Classes
    UIElement
  6. def background_=(c: Color): Unit
    Definition Classes
    UIElement
  7. def border: Border
    Definition Classes
    Component
  8. def borderPainted: Boolean
    Definition Classes
    AbstractButton
  9. def borderPainted_=(b: Boolean): Unit
    Definition Classes
    AbstractButton
  10. def border_=(b: Border): Unit
    Definition Classes
    Component
  11. def bounds: Rectangle
    Definition Classes
    UIElement
  12. def componentOrientation: ComponentOrientation
    Definition Classes
    UIElement
  13. def componentOrientation_=(x: ComponentOrientation): Unit
    Definition Classes
    UIElement
  14. def contentAreaFilled: Boolean
    Definition Classes
    AbstractButton
  15. def contentAreaFilled_=(b: Boolean): Unit
    Definition Classes
    AbstractButton
  16. val contents: Buffer[Component]

    The child components of this container.

    The child components of this container.

    Definition Classes
    WrapperWrapperSequentialContainerContainer
  17. def cursor: Cursor
    Definition Classes
    UIElement
  18. def cursor_=(c: Cursor): Unit
    Definition Classes
    UIElement
  19. def deafTo(ps: Publisher*): Unit

    Installed reaction won't receive events from the given publisher anylonger.

    Installed reaction won't receive events from the given publisher anylonger.

    Definition Classes
    Reactor
  20. def disabledIcon: Icon
    Definition Classes
    AbstractButton
  21. def disabledIcon_=(i: Icon): Unit
    Definition Classes
    AbstractButton
  22. def disabledSelectedIcon: Icon
    Definition Classes
    AbstractButton
  23. def disabledSelectedIcon_=(i: Icon): Unit
    Definition Classes
    AbstractButton
  24. def displayable: Boolean
    Definition Classes
    UIElement
  25. def displayedMnemonicIndex: Int
    Definition Classes
    AbstractButton
  26. def displayedMnemonicIndex_=(n: Int): Unit
    Definition Classes
    AbstractButton
  27. def doClick(times: Int): Unit
    Definition Classes
    AbstractButton
  28. def doClick(): Unit
    Definition Classes
    AbstractButton
  29. def enabled: Boolean
    Definition Classes
    Component
  30. def enabled_=(b: Boolean): Unit
    Definition Classes
    Component
  31. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  32. def focusPainted: Boolean
    Definition Classes
    AbstractButton
  33. def focusPainted_=(b: Boolean): Unit
    Definition Classes
    AbstractButton
  34. def focusable: Boolean
    Definition Classes
    Component
  35. def focusable_=(b: Boolean): Unit
    Definition Classes
    Component
  36. def font: Font
    Definition Classes
    UIElement
  37. def font_=(f: Font): Unit
    Definition Classes
    UIElement
  38. def foreground: Color
    Definition Classes
    UIElement
  39. def foreground_=(c: Color): Unit
    Definition Classes
    UIElement
  40. def hasFocus: Boolean
    Definition Classes
    Component
  41. def hashCode(): Int
    Definition Classes
    Proxy → Any
  42. def horizontalAlignment: Alignment.Value
    Definition Classes
    AbstractButton
  43. def horizontalAlignment_=(a: Alignment.Value): Unit
    Definition Classes
    AbstractButton
  44. def horizontalTextPosition: Alignment.Value
    Definition Classes
    AbstractButton
  45. def horizontalTextPosition_=(a: Alignment.Value): Unit
    Definition Classes
    AbstractButton
  46. def icon: Icon
    Definition Classes
    AbstractButton
  47. def iconTextGap: Int
    Definition Classes
    AbstractButton
  48. def iconTextGap_=(x: Int): Unit
    Definition Classes
    AbstractButton
  49. def icon_=(i: Icon): Unit
    Definition Classes
    AbstractButton
  50. def ignoreRepaint: Boolean
    Definition Classes
    UIElement
  51. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  52. var initP: JComponent
    Definition Classes
    Component
  53. def inputVerifier: (Component) ⇒ Boolean
    Definition Classes
    Component
  54. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit
    Definition Classes
    Component
  55. def listenTo(ps: Publisher*): Unit

    Listen to the given publisher as long as deafTo isn't called for them.

    Listen to the given publisher as long as deafTo isn't called for them.

    Definition Classes
    Reactor
  56. def locale: Locale
    Definition Classes
    UIElement
  57. def location: Point
    Definition Classes
    UIElement
  58. def locationOnScreen: Point
    Definition Classes
    UIElement
  59. def margin: Insets
    Definition Classes
    AbstractButton
  60. def margin_=(i: Insets): Unit
    Definition Classes
    AbstractButton
  61. def maximumSize: Dimension
    Definition Classes
    UIElement
  62. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  63. def minimumSize: Dimension
    Definition Classes
    UIElement
  64. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  65. def mnemonic: event.Key.Value
    Definition Classes
    AbstractButton
  66. def mnemonic_=(k: event.Key.Value): Unit
    Definition Classes
    AbstractButton
  67. def multiClickThreshold: Long
    Definition Classes
    AbstractButton
  68. def multiClickThreshold_=(n: Long): Unit
    Definition Classes
    AbstractButton
  69. def name: String
    Definition Classes
    Component
  70. def name_=(s: String): Unit
    Definition Classes
    Component
  71. def opaque: Boolean
    Definition Classes
    Component
  72. def opaque_=(b: Boolean): Unit
    Definition Classes
    Component
  73. def paint(g: Graphics2D): Unit
    Definition Classes
    Component
  74. lazy val peer: JMenu

    The underlying Swing peer.

    The underlying Swing peer.

    Definition Classes
    MenuWrapperMenuItemAbstractButtonWrapperComponentUIElement
  75. def preferredSize: Dimension
    Definition Classes
    UIElement
  76. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  77. def pressedIcon: Icon
    Definition Classes
    AbstractButton
  78. def pressedIcon_=(i: Icon): Unit
    Definition Classes
    AbstractButton
  79. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  80. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  81. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  82. def repaint(): Unit
    Definition Classes
    UIElement
  83. def requestFocus(): Unit
    Definition Classes
    Component
  84. def requestFocusInWindow(): Boolean
    Definition Classes
    Component
  85. def revalidate(): Unit
    Definition Classes
    Component
  86. def rolloverEnabled: Boolean
    Definition Classes
    AbstractButton
  87. def rolloverEnabled_=(b: Boolean): Unit
    Definition Classes
    AbstractButton
  88. def rolloverIcon: Icon
    Definition Classes
    AbstractButton
  89. def rolloverIcon_=(b: Icon): Unit
    Definition Classes
    AbstractButton
  90. def rolloverSelectedIcon: Icon
    Definition Classes
    AbstractButton
  91. def rolloverSelectedIcon_=(b: Icon): Unit
    Definition Classes
    AbstractButton
  92. def selected: Boolean
    Definition Classes
    AbstractButton
  93. def selectedIcon: Icon
    Definition Classes
    AbstractButton
  94. def selectedIcon_=(i: Icon): Unit
    Definition Classes
    AbstractButton
  95. def selected_=(b: Boolean): Unit
    Definition Classes
    AbstractButton
  96. def self: java.awt.Component
    Definition Classes
    UIElement → Proxy
  97. def showing: Boolean
    Definition Classes
    UIElement
  98. def size: Dimension
    Definition Classes
    UIElement
  99. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  100. def text: String
    Definition Classes
    AbstractButton
  101. def text_=(s: String): Unit
    Definition Classes
    AbstractButton
  102. def toString(): String
    Definition Classes
    Component → Proxy → AnyRef → Any
  103. def toolkit: Toolkit
    Definition Classes
    UIElement
  104. def tooltip: String
    Definition Classes
    Component
  105. def tooltip_=(t: String): Unit
    Definition Classes
    Component
  106. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  107. def validate(): Unit
    Definition Classes
    UIElement
  108. def verticalAlignment: Alignment.Value
    Definition Classes
    AbstractButton
  109. def verticalAlignment_=(a: Alignment.Value): Unit
    Definition Classes
    AbstractButton
  110. def verticalTextPosition: Alignment.Value
    Definition Classes
    AbstractButton
  111. def verticalTextPosition_=(a: Alignment.Value): Unit
    Definition Classes
    AbstractButton
  112. def visible: Boolean
    Definition Classes
    UIElement
  113. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement
  114. def xLayoutAlignment: Double

    Used by certain layout managers, e.g., BoxLayout or OverlayLayout to align components relative to each other.

    Used by certain layout managers, e.g., BoxLayout or OverlayLayout to align components relative to each other.

    Definition Classes
    Component
  115. def xLayoutAlignment_=(x: Double): Unit
    Definition Classes
    Component
  116. def yLayoutAlignment: Double
    Definition Classes
    Component
  117. def yLayoutAlignment_=(y: Double): Unit
    Definition Classes
    Component