scala.swing

class ListView

[source: scala/swing/ListView.scala]

class ListView[A]
extends Component
A component that displays a number of elements in a list. A list view does not support inline editing of items. If you need it, use a table view instead. Named ListView to avoid a clash with the frequently used scala.List
See Also
javax.swing.JList
Additional Constructor Summary
def this (items : Seq[A]) : ListView[A]
Value Summary
override lazy val peer : javax.swing.JList
Values and Variables inherited from Component
initP
Values and Variables inherited from Publisher
listeners
Values and Variables inherited from Reactor
reactions
Method Summary
def fixedCellHeight : Int
def fixedCellHeight_= (x : Int) : Unit
def fixedCellWidth : Int
def fixedCellWidth_= (x : Int) : Unit
def listData : Seq[A]
def listData_= (items : Seq[A]) : Unit
def prototypeCellValue : A
def prototypeCellValue_= (a : A) : Unit
def renderer : Renderer[A]
def renderer_= (r : Renderer[A]) : Unit
def selectionBackground : java.awt.Color
def selectionBackground_= (c : java.awt.Color) : Unit
def selectionForeground : java.awt.Color
def selectionForeground_= (c : java.awt.Color) : 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
protected class ModelWrapper (val items : Seq[A]) extends javax.swing.AbstractListModel with AnyRef
Object Summary
object selection extends Publisher
The current item selection.
Additional Constructor Details
def this(items : Seq[A]) : ListView[A]

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

Method Details
def listData : Seq[A]

def listData_=(items : Seq[A]) : Unit

def renderer : Renderer[A]

def renderer_=(r : Renderer[A]) : Unit

def fixedCellWidth : Int

def fixedCellWidth_=(x : Int) : Unit

def fixedCellHeight : Int

def fixedCellHeight_=(x : Int) : Unit

def prototypeCellValue : A

def prototypeCellValue_=(a : A) : Unit

def selectionForeground : java.awt.Color

def selectionForeground_=(c : java.awt.Color) : Unit

def selectionBackground : java.awt.Color

def selectionBackground_=(c : java.awt.Color) : Unit