scala.swing

class ScrollPane

[source: scala/swing/ScrollPane.scala]

class ScrollPane
extends Component with Container
Can have at most a single child component, which will be put inside a canvas (the viewport) that can be scrolled.
See Also
javax.swing.JScrollPane
Additional Constructor Summary
def this (c : Component) : ScrollPane
Value Summary
override lazy val peer : javax.swing.JScrollPane
Values and Variables inherited from Component
initP
Values and Variables inherited from Publisher
listeners
Values and Variables inherited from Reactor
reactions
Method Summary
def contents : Seq[Component]
def contents_= (c : Component) : Unit
Sets the single child.
def rowHeaderView : Option[Component]
The component being displayed in this pane's row header. If you want to create a row header for lists or tables, you probably want to let the row header be a list view with the same row height as the viewport component.
def rowHeaderView_= (c : Option[Component]) : Unit
def rowHeaderView_= (c : Component) : Unit
def viewportView : Option[Component]
def viewportView_= (c : Component) : Unit
def viewportView_= (c : Option[Component]) : 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
Additional Constructor Details
def this(c : Component) : ScrollPane

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

Method Details
def contents : Seq[Component]
Overrides
Container.contents

def contents_=(c : Component) : Unit
Sets the single child.

def rowHeaderView : Option[Component]
The component being displayed in this pane's row header. If you want to create a row header for lists or tables, you probably want to let the row header be a list view with the same row height as the viewport component.

def rowHeaderView_=(c : Component) : Unit

def rowHeaderView_=(c : Option[Component]) : Unit

def viewportView : Option[Component]

def viewportView_=(c : Component) : Unit

def viewportView_=(c : Option[Component]) : Unit