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, PeerContainer, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumLabel
  2. Label
  3. Component
  4. PeerContainer
  5. UIElement
  6. LazyPublisher
  7. Publisher
  8. Reactor
  9. Proxy
  10. AnyRef
  11. 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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  39. def hasFocus: Boolean
    Definition Classes
    Component
  40. def hashCode(): Int
    Definition Classes
    Proxy → Any
  41. def horizontalAlignment: scala.swing.Alignment.Value
    Definition Classes
    Label
  42. def horizontalAlignment_=(x: scala.swing.Alignment.Value): Unit
    Definition Classes
    Label
  43. def horizontalTextPosition: scala.swing.Alignment.Value
    Definition Classes
    Label
  44. def horizontalTextPosition_=(x: scala.swing.Alignment.Value): Unit
    Definition Classes
    Label
  45. def icon: Icon
    Definition Classes
    Label
  46. def iconTextGap: Int
    Definition Classes
    Label
  47. def iconTextGap_=(gap: Int): Unit
    Definition Classes
    Label
  48. def icon_=(i: Icon): Unit
    Definition Classes
    Label
  49. def ignoreRepaint: Boolean
    Definition Classes
    UIElement
  50. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  51. def inputVerifier: (Component) => Boolean
    Definition Classes
    Component
  52. def inputVerifier_=(v: (Component) => Boolean): Unit
    Definition Classes
    Component
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. def listenTo(ps: Publisher*): Unit
    Definition Classes
    Reactor
  55. val listeners: RefSet[Reaction]
    Attributes
    protected
    Definition Classes
    Publisher
  56. def locale: Locale
    Definition Classes
    UIElement
  57. def location: Point
    Definition Classes
    UIElement
  58. def locationOnScreen: Point
    Definition Classes
    UIElement
  59. def maximumSize: Dimension
    Definition Classes
    UIElement
  60. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  61. def minimumSize: Dimension
    Definition Classes
    UIElement
  62. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  63. def name: String
    Definition Classes
    Component
  64. def name_=(s: String): Unit
    Definition Classes
    Component
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  67. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  68. val number: Int
  69. def onFirstSubscribe(): Unit
    Attributes
    protected
    Definition Classes
    Component → UIElement → LazyPublisher
  70. def onLastUnsubscribe(): Unit
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  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. def paintBorder(g: Graphics2D): Unit
    Attributes
    protected
    Definition Classes
    Component
  75. def paintChildren(g: Graphics2D): Unit
    Attributes
    protected
    Definition Classes
    Component
  76. def paintComponent(g: Graphics2D): Unit
    Attributes
    protected
    Definition Classes
    Component
  77. val panel: TreeListPanel
  78. lazy val peer: JLabel
    Definition Classes
    Label → Component → PeerContainer → UIElement
  79. def preferredSize: Dimension
    Definition Classes
    UIElement
  80. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  81. def publish(e: Event): Unit
    Definition Classes
    Publisher
  82. val reactions: Reactions
    Definition Classes
    Reactor
  83. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  84. def repaint(): Unit
    Definition Classes
    UIElement
  85. def requestFocus(): Unit
    Definition Classes
    Component
  86. def requestFocusInWindow(): Boolean
    Definition Classes
    Component
  87. def revalidate(): Unit
    Definition Classes
    Component
  88. def select(): Unit

    Determines what happens when a numLabel is selected.

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

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. 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 PeerContainer

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