Scala Library
|
|
scala/swing/Table.scala
]
class
Table
extends
WrapperAdditional Constructor Summary | |
def
|
this (rows : Int, columns : Int) : Table |
def
|
this (rowData : Array[Array[Any]], columnNames : Seq[Any]) : Table |
Value Summary | |
protected val
|
modelListener : javax.swing.event.TableModelListener |
override lazy val
|
peer
: javax.swing.JTable
The underlying Swing peer.
|
Values and Variables inherited from Component | |
initP, Mouse |
Values and Variables inherited from Publisher | |
listeners |
Values and Variables inherited from Reactor | |
reactions |
Method Summary | |
def
|
apply
(row : Int, column : Int) : Any
Get the current value of the given cell.
The given cell coordinates are in view coordinates and thus not
necessarily the same as for the model.
|
def
|
autoResizeMode : Value |
def
|
autoResizeMode_= (x : Value) : Unit |
protected def
|
editor (row : Int, column : Int) : javax.swing.table.TableCellEditor |
def
|
gridColor : java.awt.Color |
def
|
gridColor_= (color : java.awt.Color) : Unit |
def
|
model : javax.swing.table.TableModel |
def
|
modelToViewColumn (idx : Int) : Int |
def
|
model_= (x : javax.swing.table.TableModel) : Unit |
def
|
preferredViewportSize_= (dim : java.awt.Dimension) : Unit |
protected def
|
rendererComponent
(isSelected : Boolean, focused : Boolean, row : Int, column : Int) : Component
Supplies a renderer component for a given cell.
|
def
|
rowCount : Int |
def
|
rowHeight : Int |
def
|
rowHeight_= (x : Int) : Unit |
protected def
|
scrollablePeer : javax.swing.JTable |
def
|
selectionBackground : java.awt.Color |
def
|
selectionBackground_= (c : java.awt.Color) : Unit |
def
|
selectionForeground : java.awt.Color |
def
|
selectionForeground_= (c : java.awt.Color) : Unit |
def
|
showGrid : Boolean |
def
|
showGrid_= (grid : Boolean) : Unit |
def
|
update
(row : Int, column : Int, value : Any) : Unit
Change the value of the given cell.
|
def
|
updateCell
(row : Int, column : Int) : Unit
Visually update the given cell.
|
def
|
viewToModelColumn (idx : Int) : Int |
Methods inherited from Wrapper | |
preferredViewportSize, tracksViewportHeight, tracksViewportWidth, blockIncrement, unitIncrement |
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, displayable, repaint, repaint, ignoreRepaint, ignoreRepaint_=, onLastUnsubscribe |
Methods inherited from scala.swing.LazyPublisher | |
scala.swing.LazyPublisher.subscribe, scala.swing.LazyPublisher.unsubscribe |
Methods inherited from Publisher | |
publish |
Methods inherited from Reactor | |
listenTo, deafTo |
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 |
Object Summary | |
object
|
selection
extends Publisher
|
Additional Constructor Details |
Value Details |
override
lazy val
peer : javax.swing.JTable
protected
val
modelListener : javax.swing.event.TableModelListener
Method Details |
protected
def
scrollablePeer : javax.swing.JTable
def
rowHeight : Int
def
rowCount : Int
def
model : javax.swing.table.TableModel
def
model_=(x : javax.swing.table.TableModel) : Unit
def
autoResizeMode : Value
def
showGrid : Boolean
def
gridColor : java.awt.Color
def
gridColor_=(color : java.awt.Color) : Unit
def
preferredViewportSize_=(dim : java.awt.Dimension) : Unit
protected
def
rendererComponent(isSelected : Boolean, focused : Boolean, row : Int, column : Int) : Component
protected
def
editor(row : Int, column : Int) : javax.swing.table.TableCellEditor
def
selectionForeground : java.awt.Color
def
selectionForeground_=(c : java.awt.Color) : Unit
def
selectionBackground : java.awt.Color
def
selectionBackground_=(c : java.awt.Color) : Unit
Scala Library
|
|