Scala Library
|
|
scala/swing/ListView.scala
]
abstract
class
AbstractRenderer[-A, C <: Component](protected val
component : C)
extends
Renderer[A]Method Summary | |
def
|
componentFor
(list : ListView[Any], isSelected : Boolean, focused : Boolean, a : A, index : Int) : Component
Configures the component before returning it.
|
abstract def
|
configure
(list : ListView[Any], isSelected : Boolean, focused : Boolean, a : A, index : Int) : Unit
Configuration that is specific to the component and this renderer.
|
def
|
preConfigure
(list : ListView[Any], isSelected : Boolean, focused : Boolean, a : A, index : Int) : Unit
Standard preconfiguration that is commonly done for any component.
This includes foreground and background colors, as well as colors
of item selections.
|
Methods inherited from Renderer | |
peer |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
preConfigure(list : ListView[Any], isSelected : Boolean, focused : Boolean, a : A, index : Int) : Unit
abstract
def
configure(list : ListView[Any], isSelected : Boolean, focused : Boolean, a : A, index : Int) : Unit
def
componentFor(list : ListView[Any], isSelected : Boolean, focused : Boolean, a : A, index : Int) : Component
Scala Library
|
|