TextComponent

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

Type members

Inherited classlikes

object keys
Inhertied from
Component
object caret
Inhertied from
TextComponent
object mouse
Contains publishers for various mouse events. They are separated for
efficiency reasons.
Inhertied from
Component
class Caret
Inhertied from
TextComponent

Value members

Methods

def document: Document
def document_=(value: Document): Unit
def caretColor: Color
def caretColor_=(value: Color): Unit
def selectionColor: Color
def selectionColor_=(value: Color): Unit
def selectedTextColor: Color
def selectedTextColor_=(value: Color): Unit
def disabledTextColor: Color
def disabledTextColor_=(value: Color): Unit
def highlighter: Highlighter
def highlighter_=(value: Highlighter): Unit
def selectionStart: Int
def selectionStart_=(value: Int): Unit
def selectionEnd: Int
def selectionEnd_=(value: Int): Unit

Inherited methods

def scala$swing$LazyPublisher$$super$unsubscribe(listener: Reaction): Unit
Inhertied from
LazyPublisher
override def toString: String
Definition Classes
Component -> Proxy -> Any
Inhertied from
Component
def text: String
Inhertied from
TextComponent
def foreground: Color
Inhertied from
UIElement
def bounds: Rectangle
Inhertied from
UIElement
def editable: Boolean
Inhertied from
TextComponent
def copy(): Unit
Inhertied from
TextComponent
def preferredSize_=(x: Dimension): Unit
Inhertied from
UIElement
def locale: Locale
Inhertied from
UIElement
def ignoreRepaint: Boolean
Inhertied from
UIElement
def visible: Boolean
Inhertied from
UIElement
def cursor: Cursor
Inhertied from
UIElement
def deafTo(ps: Publisher*): Unit
Installed reaction won't receive events from the given publisher anylonger.
Inhertied from
Reactor
def xLayoutAlignment_=(x: Double): Unit
Inhertied from
Component
def tooltip_=(t: String): Unit
Inhertied from
Component
def publish(e: Event): Unit
Notify all registered reactions.
Inhertied from
Publisher
def selectAll(): Unit
Inhertied from
TextComponent
def border: Border
Inhertied from
Component
def location: Point
Inhertied from
UIElement
def name_=(s: String): Unit
Inhertied from
Component
def yLayoutAlignment: Double
Inhertied from
Component
def ignoreRepaint_=(b: Boolean): Unit
Inhertied from
UIElement
def cursor_=(c: Cursor): Unit
Inhertied from
UIElement
def border_=(b: Border): Unit
Inhertied from
Component
def size: Dimension
Inhertied from
UIElement
def componentOrientation: ComponentOrientation
Inhertied from
UIElement
def toolkit: Toolkit
Inhertied from
UIElement
def name: String
Inhertied from
Component
def enabled: Boolean
Inhertied from
Component
def tooltip: String
Inhertied from
Component
def minimumSize: Dimension
Inhertied from
UIElement
def maximumSize: Dimension
Inhertied from
UIElement
def background_=(c: Color): Unit
Inhertied from
UIElement
def font: Font
Inhertied from
UIElement
def listenTo(ps: Publisher*): Unit
Listen to the given publisher as long as deafTo isn't called for
them.
Inhertied from
Reactor
def selected: String
Inhertied from
TextComponent
def validate(): Unit
Inhertied from
UIElement
def showing: Boolean
Inhertied from
UIElement
def paste(): Unit
Inhertied from
TextComponent
def focusable: Boolean
Inhertied from
Component
def enabled_=(b: Boolean): Unit
Inhertied from
Component
def componentOrientation_=(x: ComponentOrientation): Unit
Inhertied from
UIElement
def visible_=(b: Boolean): Unit
Inhertied from
UIElement
def font_=(f: Font): Unit
Inhertied from
UIElement
def repaint(rect: Rectangle): Unit
Inhertied from
UIElement
def repaint(): Unit
Inhertied from
UIElement
def editable_=(x: Boolean): Unit
Inhertied from
TextComponent
override def unsubscribe(listener: Reaction): Unit
Definition Classes
LazyPublisher -> Publisher
Inhertied from
LazyPublisher
def preferredSize: Dimension
Inhertied from
UIElement
def background: Color
Inhertied from
UIElement
def displayable: Boolean
Inhertied from
UIElement
def maximumSize_=(x: Dimension): Unit
Inhertied from
UIElement
def yLayoutAlignment_=(y: Double): Unit
Inhertied from
Component
def self: Any
Inhertied from
UIElement
def locationOnScreen: Point
Inhertied from
UIElement
def paint(g: Graphics2D): Unit
Inhertied from
Component
def scala$swing$LazyPublisher$$super$subscribe(listener: Reaction): Unit
Inhertied from
LazyPublisher
def focusable_=(b: Boolean): Unit
Inhertied from
Component
override def subscribe(listener: Reaction): Unit
Definition Classes
LazyPublisher -> Publisher
Inhertied from
LazyPublisher
def opaque_=(b: Boolean): Unit
Inhertied from
Component
override def hashCode(): Int
Definition Classes
Proxy -> Any
Inhertied from
Proxy
def foreground_=(c: Color): Unit
Inhertied from
UIElement
def inputVerifier_=(v: Component => Boolean): Unit
Inhertied from
Component
def revalidate(): Unit
Inhertied from
Component
def cut(): Unit
Inhertied from
TextComponent
def xLayoutAlignment: Double
Used by certain layout managers, e.g., BoxLayout or OverlayLayout to
align components relative to each other.
Inhertied from
Component
def hasFocus: Boolean
Inhertied from
Component
def requestFocusInWindow(): Boolean
Inhertied from
Component
def opaque: Boolean
Inhertied from
Component
def text_=(t: String): Unit
Inhertied from
TextComponent
def inputVerifier: Component => Boolean
Inhertied from
Component
def minimumSize_=(x: Dimension): Unit
Inhertied from
UIElement
override def equals(that: Any): Boolean
Definition Classes
Proxy -> Any
Inhertied from
Proxy
def requestFocus(): Unit
Inhertied from
Component

Inherited fields

lazy override val peer: JTextComponent
Inhertied from
TextComponent
val reactions: Reactions
All reactions of this reactor.
Inhertied from
Reactor
protected val listeners: RefSet[Reaction]
Inhertied from
Publisher