scala.swing
Table
Instance constructors
-
new
Table
(
rows
: Int
,
columns
: Int
)
-
new
Table
(
rowData
: Array[Array[Any]]
,
columnNames
: Seq[_]
)
-
new
Table
()
Value Members
-
def
!=
(
arg0
: AnyRef
)
: Boolean
-
def
!=
(
arg0
: Any
)
: Boolean
-
def
##
()
: Int
-
def
$asInstanceOf
[T0]
()
: T0
-
def
$isInstanceOf
[T0]
()
: Boolean
-
def
==
(
arg0
: AnyRef
)
: Boolean
-
def
==
(
arg0
: Any
)
: Boolean
-
lazy val
Mouse
: mouse
-
def
apply
(
row
: Int
,
column
: Int
)
: Any
-
def
asInstanceOf
[T0]
: T0
-
def
autoResizeMode
: Value
-
def
autoResizeMode_=
(
x
: Value
)
: Unit
-
def
background
: Color
-
def
background_=
(
c
: Color
)
: Unit
-
def
blockIncrement
(
visibleRect
: Rectangle
,
orientation
: Value
,
direction
: Int
)
: Int
-
def
border
: Border
-
def
border_=
(
b
: Border
)
: Unit
-
def
bounds
: Rectangle
-
def
clone
()
: AnyRef
-
def
cursor
: Cursor
-
def
cursor_=
(
c
: Cursor
)
: Unit
-
-
def
displayable
: Boolean
-
def
editor
(
row
: Int
,
column
: Int
)
: TableCellEditor
-
-
def
enabled_=
(
b
: Boolean
)
: Unit
-
def
eq
(
arg0
: AnyRef
)
: Boolean
-
def
equals
(
that
: Any
)
: Boolean
-
def
finalize
()
: Unit
-
def
focusable
: Boolean
-
def
focusable_=
(
b
: Boolean
)
: Unit
-
def
font
: Font
-
def
font_=
(
f
: Font
)
: Unit
-
def
foreground
: Color
-
def
foreground_=
(
c
: Color
)
: Unit
-
def
getClass
()
: java.lang.Class[_ <: java.lang.Object]
-
def
gridColor
: Color
-
def
gridColor_=
(
color
: Color
)
: Unit
-
def
hasFocus
: Boolean
-
def
hashCode
()
: Int
-
def
ignoreRepaint
: Boolean
-
def
ignoreRepaint_=
(
b
: Boolean
)
: Unit
-
var
initP
: JComponent
-
-
-
def
isInstanceOf
[T0]
: Boolean
-
-
-
val
listeners
: RefSet[Reaction] {...}
-
def
locale
: Locale
-
def
location
: Point
-
def
locationOnScreen
: Point
-
def
maximumSize
: Dimension
-
def
maximumSize_=
(
x
: Dimension
)
: Unit
-
def
minimumSize
: Dimension
-
def
minimumSize_=
(
x
: Dimension
)
: Unit
-
def
model
: TableModel
-
val
modelListener
: TableModelListener
-
def
modelToViewColumn
(
idx
: Int
)
: Int
-
def
model_=
(
x
: TableModel
)
: Unit
-
-
def
name
: String
-
def
name_=
(
s
: String
)
: Unit
-
def
ne
(
arg0
: AnyRef
)
: Boolean
-
def
notify
()
: Unit
-
def
notifyAll
()
: Unit
-
def
onFirstSubscribe
()
: Unit
-
def
onLastUnsubscribe
()
: Unit
-
-
def
opaque_=
(
b
: Boolean
)
: Unit
-
def
paint
(
g
: Graphics2D
)
: Unit
-
def
paintBorder
(
g
: Graphics2D
)
: Unit
-
def
paintChildren
(
g
: Graphics2D
)
: Unit
-
def
paintComponent
(
g
: Graphics2D
)
: Unit
-
lazy val
peer
: JTable
-
def
preferredSize
: Dimension
-
def
preferredSize_=
(
x
: Dimension
)
: Unit
-
def
preferredViewportSize
: Dimension
-
def
preferredViewportSize_=
(
dim
: Dimension
)
: Unit
-
def
publish
(
e
: Event
)
: Unit
-
-
def
rendererComponent
(
isSelected
: Boolean
,
focused
: Boolean
,
row
: Int
,
column
: Int
)
: Component
-
def
repaint
(
rect
: Rectangle
)
: Unit
-
def
repaint
()
: Unit
-
def
requestFocus
()
: Unit
-
def
requestFocusInWindow
()
: Boolean
-
def
revalidate
()
: Unit
-
def
rowCount
: Int
-
def
rowHeight
: Int
-
def
rowHeight_=
(
x
: Int
)
: Unit
-
def
scrollablePeer
: JTable
-
-
def
selectionBackground
: Color
-
def
selectionBackground_=
(
c
: Color
)
: Unit
-
def
selectionForeground
: Color
-
def
selectionForeground_=
(
c
: Color
)
: Unit
-
def
self
: Component
-
def
showGrid
: Boolean
-
def
showGrid_=
(
grid
: Boolean
)
: Unit
-
-
def
size
: Dimension
-
def
size_=
(
dim
: Dimension
)
: Unit
-
def
subscribe
(
listener
: Reaction
)
: Unit
-
def
synchronized
[T0]
(
arg0
: ⇒ T0
)
: T0
-
def
toString
()
: String
-
def
toolkit
: Toolkit
-
def
tooltip
: String
-
def
tooltip_=
(
t
: String
)
: Unit
-
def
tracksViewportHeight
: Boolean
-
def
tracksViewportWidth
: Boolean
-
def
unitIncrement
(
visibleRect
: Rectangle
,
orientation
: Value
,
direction
: Int
)
: Int
-
def
unsubscribe
(
listener
: Reaction
)
: Unit
-
def
update
(
row
: Int
,
column
: Int
,
value
: Any
)
: Unit
-
def
updateCell
(
row
: Int
,
column
: Int
)
: Unit
-
def
viewToModelColumn
(
idx
: Int
)
: Int
-
-
def
visible_=
(
b
: Boolean
)
: Unit
-
def
wait
()
: Unit
-
def
wait
(
arg0
: Long
,
arg1
: Int
)
: Unit
-
def
wait
(
arg0
: Long
)
: Unit
-
def
xLayoutAlignment
: Double
-
def
xLayoutAlignment_=
(
x
: Double
)
: Unit
-
def
yLayoutAlignment
: Double
-
def
yLayoutAlignment_=
(
y
: Double
)
: Unit
Inherited from Wrapper
Value Members
-
def
blockIncrement
(
visibleRect
: Rectangle
,
orientation
: Value
,
direction
: Int
)
: Int
-
def
preferredViewportSize
: Dimension
-
def
tracksViewportHeight
: Boolean
-
def
tracksViewportWidth
: Boolean
-
def
unitIncrement
(
visibleRect
: Rectangle
,
orientation
: Value
,
direction
: Int
)
: Int
Value Members
-
lazy val
Mouse
: mouse
-
def
border
: Border
-
def
border_=
(
b
: Border
)
: Unit
-
-
def
enabled_=
(
b
: Boolean
)
: Unit
-
def
focusable
: Boolean
-
def
focusable_=
(
b
: Boolean
)
: Unit
-
def
hasFocus
: Boolean
-
var
initP
: JComponent
-
-
-
def
name
: String
-
def
name_=
(
s
: String
)
: Unit
-
def
onFirstSubscribe
()
: Unit
-
-
def
opaque_=
(
b
: Boolean
)
: Unit
-
def
paint
(
g
: Graphics2D
)
: Unit
-
def
paintBorder
(
g
: Graphics2D
)
: Unit
-
def
paintChildren
(
g
: Graphics2D
)
: Unit
-
def
paintComponent
(
g
: Graphics2D
)
: Unit
-
def
requestFocus
()
: Unit
-
def
requestFocusInWindow
()
: Boolean
-
def
revalidate
()
: Unit
-
def
toString
()
: String
-
def
tooltip
: String
-
def
tooltip_=
(
t
: String
)
: Unit
-
def
xLayoutAlignment
: Double
-
def
xLayoutAlignment_=
(
x
: Double
)
: Unit
-
def
yLayoutAlignment
: Double
-
def
yLayoutAlignment_=
(
y
: Double
)
: Unit
Value Members
-
def
background
: Color
-
def
background_=
(
c
: Color
)
: Unit
-
def
bounds
: Rectangle
-
def
cursor
: Cursor
-
def
cursor_=
(
c
: Cursor
)
: Unit
-
def
displayable
: Boolean
-
def
font
: Font
-
def
font_=
(
f
: Font
)
: Unit
-
def
foreground
: Color
-
def
foreground_=
(
c
: Color
)
: Unit
-
def
ignoreRepaint
: Boolean
-
def
ignoreRepaint_=
(
b
: Boolean
)
: Unit
-
def
locale
: Locale
-
def
location
: Point
-
def
locationOnScreen
: Point
-
def
maximumSize
: Dimension
-
def
maximumSize_=
(
x
: Dimension
)
: Unit
-
def
minimumSize
: Dimension
-
def
minimumSize_=
(
x
: Dimension
)
: Unit
-
def
onLastUnsubscribe
()
: Unit
-
def
preferredSize
: Dimension
-
def
preferredSize_=
(
x
: Dimension
)
: Unit
-
def
repaint
(
rect
: Rectangle
)
: Unit
-
def
repaint
()
: Unit
-
def
self
: Component
-
-
def
size
: Dimension
-
def
size_=
(
dim
: Dimension
)
: Unit
-
def
toolkit
: Toolkit
-
-
def
visible_=
(
b
: Boolean
)
: Unit
Inherited from LazyPublisher
Value Members
-
def
subscribe
(
listener
: Reaction
)
: Unit
-
def
unsubscribe
(
listener
: Reaction
)
: Unit
Value Members
-
val
listeners
: RefSet[Reaction] {...}
-
def
publish
(
e
: Event
)
: Unit
Inherited from Proxy
Value Members
-
def
equals
(
that
: Any
)
: Boolean
-
def
hashCode
()
: Int
Inherited from AnyRef
Value Members
-
def
!=
(
arg0
: AnyRef
)
: Boolean
-
def
##
()
: Int
-
def
$asInstanceOf
[T0]
()
: T0
-
def
$isInstanceOf
[T0]
()
: Boolean
-
def
==
(
arg0
: AnyRef
)
: Boolean
-
def
clone
()
: AnyRef
-
def
eq
(
arg0
: AnyRef
)
: Boolean
-
def
finalize
()
: Unit
-
def
getClass
()
: java.lang.Class[_ <: java.lang.Object]
-
def
ne
(
arg0
: AnyRef
)
: Boolean
-
def
notify
()
: Unit
-
def
notifyAll
()
: Unit
-
def
synchronized
[T0]
(
arg0
: ⇒ T0
)
: T0
-
def
wait
()
: Unit
-
def
wait
(
arg0
: Long
,
arg1
: Int
)
: Unit
-
def
wait
(
arg0
: Long
)
: Unit
Inherited from Any
Value Members
-
def
!=
(
arg0
: Any
)
: Boolean
-
def
==
(
arg0
: Any
)
: Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
isInstanceOf
[T0]
: Boolean
Displays a matrix of items.
To obtain a scrollable table or row and columns headers, wrap the table in a scroll pane.