Scala 2.7.2.final API

This document is the API specification for Scala Library

Class Summary
case class ActionEvent (val override source : Component) extends ComponentEvent with Product
trait AdjustingEvent extends ComponentEvent with AnyRef
An event that indicates some editing operation that can be still in progress. Example: dragging a slider creates a number of AdjustmentEvents with adjusting == true until the user finally releases the mouse button.
case class BackgroundChanged (val override source : Component) extends ComponentEvent with Product
case class ButtonClicked (val override source : AbstractButton) extends ActionEvent
case class CaretUpdate (val override source : TextComponent) extends ComponentEvent with Product
case class ComponentAdded (val override source : Container, val child : Component) extends ContainerEvent with Product
trait ComponentEvent extends UIEvent
case class ComponentHidden (val override source : Component) extends ComponentEvent with Product
case class ComponentMoved (val override source : Component) extends ComponentEvent with Product
case class ComponentRemoved (val override source : Container, val child : Component) extends ContainerEvent with Product
case class ComponentResized (val override source : Component) extends ComponentEvent with Product
case class ComponentShown (val override source : Component) extends ComponentEvent with Product
abstract class ContainerEvent (val override source : Container) extends UIEvent with AnyRef
case class EditDone (val override source : TextField) extends ValueChanged
trait Event extends AnyRef
abstract class FocusEvent (val override source : Component, val other : Option[Component], val temporary : Boolean) extends ComponentEvent with AnyRef
The other component is None if it is a non Swing, i.e., AWT or native, component.
case class FocusGained (val override source : Component, val override other : Option[Component], val override temporary : Boolean) extends FocusEvent with Product
case class FocusLost (val override source : Component, val override other : Option[Component], val override temporary : Boolean) extends FocusEvent with Product
case class FontChanged (val override source : Component) extends ComponentEvent with Product
case class ForegroundChanged (val override source : Component) extends ComponentEvent with Product
trait InputEvent extends ComponentEvent
abstract class ListChange [A](val override source : ListView[A]) extends ListEvent[A] with AnyRef
class ListChanged [A](val override source : ListView[A]) extends ListChange[A]
class ListElementsAdded [A](val override source : ListView[A], val range : Range) extends ListChange[A]
class ListElementsRemoved [A](val override source : ListView[A], val range : Range) extends ListChange[A]
trait ListEvent [A] extends ComponentEvent
case class ListSelectionChanged [A](val override source : ListView[A], val range : Range, val live : Boolean) extends SelectionChanged with ListEvent[A]
trait ListSelectionEvent extends SelectionEvent
class MouseButtonEvent (source : Component, point : java.awt.Point, val override modifiers : Int, clicks : Int, triggersPopup : Boolean, when : Long) extends MouseEvent
case class MouseClicked (val override source : Component, val point : java.awt.Point, val override modifiers : Int, val clicks : Int, val triggersPopup : Boolean, when : Long) extends MouseButtonEvent with Product
case class MouseDragged (val override source : Component, val point : java.awt.Point, val override modifiers : Int, when : Long) extends MouseMotionEvent with Product
case class MouseEntered (val override source : Component, val point : java.awt.Point, val override modifiers : Int, when : Long) extends MouseMotionEvent with Product
class MouseEvent (val source : Component, point : java.awt.Point, val modifiers : Int, val when : Long) extends InputEvent with AnyRef
case class MouseExited (val override source : Component, val point : java.awt.Point, val override modifiers : Int, when : Long) extends MouseMotionEvent with Product
class MouseMotionEvent (source : Component, point : java.awt.Point, modifiers : Int, when : Long) extends MouseEvent
case class MouseMoved (val override source : Component, val point : java.awt.Point, val override modifiers : Int, when : Long) extends MouseMotionEvent with Product
case class MousePressed (val override source : Component, val point : java.awt.Point, val override modifiers : Int, val clicks : Int, val triggersPopup : Boolean, when : Long) extends MouseButtonEvent with Product
case class MouseReleased (val override source : Component, val point : java.awt.Point, val override modifiers : Int, val clicks : Int, val triggersPopup : Boolean, when : Long) extends MouseButtonEvent with Product
case class MouseWheelMoved (val override source : Component, val point : java.awt.Point, val override modifiers : Int, val rotation : Int, when : Long) extends MouseEvent with Product
case class SelectionChanged (val override source : Component) extends SelectionEvent with Product
trait SelectionEvent extends ComponentEvent
abstract class TableChange (val override source : Table) extends TableEvent
case class TableChanged (val override source : Table) extends TableChange with Product
The table structure, i.e., the column order, names, and types stay the same, but anything else might have changed.
case class TableColumnsSelected (val override source : Table, val range : Range, val adjusting : Boolean) extends TableEvent with AdjustingEvent with ListSelectionEvent with Product
abstract class TableEvent (val override source : Table) extends ComponentEvent with AnyRef
case class TableResized (val override source : Table) extends TableChange with Product
Any change that caused the table to change it's size
case class TableRowsAdded (val override source : Table, val range : Range) extends TableResized
case class TableRowsRemoved (val override source : Table, val range : Range) extends TableResized
case class TableRowsSelected (val override source : Table, val range : Range, val adjusting : Boolean) extends TableEvent with AdjustingEvent with ListSelectionEvent with Product
case class TableStructureChanged (val override source : Table) extends TableChange with Product
The most general table change. The table might have changed completely, i.e., comlumns might have been reordered, rows added or removed, etc. No other event indicates that the structure might have changed.
case class TableUpdated (val override source : Table, val range : Range, val column : Int) extends TableChange with Product
The size of the table stays the same, but the given range of rows might have changed but only in the given column. A value of -1 for the column denotes all columns.
trait UIEvent extends Event
case class ValueChanged (val override source : Component) extends ComponentEvent with Product
case class WindowActivated (val override source : Frame) extends WindowEvent with Product
case class WindowClosed (val override source : Frame) extends WindowEvent with Product
case class WindowClosing (val override source : Frame) extends WindowEvent with Product
case class WindowDeactivated (val override source : Frame) extends WindowEvent with Product
case class WindowDeiconified (val override source : Frame) extends WindowEvent with Product
abstract class WindowEvent (val override source : Frame) extends UIEvent with AnyRef
case class WindowIconified (val override source : Frame) extends WindowEvent with Product
case class WindowOpened (val override source : Frame) extends WindowEvent with Product
Object Summary
object ActionEvent extends (Component) => ActionEvent
object BackgroundChanged extends (Component) => BackgroundChanged
object ButtonClicked extends (AbstractButton) => ButtonClicked
object CaretUpdate extends (TextComponent) => CaretUpdate
object ComponentAdded extends (Container, Component) => ComponentAdded
object ComponentHidden extends (Component) => ComponentHidden
object ComponentMoved extends (Component) => ComponentMoved
object ComponentRemoved extends (Container, Component) => ComponentRemoved
object ComponentResized extends (Component) => ComponentResized
object ComponentShown extends (Component) => ComponentShown
object EditDone extends (TextField) => EditDone
object FocusGained extends (Component, Option[Component], Boolean) => FocusGained
object FocusLost extends (Component, Option[Component], Boolean) => FocusLost
object FontChanged extends (Component) => FontChanged
object ForegroundChanged extends (Component) => ForegroundChanged
object ListChanged extends AnyRef
object ListElementsAdded extends AnyRef
object ListElementsRemoved extends AnyRef
object ListSelectionChanged extends AnyRef
object MouseClicked extends AnyRef
object MouseDragged extends AnyRef
object MouseEntered extends AnyRef
object MouseExited extends AnyRef
object MouseMoved extends AnyRef
object MousePressed extends AnyRef
object MouseReleased extends AnyRef
object MouseWheelMoved extends AnyRef
object SelectionChanged extends (Component) => SelectionChanged
object TableChanged extends (Table) => TableChanged
object TableColumnsSelected extends (Table, Range, Boolean) => TableColumnsSelected
object TableResized extends (Table) => TableResized
object TableRowsAdded extends (Table, Range) => TableRowsAdded
object TableRowsRemoved extends (Table, Range) => TableRowsRemoved
object TableRowsSelected extends (Table, Range, Boolean) => TableRowsSelected
object TableStructureChanged extends (Table) => TableStructureChanged
object TableUpdated extends (Table, Range, Int) => TableUpdated
object ValueChanged extends (Component) => ValueChanged
object WindowActivated extends (Frame) => WindowActivated
object WindowClosed extends (Frame) => WindowClosed
object WindowClosing extends (Frame) => WindowClosing
object WindowDeactivated extends (Frame) => WindowDeactivated
object WindowDeiconified extends (Frame) => WindowDeiconified
object WindowIconified extends (Frame) => WindowIconified
object WindowOpened extends (Frame) => WindowOpened