Class

cogdebugger.coggui3ports

ReactiveCheckBox

Related Doc: package coggui3ports

Permalink

class ReactiveCheckBox extends CheckBox

A ReactiveCheckbox is a Checkbox that allows you to directly attach a closure that is called whenever the button is clicked. The button is labeled "label", and "function" is invoked on each button click.

Linear Supertypes
CheckBox, ToggleButton, AbstractButton, Wrapper, Trigger, Component, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReactiveCheckBox
  2. CheckBox
  3. ToggleButton
  4. AbstractButton
  5. Wrapper
  6. Trigger
  7. Component
  8. UIElement
  9. LazyPublisher
  10. Publisher
  11. Reactor
  12. Proxy
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReactiveCheckBox(label: String, initialCheckState: Boolean, function: (Boolean) ⇒ Unit)

    Permalink

    label

    String printed on button.

    function

    Function called when button is pressed.

Type Members

  1. trait SuperMixin extends JComponent

    Permalink
    Attributes
    protected
    Definition Classes
    Component

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. val Margin: Int

    Permalink
  5. def action: Action

    Permalink
    Definition Classes
    Wrapper → Trigger
  6. def action_=(a: Action): Unit

    Permalink
    Definition Classes
    Wrapper → Trigger
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def background: Color

    Permalink
    Definition Classes
    UIElement
  9. def background_=(c: Color): Unit

    Permalink
    Definition Classes
    UIElement
  10. def border: Border

    Permalink
    Definition Classes
    Component
  11. def borderPainted: Boolean

    Permalink
    Definition Classes
    AbstractButton
  12. def borderPaintedFlat: Boolean

    Permalink
    Definition Classes
    CheckBox
  13. def borderPaintedFlat_=(flat: Boolean): Unit

    Permalink
    Definition Classes
    CheckBox
  14. def borderPainted_=(b: Boolean): Unit

    Permalink
    Definition Classes
    AbstractButton
  15. def border_=(b: Border): Unit

    Permalink
    Definition Classes
    Component
  16. def bounds: Rectangle

    Permalink
    Definition Classes
    UIElement
  17. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AbstractButton
  19. def contentAreaFilled_=(b: Boolean): Unit

    Permalink
    Definition Classes
    AbstractButton
  20. def cursor: Cursor

    Permalink
    Definition Classes
    UIElement
  21. def cursor_=(c: Cursor): Unit

    Permalink
    Definition Classes
    UIElement
  22. def deafTo(ps: Publisher*): Unit

    Permalink
    Definition Classes
    Reactor
  23. def disabledIcon: Icon

    Permalink
    Definition Classes
    AbstractButton
  24. def disabledIcon_=(i: Icon): Unit

    Permalink
    Definition Classes
    AbstractButton
  25. def disabledSelectedIcon: Icon

    Permalink
    Definition Classes
    AbstractButton
  26. def disabledSelectedIcon_=(i: Icon): Unit

    Permalink
    Definition Classes
    AbstractButton
  27. def displayable: Boolean

    Permalink
    Definition Classes
    UIElement
  28. def displayedMnemonicIndex: Int

    Permalink
    Definition Classes
    AbstractButton
  29. def displayedMnemonicIndex_=(n: Int): Unit

    Permalink
    Definition Classes
    AbstractButton
  30. def doClick(times: Int): Unit

    Permalink
    Definition Classes
    AbstractButton
  31. def doClick(): Unit

    Permalink
    Definition Classes
    AbstractButton
  32. def enabled: Boolean

    Permalink
    Definition Classes
    Component
  33. def enabled_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  34. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Proxy → Any
  36. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. def focusPainted: Boolean

    Permalink
    Definition Classes
    AbstractButton
  38. def focusPainted_=(b: Boolean): Unit

    Permalink
    Definition Classes
    AbstractButton
  39. def focusable: Boolean

    Permalink
    Definition Classes
    Component
  40. def focusable_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  41. def font: Font

    Permalink
    Definition Classes
    UIElement
  42. def font_=(f: Font): Unit

    Permalink
    Definition Classes
    UIElement
  43. def foreground: Color

    Permalink
    Definition Classes
    UIElement
  44. def foreground_=(c: Color): Unit

    Permalink
    Definition Classes
    UIElement
  45. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  46. def hasFocus: Boolean

    Permalink
    Definition Classes
    Component
  47. def hashCode(): Int

    Permalink
    Definition Classes
    Proxy → Any
  48. def horizontalAlignment: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    AbstractButton
  49. def horizontalAlignment_=(a: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    AbstractButton
  50. def horizontalTextPosition: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    AbstractButton
  51. def horizontalTextPosition_=(a: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    AbstractButton
  52. def icon: Icon

    Permalink
    Definition Classes
    AbstractButton
  53. def iconTextGap: Int

    Permalink
    Definition Classes
    AbstractButton
  54. def iconTextGap_=(x: Int): Unit

    Permalink
    Definition Classes
    AbstractButton
  55. def icon_=(i: Icon): Unit

    Permalink
    Definition Classes
    AbstractButton
  56. def ignoreRepaint: Boolean

    Permalink
    Definition Classes
    UIElement
  57. def ignoreRepaint_=(b: Boolean): Unit

    Permalink
    Definition Classes
    UIElement
  58. var initP: JComponent

    Permalink
    Definition Classes
    Component
  59. def inputVerifier: (Component) ⇒ Boolean

    Permalink
    Definition Classes
    Component
  60. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit

    Permalink
    Definition Classes
    Component
  61. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  62. def listenTo(ps: Publisher*): Unit

    Permalink
    Definition Classes
    Reactor
  63. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }

    Permalink
    Attributes
    protected
    Definition Classes
    Publisher
  64. def locale: Locale

    Permalink
    Definition Classes
    UIElement
  65. def location: Point

    Permalink
    Definition Classes
    UIElement
  66. def locationOnScreen: Point

    Permalink
    Definition Classes
    UIElement
  67. def margin: Insets

    Permalink
    Definition Classes
    AbstractButton
  68. def margin_=(i: Insets): Unit

    Permalink
    Definition Classes
    AbstractButton
  69. def maximumSize: Dimension

    Permalink
    Definition Classes
    UIElement
  70. def maximumSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  71. def minimumSize: Dimension

    Permalink
    Definition Classes
    UIElement
  72. def minimumSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  73. def mnemonic: scala.swing.event.Key.Value

    Permalink
    Definition Classes
    AbstractButton
  74. def mnemonic_=(k: scala.swing.event.Key.Value): Unit

    Permalink
    Definition Classes
    AbstractButton
  75. object mouse

    Permalink
    Definition Classes
    Component
  76. def multiClickThreshold: Long

    Permalink
    Definition Classes
    AbstractButton
  77. def multiClickThreshold_=(n: Long): Unit

    Permalink
    Definition Classes
    AbstractButton
  78. def name: String

    Permalink
    Definition Classes
    Component
  79. def name_=(s: String): Unit

    Permalink
    Definition Classes
    Component
  80. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  83. def onFirstSubscribe(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component → UIElement → LazyPublisher
  84. def onLastUnsubscribe(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  85. def opaque: Boolean

    Permalink
    Definition Classes
    Component
  86. def opaque_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  87. def paint(g: Graphics2D): Unit

    Permalink
    Definition Classes
    Component
  88. def paintBorder(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  89. def paintChildren(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  90. def paintComponent(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  91. lazy val peer: JCheckBox

    Permalink
    Definition Classes
    CheckBox → ToggleButton → AbstractButton → Wrapper → Component → UIElement
  92. def preferredSize: Dimension

    Permalink
    Definition Classes
    UIElement
  93. def preferredSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  94. def pressedIcon: Icon

    Permalink
    Definition Classes
    AbstractButton
  95. def pressedIcon_=(i: Icon): Unit

    Permalink
    Definition Classes
    AbstractButton
  96. def publish(e: Event): Unit

    Permalink
    Definition Classes
    Publisher
  97. val reactions: Reactions

    Permalink
    Definition Classes
    Reactor
  98. def repaint(rect: Rectangle): Unit

    Permalink
    Definition Classes
    UIElement
  99. def repaint(): Unit

    Permalink
    Definition Classes
    UIElement
  100. def requestFocus(): Unit

    Permalink
    Definition Classes
    Component
  101. def requestFocusInWindow(): Boolean

    Permalink
    Definition Classes
    Component
  102. def revalidate(): Unit

    Permalink
    Definition Classes
    Component
  103. def rolloverEnabled: Boolean

    Permalink
    Definition Classes
    AbstractButton
  104. def rolloverEnabled_=(b: Boolean): Unit

    Permalink
    Definition Classes
    AbstractButton
  105. def rolloverIcon: Icon

    Permalink
    Definition Classes
    AbstractButton
  106. def rolloverIcon_=(b: Icon): Unit

    Permalink
    Definition Classes
    AbstractButton
  107. def rolloverSelectedIcon: Icon

    Permalink
    Definition Classes
    AbstractButton
  108. def rolloverSelectedIcon_=(b: Icon): Unit

    Permalink
    Definition Classes
    AbstractButton
  109. def selected: Boolean

    Permalink
    Definition Classes
    AbstractButton
  110. def selectedIcon: Icon

    Permalink
    Definition Classes
    AbstractButton
  111. def selectedIcon_=(i: Icon): Unit

    Permalink
    Definition Classes
    AbstractButton
  112. def selected_=(b: Boolean): Unit

    Permalink
    Definition Classes
    AbstractButton
  113. def self: Component

    Permalink
    Definition Classes
    UIElement → Proxy
  114. def showing: Boolean

    Permalink
    Definition Classes
    UIElement
  115. def size: Dimension

    Permalink
    Definition Classes
    UIElement
  116. def subscribe(listener: Reaction): Unit

    Permalink
    Definition Classes
    LazyPublisher → Publisher
  117. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  118. def text: String

    Permalink
    Definition Classes
    AbstractButton
  119. def text_=(s: String): Unit

    Permalink
    Definition Classes
    AbstractButton
  120. def toString(): String

    Permalink
    Definition Classes
    Component → Proxy → AnyRef → Any
  121. def toolkit: Toolkit

    Permalink
    Definition Classes
    UIElement
  122. def tooltip: String

    Permalink
    Definition Classes
    Component
  123. def tooltip_=(t: String): Unit

    Permalink
    Definition Classes
    Component
  124. def unsubscribe(listener: Reaction): Unit

    Permalink
    Definition Classes
    LazyPublisher → Publisher
  125. def verticalAlignment: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    AbstractButton
  126. def verticalAlignment_=(a: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    AbstractButton
  127. def verticalTextPosition: scala.swing.Alignment.Value

    Permalink
    Definition Classes
    AbstractButton
  128. def verticalTextPosition_=(a: scala.swing.Alignment.Value): Unit

    Permalink
    Definition Classes
    AbstractButton
  129. def visible: Boolean

    Permalink
    Definition Classes
    UIElement
  130. def visible_=(b: Boolean): Unit

    Permalink
    Definition Classes
    UIElement
  131. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  134. def xLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  135. def xLayoutAlignment_=(x: Double): Unit

    Permalink
    Definition Classes
    Component
  136. def yLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  137. def yLayoutAlignment_=(y: Double): Unit

    Permalink
    Definition Classes
    Component

Inherited from CheckBox

Inherited from ToggleButton

Inherited from AbstractButton

Inherited from Wrapper

Inherited from Trigger

Inherited from Component

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any

Ungrouped