c

scala.swing

TextArea

class TextArea extends TextComponent with HasColumns with HasRows

A text component that allows multiline text input and display.

See also

javax.swing.JTextArea

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextArea
  2. HasRows
  3. HasColumns
  4. TextComponent
  5. Component
  6. UIElement
  7. LazyPublisher
  8. Publisher
  9. Reactor
  10. Proxy
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
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
    Definition Classes
    TextComponent

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 append(t: String): Unit
  4. def background: Color
    Definition Classes
    UIElement
  5. def background_=(c: Color): Unit
    Definition Classes
    UIElement
  6. def border: Border
    Definition Classes
    Component
  7. def border_=(b: Border): Unit
    Definition Classes
    Component
  8. def bounds: Rectangle
    Definition Classes
    UIElement
  9. def charWrap: Boolean
  10. def charWrap_=(w: Boolean): Unit
  11. def columns: Int
    Definition Classes
    TextAreaHasColumns
  12. def columns_=(n: Int): Unit
    Definition Classes
    TextAreaHasColumns
  13. def componentOrientation: ComponentOrientation
    Definition Classes
    UIElement
  14. def componentOrientation_=(x: ComponentOrientation): Unit
    Definition Classes
    UIElement
  15. def copy(): Unit
    Definition Classes
    TextComponent
  16. def cursor: Cursor
    Definition Classes
    UIElement
  17. def cursor_=(c: Cursor): Unit
    Definition Classes
    UIElement
  18. def cut(): Unit
    Definition Classes
    TextComponent
  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 displayable: Boolean
    Definition Classes
    UIElement
  21. def editable: Boolean
    Definition Classes
    TextComponent
  22. def editable_=(x: Boolean): Unit
    Definition Classes
    TextComponent
  23. def enabled: Boolean
    Definition Classes
    Component
  24. def enabled_=(b: Boolean): Unit
    Definition Classes
    Component
  25. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  26. def focusable: Boolean
    Definition Classes
    Component
  27. def focusable_=(b: Boolean): Unit
    Definition Classes
    Component
  28. def font: Font
    Definition Classes
    UIElement
  29. def font_=(f: Font): Unit
    Definition Classes
    UIElement
  30. def foreground: Color
    Definition Classes
    UIElement
  31. def foreground_=(c: Color): Unit
    Definition Classes
    UIElement
  32. def hasFocus: Boolean
    Definition Classes
    Component
  33. def hashCode(): Int
    Definition Classes
    Proxy → Any
  34. def ignoreRepaint: Boolean
    Definition Classes
    UIElement
  35. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  36. var initP: JComponent
    Definition Classes
    Component
  37. def inputVerifier: (Component) ⇒ Boolean
    Definition Classes
    Component
  38. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit
    Definition Classes
    Component
  39. def lineCount: Int
  40. def lineWrap: Boolean
  41. def lineWrap_=(w: Boolean): Unit
  42. 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
  43. def locale: Locale
    Definition Classes
    UIElement
  44. def location: Point
    Definition Classes
    UIElement
  45. def locationOnScreen: Point
    Definition Classes
    UIElement
  46. def maximumSize: Dimension
    Definition Classes
    UIElement
  47. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  48. def minimumSize: Dimension
    Definition Classes
    UIElement
  49. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  50. def name: String
    Definition Classes
    Component
  51. def name_=(s: String): Unit
    Definition Classes
    Component
  52. def opaque: Boolean
    Definition Classes
    Component
  53. def opaque_=(b: Boolean): Unit
    Definition Classes
    Component
  54. def paint(g: Graphics2D): Unit
    Definition Classes
    Component
  55. def paste(): Unit
    Definition Classes
    TextComponent
  56. lazy val peer: JTextArea

    The underlying Swing peer.

    The underlying Swing peer.

    Definition Classes
    TextAreaTextComponentComponentUIElement
  57. def preferredSize: Dimension
    Definition Classes
    UIElement
  58. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  59. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  60. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  61. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  62. def repaint(): Unit
    Definition Classes
    UIElement
  63. def requestFocus(): Unit
    Definition Classes
    Component
  64. def requestFocusInWindow(): Boolean
    Definition Classes
    Component
  65. def revalidate(): Unit
    Definition Classes
    Component
  66. def rows: Int
    Definition Classes
    TextAreaHasRows
  67. def rows_=(n: Int): Unit
    Definition Classes
    TextAreaHasRows
  68. def selectAll(): Unit
    Definition Classes
    TextComponent
  69. def selected: String
    Definition Classes
    TextComponent
  70. def self: java.awt.Component
    Definition Classes
    UIElement → Proxy
  71. def showing: Boolean
    Definition Classes
    UIElement
  72. def size: Dimension
    Definition Classes
    UIElement
  73. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  74. def tabSize: Int
  75. def tabSize_=(n: Int): Unit
  76. def text: String
    Definition Classes
    TextComponent
  77. def text_=(t: String): Unit
    Definition Classes
    TextComponent
  78. def toString(): String
    Definition Classes
    Component → Proxy → AnyRef → Any
  79. def toolkit: Toolkit
    Definition Classes
    UIElement
  80. def tooltip: String
    Definition Classes
    Component
  81. def tooltip_=(t: String): Unit
    Definition Classes
    Component
  82. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  83. def validate(): Unit
    Definition Classes
    UIElement
  84. def visible: Boolean
    Definition Classes
    UIElement
  85. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement
  86. def wordWrap: Boolean
  87. def wordWrap_=(w: Boolean): Unit
  88. 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
  89. def xLayoutAlignment_=(x: Double): Unit
    Definition Classes
    Component
  90. def yLayoutAlignment: Double
    Definition Classes
    Component
  91. def yLayoutAlignment_=(y: Double): Unit
    Definition Classes
    Component
  92. object caret extends Caret
    Definition Classes
    TextComponent