scala.swing

class TextComponent

[source: scala/swing/TextComponent.scala]

class TextComponent
extends Component with Publisher
A component that allows some kind of text input and display.
See Also
javax.swing.JTextComponent
Direct Known Subclasses:
EditorPane, FormattedTextField, TextArea, TextComponent.HasColumns, TextComponent.HasRows, TextField

Value Summary
override lazy val peer : javax.swing.text.JTextComponent
The underlying Swing peer.
Values and Variables inherited from Component
initP, Mouse
Values and Variables inherited from Publisher
listeners
Values and Variables inherited from Reactor
reactions
Method Summary
def copy : Unit
def cut : Unit
def editable : Boolean
def editable_= (x : Boolean) : Unit
def selectAll : Unit
def selected : java.lang.String
def text : java.lang.String
def text_= (t : java.lang.String) : Unit
Methods inherited from Component
xLayoutAlignment, xLayoutAlignment_=, yLayoutAlignment, yLayoutAlignment_=, border, border_=, opaque, opaque_=, enabled, enabled_=, tooltip, tooltip_=, inputVerifier, inputVerifier_=, focusable, focusable_=, requestFocus, requestFocusInWindow, hasFocus, onFirstSubscribe, revalidate, paintComponent, paintBorder, paintChildren, paint, toString
Methods inherited from UIElement
self, foreground, foreground_=, background, background_=, minimumSize, minimumSize_=, maximumSize, maximumSize_=, preferredSize, preferredSize_=, preferredSize_=, font, font_=, locationOnScreen, location, bounds, size, size_=, size_=, locale, toolkit, cursor, cursor_=, visible, visible_=, showing, displayable, repaint, repaint, ignoreRepaint, ignoreRepaint_=, onLastUnsubscribe
Methods inherited from scala.swing.LazyPublisher
scala.swing.LazyPublisher.subscribe, scala.swing.LazyPublisher.unsubscribe
Methods inherited from Publisher
publish
Methods inherited from Reactor
listenTo, deafTo
Methods inherited from Proxy
hashCode, equals
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
class Caret extends Publisher
Object Summary
object caret extends Caret
Value Details
override lazy val peer : javax.swing.text.JTextComponent
The underlying Swing peer.
Overrides
Component.peer

Method Details
def text : java.lang.String

def text_=(t : java.lang.String) : Unit

def editable : Boolean

def editable_=(x : Boolean) : Unit

def cut : Unit

def copy : Unit

def selected : java.lang.String

def selectAll : Unit