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
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 columnHeaderView : Option[Component]
def columnHeaderView_= (c : Option[Component]) : Unit
def columnHeaderView_= (c : Component) : Unit
def contents : Sequence[Component]
The child components of this container.
def contents_= (c : Component) : Unit
Sets the single child.
def horizontalScrollBarPolicy : Value
def horizontalScrollBarPolicy_= (p : Value) : Unit
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 verticalScrollBarPolicy : Value
def verticalScrollBarPolicy_= (p : Value) : Unit
def viewportView : Option[Component]
def viewportView_= (c : Option[Component]) : Unit
def viewportView_= (c : Component) : Unit
Methods inherited from Component
xLayoutAlignment, xLayoutAlignment_=, yLayoutAlignment, yLayoutAlignment_=, border, border_=, opaque, opaque_=, enabled, enabled_=, tooltip, tooltip_=, inputVerifier, inputVerifier_=, focusable, focusable_=, requestFocus, requestFocusInWindow, hasFocus, onFirstSubscribe, revalidate, paintComponent, paint, toString
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
Additional Constructor Details
def this(c : Component) : ScrollPane

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

Method Details
def contents : Sequence[Component]
The child components of this container.
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 columnHeaderView : Option[Component]

def columnHeaderView_=(c : Component) : Unit

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

def viewportView : Option[Component]

def viewportView_=(c : Component) : Unit

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

def verticalScrollBarPolicy : Value

def verticalScrollBarPolicy_=(p : Value) : Unit

def horizontalScrollBarPolicy : Value

def horizontalScrollBarPolicy_=(p : Value) : Unit