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
- Alphabetic
- By Inheritance
- ScrollPane
- Container
- Component
- UIElement
- LazyPublisher
- Publisher
- Reactor
- Proxy
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
object
keys extends Publisher
- Definition Classes
- Component
-
object
mouse
Contains publishers for various mouse events.
Contains publishers for various mouse events. They are separated for efficiency reasons.
- Definition Classes
- Component
-
def
background: Color
- Definition Classes
- UIElement
-
def
background_=(c: Color): Unit
- Definition Classes
- UIElement
-
def
border: Border
- Definition Classes
- Component
-
def
border_=(b: Border): Unit
- Definition Classes
- Component
-
def
bounds: Rectangle
- Definition Classes
- UIElement
- def columnHeaderView: Option[Component]
- def columnHeaderView_=(c: Option[Component]): Unit
- def columnHeaderView_=(c: Component): Unit
-
def
componentOrientation: ComponentOrientation
- Definition Classes
- UIElement
-
def
componentOrientation_=(x: ComponentOrientation): Unit
- Definition Classes
- UIElement
-
def
contents: Seq[Component]
The child components of this container.
The child components of this container.
- Definition Classes
- ScrollPane → Container
-
def
contents_=(c: Component): Unit
Sets the single child.
-
def
cursor: Cursor
- Definition Classes
- UIElement
-
def
cursor_=(c: Cursor): Unit
- Definition Classes
- UIElement
-
def
deafTo(ps: Publisher*): Unit
Installed reaction won't receive events from the given publisher anylonger.
Installed reaction won't receive events from the given publisher anylonger.
- Definition Classes
- Reactor
-
def
displayable: Boolean
- Definition Classes
- UIElement
-
def
enabled: Boolean
- Definition Classes
- Component
-
def
enabled_=(b: Boolean): Unit
- Definition Classes
- Component
-
def
equals(that: Any): Boolean
- Definition Classes
- Proxy → Any
-
def
focusable: Boolean
- Definition Classes
- Component
-
def
focusable_=(b: Boolean): Unit
- Definition Classes
- Component
-
def
font: Font
- Definition Classes
- UIElement
-
def
font_=(f: Font): Unit
- Definition Classes
- UIElement
-
def
foreground: Color
- Definition Classes
- UIElement
-
def
foreground_=(c: Color): Unit
- Definition Classes
- UIElement
-
def
hasFocus: Boolean
- Definition Classes
- Component
-
def
hashCode(): Int
- Definition Classes
- Proxy → Any
- def horizontalScrollBar: ScrollBar
- def horizontalScrollBarPolicy: Value
- def horizontalScrollBarPolicy_=(p: Value): Unit
-
def
ignoreRepaint: Boolean
- Definition Classes
- UIElement
-
def
ignoreRepaint_=(b: Boolean): Unit
- Definition Classes
- UIElement
-
var
initP: JComponent
- Definition Classes
- Component
-
def
inputVerifier: (Component) ⇒ Boolean
- Definition Classes
- Component
-
def
inputVerifier_=(v: (Component) ⇒ Boolean): Unit
- Definition Classes
- Component
-
def
listenTo(ps: Publisher*): Unit
Listen to the given publisher as long as
deafTo
isn't called for them.Listen to the given publisher as long as
deafTo
isn't called for them.- Definition Classes
- Reactor
-
def
locale: Locale
- Definition Classes
- UIElement
-
def
location: Point
- Definition Classes
- UIElement
-
def
locationOnScreen: Point
- Definition Classes
- UIElement
-
def
maximumSize: Dimension
- Definition Classes
- UIElement
-
def
maximumSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
-
def
minimumSize: Dimension
- Definition Classes
- UIElement
-
def
minimumSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
-
def
name: String
- Definition Classes
- Component
-
def
name_=(s: String): Unit
- Definition Classes
- Component
-
def
opaque: Boolean
- Definition Classes
- Component
-
def
opaque_=(b: Boolean): Unit
- Definition Classes
- Component
-
def
paint(g: Graphics2D): Unit
- Definition Classes
- Component
-
lazy val
peer: JScrollPane
The underlying Swing peer.
The underlying Swing peer.
- Definition Classes
- ScrollPane → Component → UIElement
-
def
preferredSize: Dimension
- Definition Classes
- UIElement
-
def
preferredSize_=(x: Dimension): Unit
- Definition Classes
- UIElement
-
def
publish(e: Event): Unit
Notify all registered reactions.
Notify all registered reactions.
- Definition Classes
- Publisher
-
val
reactions: Reactions
All reactions of this reactor.
All reactions of this reactor.
- Definition Classes
- Reactor
-
def
repaint(rect: Rectangle): Unit
- Definition Classes
- UIElement
-
def
repaint(): Unit
- Definition Classes
- UIElement
-
def
requestFocus(): Unit
- Definition Classes
- Component
-
def
requestFocusInWindow(): Boolean
- Definition Classes
- Component
-
def
revalidate(): Unit
- Definition Classes
- Component
-
def
rowHeaderView: Option[Component]
The component being displayed in this pane's row header.
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
self: java.awt.Component
- Definition Classes
- UIElement → Proxy
-
def
showing: Boolean
- Definition Classes
- UIElement
-
def
size: Dimension
- Definition Classes
- UIElement
-
def
subscribe(listener: Reaction): Unit
- Definition Classes
- LazyPublisher → Publisher
-
def
toString(): String
- Definition Classes
- Component → Proxy → AnyRef → Any
-
def
toolkit: Toolkit
- Definition Classes
- UIElement
-
def
tooltip: String
- Definition Classes
- Component
-
def
tooltip_=(t: String): Unit
- Definition Classes
- Component
-
def
unsubscribe(listener: Reaction): Unit
- Definition Classes
- LazyPublisher → Publisher
-
def
validate(): Unit
- Definition Classes
- UIElement
- def verticalScrollBar: ScrollBar
- def verticalScrollBarPolicy: Value
- def verticalScrollBarPolicy_=(p: Value): Unit
- def viewportView: Option[Component]
- def viewportView_=(c: Option[Component]): Unit
- def viewportView_=(c: Component): Unit
-
def
visible: Boolean
- Definition Classes
- UIElement
-
def
visible_=(b: Boolean): Unit
- Definition Classes
- UIElement
-
def
xLayoutAlignment: Double
Used by certain layout managers, e.g., BoxLayout or OverlayLayout to align components relative to each other.
Used by certain layout managers, e.g., BoxLayout or OverlayLayout to align components relative to each other.
- Definition Classes
- Component
-
def
xLayoutAlignment_=(x: Double): Unit
- Definition Classes
- Component
-
def
yLayoutAlignment: Double
- Definition Classes
- Component
-
def
yLayoutAlignment_=(y: Double): Unit
- Definition Classes
- Component