TextArea

class TextArea(text0: String, rows0: Int, columns0: Int) extends TextComponent with HasColumns with HasRows

A text component that allows multi-line text input and display.

A text component that allows multi-line text input and display.

See also

javax.swing.JTextArea

trait HasRows
class Component
trait PeerContainer
trait UIElement
trait LazyPublisher
trait Publisher
trait Reactor
trait Proxy
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class Caret
Inherited from
TextComponent
object caret
Inherited from
TextComponent
object keys
Inherited from
Component
object mouse

Contains publishers for various mouse events. They are separated for efficiency reasons.

Contains publishers for various mouse events. They are separated for efficiency reasons.

Inherited from
Component

Value members

Constructors

def this(text: String)
def this(rows: Int, columns: Int)
def this()

Concrete methods

def append(t: String): Unit
def charWrap: Boolean
def charWrap_=(w: Boolean): Unit
def columns: Int
def columns_=(n: Int): Unit
def lineCount: Int
def lineWrap: Boolean
def lineWrap_=(w: Boolean): Unit
def rows: Int
def rows_=(n: Int): Unit
def tabSize: Int
def tabSize_=(n: Int): Unit
def wordWrap: Boolean
def wordWrap_=(w: Boolean): Unit

Inherited methods

Inherited from
UIElement
def background_=(c: Color): Unit
Inherited from
UIElement
def border: Border
Inherited from
Component
def border_=(b: Border): Unit
Inherited from
Component
Inherited from
UIElement
def componentOrientation: ComponentOrientation
Inherited from
UIElement
def componentOrientation_=(x: ComponentOrientation): Unit
Inherited from
UIElement
def copy(): Unit
Inherited from
TextComponent
def cursor: Cursor
Inherited from
UIElement
def cursor_=(c: Cursor): Unit
Inherited from
UIElement
def cut(): Unit
Inherited from
TextComponent
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.

Inherited from
Reactor
def displayable: Boolean
Inherited from
UIElement
def editable: Boolean
Inherited from
TextComponent
def editable_=(x: Boolean): Unit
Inherited from
TextComponent
def enabled: Boolean
Inherited from
Component
def enabled_=(b: Boolean): Unit
Inherited from
Component
override def equals(that: Any): Boolean
Definition Classes
Proxy -> Any
Inherited from
Proxy
def focusable: Boolean
Inherited from
Component
def focusable_=(b: Boolean): Unit
Inherited from
Component
def font: Font
Inherited from
UIElement
def font_=(f: Font): Unit
Inherited from
UIElement
Inherited from
UIElement
def foreground_=(c: Color): Unit
Inherited from
UIElement
def hasFocus: Boolean
Inherited from
Component
override def hashCode(): Int
Definition Classes
Proxy -> Any
Inherited from
Proxy
def ignoreRepaint: Boolean
Inherited from
UIElement
def ignoreRepaint_=(b: Boolean): Unit
Inherited from
UIElement
def inputVerifier: Component => Boolean
Inherited from
Component
def inputVerifier_=(v: Component => Boolean): Unit
Inherited from
Component
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.

Inherited from
Reactor
def locale: Locale
Inherited from
UIElement
Inherited from
UIElement
Inherited from
UIElement
Inherited from
UIElement
def maximumSize_=(x: Dimension): Unit
Inherited from
UIElement
Inherited from
UIElement
def minimumSize_=(x: Dimension): Unit
Inherited from
UIElement
def name: String
Inherited from
Component
def name_=(s: String): Unit
Inherited from
Component
def opaque: Boolean
Inherited from
Component
def opaque_=(b: Boolean): Unit
Inherited from
Component
def paint(g: Graphics2D): Unit
Inherited from
Component
def paste(): Unit
Inherited from
TextComponent
Inherited from
UIElement
def preferredSize_=(x: Dimension): Unit
Inherited from
UIElement
def publish(e: Event): Unit

Notify all registered reactions.

Notify all registered reactions.

Inherited from
Publisher
def repaint(rect: Rectangle): Unit
Inherited from
UIElement
def repaint(): Unit
Inherited from
UIElement
def requestFocus(): Unit
Inherited from
Component
def requestFocusInWindow(): Boolean
Inherited from
Component
def revalidate(): Unit
Inherited from
Component
def selectAll(): Unit
Inherited from
TextComponent
def selected: String
Inherited from
TextComponent
def self: Any
Inherited from
UIElement
def showing: Boolean
Inherited from
UIElement
Inherited from
UIElement
override def subscribe(listener: Reaction): Unit
Definition Classes
LazyPublisher -> Publisher
Inherited from
LazyPublisher
def text: String
Inherited from
TextComponent
def text_=(t: String): Unit
Inherited from
TextComponent
override def toString: String
Definition Classes
Component -> Proxy -> Any
Inherited from
Component
def toolkit: Toolkit
Inherited from
UIElement
def tooltip: String
Inherited from
Component
def tooltip_=(t: String): Unit
Inherited from
Component
override def unsubscribe(listener: Reaction): Unit
Definition Classes
LazyPublisher -> Publisher
Inherited from
LazyPublisher
def validate(): Unit
Inherited from
UIElement
def visible: Boolean
Inherited from
UIElement
def visible_=(b: Boolean): Unit
Inherited from
UIElement
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.

Inherited from
Component
def xLayoutAlignment_=(x: Double): Unit
Inherited from
Component
def yLayoutAlignment: Double
Inherited from
Component
def yLayoutAlignment_=(y: Double): Unit
Inherited from
Component

Concrete fields

lazy override val peer: JTextArea

Inherited fields

protected val listeners: RefSet[Reaction]
Inherited from
Publisher

All reactions of this reactor.

All reactions of this reactor.

Inherited from
Reactor