scala.swing

class Label

[source: scala/swing/Label.scala]

class Label(text0 : java.lang.String)
extends Component
A label component.
See Also
javax.swing.JLabel
Additional Constructor Summary
def this : Label
Value Summary
override lazy val peer : javax.swing.JLabel
Values and Variables inherited from Component
initP
Values and Variables inherited from Publisher
listeners
Values and Variables inherited from Reactor
reactions
Method Summary
def icon : javax.swing.Icon
def icon_= (i : javax.swing.Icon) : Unit
def text : java.lang.String
def text_= (s : java.lang.String) : Unit
def xAlignment : scala.Enumeration.Value
The alignment of the label's contents relative to its bounding box.
def xAlignment_= (x : scala.Enumeration.Value) : Unit
def yAlignment : scala.Enumeration.Value
def yAlignment_= (x : scala.Enumeration.Value) : Unit
Methods inherited from Component
xLayoutAlignment, xLayoutAlignment_=, yLayoutAlignment, yLayoutAlignment_=, border, border_=, opaque, opaque_=, enabled, enabled_=, tooltip, tooltip_=, inputVerifier, inputVerifier_=, revalidate, requestFocus, paintComponent, 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_=, font, font_=, locationOnScreen, location, bounds, size, size_=, size_=, locale, toolkit, cursor, cursor_=, visible, visible_=, showing, repaint
Methods inherited from scala.Proxy
scala.Proxy.hashCode, scala.Proxy.equals
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Additional Constructor Details
def this : Label

Value Details
override lazy val peer : javax.swing.JLabel
Overrides
Component.peer

Method Details
def text : java.lang.String

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

def icon : javax.swing.Icon

def icon_=(i : javax.swing.Icon) : Unit

def xAlignment : scala.Enumeration.Value
The alignment of the label's contents relative to its bounding box.

def xAlignment_=(x : scala.Enumeration.Value) : Unit

def yAlignment : scala.Enumeration.Value

def yAlignment_=(x : scala.Enumeration.Value) : Unit