scala.swing

TextArea

class TextArea extends TextComponent with HasColumns with HasRows

A text component that allows multiline text input and display.

source: TextArea.scala
    see also:
  1. javax.swing.JTextArea

Inherited
  1. Hide All
  2. Show all
  1. HasRows
  2. HasColumns
  3. TextComponent
  4. Component
  5. UIElement
  6. LazyPublisher
  7. Publisher
  8. Reactor
  9. Proxy
  10. AnyRef
  11. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new TextArea()

  2. new TextArea(rows: Int, columns: Int)

  3. new TextArea(text: String)

  4. new TextArea(text0: String, rows0: Int, columns0: Int)

Type Members

  1. class Caret extends Publisher

  2. trait SuperMixin extends JComponent

    This trait is used to redirect certain calls from the peer to the wrapper and back.

Value Members

  1. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  7. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  8. lazy val Mouse: mouse

  9. def append(t: String): Unit

  10. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  11. def background: Color

  12. def background_=(c: Color): Unit

  13. def border: Border

  14. def border_=(b: Border): Unit

  15. def bounds: Rectangle

  16. object caret extends Caret

  17. def charWrap: Boolean

  18. def charWrap_=(w: Boolean): Unit

  19. def clone(): AnyRef

    This method creates and returns a copy of the receiver object.

  20. def columns: Int

  21. def columns_=(n: Int): Unit

  22. def copy(): Unit

  23. def cursor: Cursor

  24. def cursor_=(c: Cursor): Unit

  25. def cut(): Unit

  26. def deafTo(ps: Publisher*): Unit

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

  27. def displayable: Boolean

  28. def editable: Boolean

  29. def editable_=(x: Boolean): Unit

  30. def enabled: Boolean

  31. def enabled_=(b: Boolean): Unit

  32. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  33. def equals(that: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

  34. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  35. def focusable: Boolean

  36. def focusable_=(b: Boolean): Unit

  37. def font: Font

  38. def font_=(f: Font): Unit

  39. def foreground: Color

  40. def foreground_=(c: Color): Unit

  41. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

  42. def hasFocus: Boolean

  43. def hashCode(): Int

    Returns a hash code value for the object.

  44. def ignoreRepaint: Boolean

  45. def ignoreRepaint_=(b: Boolean): Unit

  46. var initP: JComponent

  47. def inputVerifier: (Component) ⇒ Boolean

  48. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit

  49. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  50. object keys extends Publisher

  51. def lineCount: Int

  52. def lineWrap: Boolean

  53. def lineWrap_=(w: Boolean): Unit

  54. def listenTo(ps: Publisher*): Unit

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

  55. val listeners: RefSet[PartialFunction[Event, Unit]] {...}

  56. def locale: Locale

  57. def location: Point

  58. def locationOnScreen: Point

  59. def maximumSize: Dimension

  60. def maximumSize_=(x: Dimension): Unit

  61. def minimumSize: Dimension

  62. def minimumSize_=(x: Dimension): Unit

  63. object mouse extends AnyRef

    Contains publishers for various mouse events.

  64. def name: String

  65. def name_=(s: String): Unit

  66. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  67. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  68. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

  69. def onFirstSubscribe(): Unit

  70. def onLastUnsubscribe(): Unit

  71. def opaque: Boolean

  72. def opaque_=(b: Boolean): Unit

  73. def paint(g: Graphics2D): Unit

  74. def paintBorder(g: Graphics2D): Unit

  75. def paintChildren(g: Graphics2D): Unit

  76. def paintComponent(g: Graphics2D): Unit

    For custom painting, users should usually override this method.

  77. def paste(): Unit

  78. lazy val peer: JTextArea

    The underlying Swing peer.

  79. def preferredSize: Dimension

  80. def preferredSize_=(x: Dimension): Unit

  81. def publish(e: Event): Unit

    Notify all registered reactions.

  82. val reactions: Reactions

    All reactions of this reactor.

  83. def repaint(rect: Rectangle): Unit

  84. def repaint(): Unit

  85. def requestFocus(): Unit

  86. def requestFocusInWindow(): Boolean

  87. def revalidate(): Unit

  88. def rows: Int

  89. def rows_=(n: Int): Unit

  90. def selectAll(): Unit

  91. def selected: String

  92. def self: Component

  93. def showing: Boolean

  94. def size: Dimension

  95. def size_=(dim: Dimension): Unit

  96. def subscribe(listener: PartialFunction[Event, Unit]): Unit

  97. def synchronized[T0](arg0: T0): T0

  98. def tabSize: Int

  99. def tabSize_=(n: Int): Unit

  100. def text: String

  101. def text_=(t: String): Unit

  102. def toString(): String

    Returns a string representation of the object.

  103. def toolkit: Toolkit

  104. def tooltip: String

  105. def tooltip_=(t: String): Unit

  106. def unsubscribe(listener: PartialFunction[Event, Unit]): Unit

  107. def visible: Boolean

  108. def visible_=(b: Boolean): Unit

  109. def wait(): Unit

  110. def wait(arg0: Long, arg1: Int): Unit

  111. def wait(arg0: Long): Unit

  112. def wordWrap: Boolean

  113. def wordWrap_=(w: Boolean): Unit

  114. def xLayoutAlignment: Double

    Used by certain layout managers, e.

  115. def xLayoutAlignment_=(x: Double): Unit

  116. def yLayoutAlignment: Double

  117. def yLayoutAlignment_=(y: Double): Unit