Packages

class NumLabel extends Label

A label that displays a number n as "n: ". It can be selected and deselected by left-clicking. If first one and then another of these in the same panel is selected, a SwitchEvent will be published.

Source
DrawExpansionSequent.scala
Linear Supertypes
Label, Component, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumLabel
  2. Label
  3. Component
  4. UIElement
  5. LazyPublisher
  6. Publisher
  7. Reactor
  8. Proxy
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NumLabel(number: Int)

    number

    The number to be displayed

Type Members

  1. trait SuperMixin extends JComponent
    Attributes
    protected
    Definition Classes
    Component

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from NumLabel toany2stringadd[NumLabel] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (NumLabel, B)
    Implicit
    This member is added by an implicit conversion from NumLabel toArrowAssoc[NumLabel] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def background: Color
    Definition Classes
    UIElement
  8. def background_=(c: Color): Unit
    Definition Classes
    UIElement
  9. def border: Border
    Definition Classes
    Component
  10. def border_=(b: Border): Unit
    Definition Classes
    Component
  11. def bounds: Rectangle
    Definition Classes
    UIElement
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  13. def componentOrientation: ComponentOrientation
    Definition Classes
    UIElement
  14. def componentOrientation_=(x: ComponentOrientation): Unit
    Definition Classes
    UIElement
  15. def cursor: Cursor
    Definition Classes
    UIElement
  16. def cursor_=(c: Cursor): Unit
    Definition Classes
    UIElement
  17. def deafTo(ps: Publisher*): Unit
    Definition Classes
    Reactor
  18. def deselect(): Unit

    Determines what happens when a numLabel is deselected.

  19. def disabledIcon: Icon
    Definition Classes
    Label
  20. def disabledIcon_=(icon: Icon): Unit
    Definition Classes
    Label
  21. def displayable: Boolean
    Definition Classes
    UIElement
  22. def displayedMnemonicIndex: Int
    Definition Classes
    Label
  23. def displayedMnemonicIndex_=(index: Int): Unit
    Definition Classes
    Label
  24. def enabled: Boolean
    Definition Classes
    Component
  25. def enabled_=(b: Boolean): Unit
    Definition Classes
    Component
  26. def ensuring(cond: (NumLabel) => Boolean, msg: => Any): NumLabel
    Implicit
    This member is added by an implicit conversion from NumLabel toEnsuring[NumLabel] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: (NumLabel) => Boolean): NumLabel
    Implicit
    This member is added by an implicit conversion from NumLabel toEnsuring[NumLabel] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: Boolean, msg: => Any): NumLabel
    Implicit
    This member is added by an implicit conversion from NumLabel toEnsuring[NumLabel] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: Boolean): NumLabel
    Implicit
    This member is added by an implicit conversion from NumLabel toEnsuring[NumLabel] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  32. def focusable: Boolean
    Definition Classes
    Component
  33. def focusable_=(b: Boolean): Unit
    Definition Classes
    Component
  34. def font: Font
    Definition Classes
    UIElement
  35. def font_=(f: Font): Unit
    Definition Classes
    UIElement
  36. def foreground: Color
    Definition Classes
    UIElement
  37. def foreground_=(c: Color): Unit
    Definition Classes
    UIElement
  38. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from NumLabel toStringFormat[NumLabel] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  39. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  40. def hasFocus: Boolean
    Definition Classes
    Component
  41. def hashCode(): Int
    Definition Classes
    Proxy → Any
  42. def horizontalAlignment: scala.swing.Alignment.Value
    Definition Classes
    Label
  43. def horizontalAlignment_=(x: scala.swing.Alignment.Value): Unit
    Definition Classes
    Label
  44. def horizontalTextPosition: scala.swing.Alignment.Value
    Definition Classes
    Label
  45. def horizontalTextPosition_=(x: scala.swing.Alignment.Value): Unit
    Definition Classes
    Label
  46. def icon: Icon
    Definition Classes
    Label
  47. def iconTextGap: Int
    Definition Classes
    Label
  48. def iconTextGap_=(gap: Int): Unit
    Definition Classes
    Label
  49. def icon_=(i: Icon): Unit
    Definition Classes
    Label
  50. def ignoreRepaint: Boolean
    Definition Classes
    UIElement
  51. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  52. def inputVerifier: (Component) => Boolean
    Definition Classes
    Component
  53. def inputVerifier_=(v: (Component) => Boolean): Unit
    Definition Classes
    Component
  54. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  55. def listenTo(ps: Publisher*): Unit
    Definition Classes
    Reactor
  56. val listeners: RefSet[Reaction]
    Attributes
    protected
    Definition Classes
    Publisher
  57. def locale: Locale
    Definition Classes
    UIElement
  58. def location: Point
    Definition Classes
    UIElement
  59. def locationOnScreen: Point
    Definition Classes
    UIElement
  60. def maximumSize: Dimension
    Definition Classes
    UIElement
  61. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  62. def minimumSize: Dimension
    Definition Classes
    UIElement
  63. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  64. def name: String
    Definition Classes
    Component
  65. def name_=(s: String): Unit
    Definition Classes
    Component
  66. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  67. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  68. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  69. val number: Int
  70. def onFirstSubscribe(): Unit
    Attributes
    protected
    Definition Classes
    Component → UIElement → LazyPublisher
  71. def onLastUnsubscribe(): Unit
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  72. def opaque: Boolean
    Definition Classes
    Component
  73. def opaque_=(b: Boolean): Unit
    Definition Classes
    Component
  74. def paint(g: Graphics2D): Unit
    Definition Classes
    Component
  75. def paintBorder(g: Graphics2D): Unit
    Attributes
    protected
    Definition Classes
    Component
  76. def paintChildren(g: Graphics2D): Unit
    Attributes
    protected
    Definition Classes
    Component
  77. def paintComponent(g: Graphics2D): Unit
    Attributes
    protected
    Definition Classes
    Component
  78. val panel: TreeListPanel
  79. lazy val peer: JLabel
    Definition Classes
    Label → Component → UIElement
  80. def preferredSize: Dimension
    Definition Classes
    UIElement
  81. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  82. def publish(e: Event): Unit
    Definition Classes
    Publisher
  83. val reactions: Reactions
    Definition Classes
    Reactor
  84. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  85. def repaint(): Unit
    Definition Classes
    UIElement
  86. def requestFocus(): Unit
    Definition Classes
    Component
  87. def requestFocusInWindow(): Boolean
    Definition Classes
    Component
  88. def revalidate(): Unit
    Definition Classes
    Component
  89. def select(): Unit

    Determines what happens when a numLabel is selected.

  90. def self: Any
    Definition Classes
    UIElement → Proxy
  91. def showing: Boolean
    Definition Classes
    UIElement
  92. def size: Dimension
    Definition Classes
    UIElement
  93. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  94. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  95. def text: String
    Definition Classes
    Label
  96. def text_=(s: String): Unit
    Definition Classes
    Label
  97. def toString(): String
    Definition Classes
    Component → Proxy → AnyRef → Any
  98. def toolkit: Toolkit
    Definition Classes
    UIElement
  99. def tooltip: String
    Definition Classes
    Component
  100. def tooltip_=(t: String): Unit
    Definition Classes
    Component
  101. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  102. def validate(): Unit
    Definition Classes
    UIElement
  103. def verticalAlignment: scala.swing.Alignment.Value
    Definition Classes
    Label
  104. def verticalAlignment_=(x: scala.swing.Alignment.Value): Unit
    Definition Classes
    Label
  105. def verticalTextPosition: scala.swing.Alignment.Value
    Definition Classes
    Label
  106. def verticalTextPosition_=(x: scala.swing.Alignment.Value): Unit
    Definition Classes
    Label
  107. def visible: Boolean
    Definition Classes
    UIElement
  108. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement
  109. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  110. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  111. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  112. def xAlignment: scala.swing.Alignment.Value
    Definition Classes
    Label
  113. def xAlignment_=(x: scala.swing.Alignment.Value): Unit
    Definition Classes
    Label
  114. def xLayoutAlignment: Double
    Definition Classes
    Component
  115. def xLayoutAlignment_=(x: Double): Unit
    Definition Classes
    Component
  116. def yAlignment: scala.swing.Alignment.Value
    Definition Classes
    Label
  117. def yAlignment_=(x: scala.swing.Alignment.Value): Unit
    Definition Classes
    Label
  118. def yLayoutAlignment: Double
    Definition Classes
    Component
  119. def yLayoutAlignment_=(y: Double): Unit
    Definition Classes
    Component
  120. object keys extends Publisher
    Definition Classes
    Component
  121. object mouse
    Definition Classes
    Component

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def [B](y: B): (NumLabel, B)
    Implicit
    This member is added by an implicit conversion from NumLabel toArrowAssoc[NumLabel] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Label

Inherited from Component

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromNumLabel to any2stringadd[NumLabel]

Inherited by implicit conversion StringFormat fromNumLabel to StringFormat[NumLabel]

Inherited by implicit conversion Ensuring fromNumLabel to Ensuring[NumLabel]

Inherited by implicit conversion ArrowAssoc fromNumLabel to ArrowAssoc[NumLabel]

Ungrouped