scala.swing

class TextComponent

[source: scala/swing/TextComponent.scala]

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

Value Summary
override lazy val peer : javax.swing.text.JTextComponent
Values and Variables inherited from Component
initP
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_=, revalidate, requestFocus, paintComponent, paint, toString
Methods inherited from Publisher
subscribe, unsubscribe, publish
Methods inherited from Reactor
listenTo, deafTo
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, repaint
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
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