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

Linear Supertypes
Container, Component, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScrollPane
  2. Container
  3. Component
  4. UIElement
  5. LazyPublisher
  6. Publisher
  7. Reactor
  8. Proxy
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScrollPane(c: Component)
  2. new ScrollPane()

Value Members

  1. object keys extends Publisher
    Definition Classes
    Component
  2. object mouse

    Contains publishers for various mouse events.

    Contains publishers for various mouse events. They are separated for efficiency reasons.

    Definition Classes
    Component
  3. def background: Color
    Definition Classes
    UIElement
  4. def background_=(c: Color): Unit
    Definition Classes
    UIElement
  5. def border: Border
    Definition Classes
    Component
  6. def border_=(b: Border): Unit
    Definition Classes
    Component
  7. def bounds: Rectangle
    Definition Classes
    UIElement
  8. def columnHeaderView: Option[Component]
  9. def columnHeaderView_=(c: Option[Component]): Unit
  10. def columnHeaderView_=(c: Component): Unit
  11. def componentOrientation: ComponentOrientation
    Definition Classes
    UIElement
  12. def componentOrientation_=(x: ComponentOrientation): Unit
    Definition Classes
    UIElement
  13. def contents: Seq[Component]

    The child components of this container.

    The child components of this container.

    Definition Classes
    ScrollPaneContainer
  14. def contents_=(c: Component): Unit

    Sets the single child.

  15. def cursor: Cursor
    Definition Classes
    UIElement
  16. def cursor_=(c: Cursor): Unit
    Definition Classes
    UIElement
  17. 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
  18. def displayable: Boolean
    Definition Classes
    UIElement
  19. def enabled: Boolean
    Definition Classes
    Component
  20. def enabled_=(b: Boolean): Unit
    Definition Classes
    Component
  21. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  22. def focusable: Boolean
    Definition Classes
    Component
  23. def focusable_=(b: Boolean): Unit
    Definition Classes
    Component
  24. def font: Font
    Definition Classes
    UIElement
  25. def font_=(f: Font): Unit
    Definition Classes
    UIElement
  26. def foreground: Color
    Definition Classes
    UIElement
  27. def foreground_=(c: Color): Unit
    Definition Classes
    UIElement
  28. def hasFocus: Boolean
    Definition Classes
    Component
  29. def hashCode(): Int
    Definition Classes
    Proxy → Any
  30. def horizontalScrollBar: ScrollBar
  31. def horizontalScrollBarPolicy: Value
  32. def horizontalScrollBarPolicy_=(p: Value): Unit
  33. def ignoreRepaint: Boolean
    Definition Classes
    UIElement
  34. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  35. var initP: JComponent
    Definition Classes
    Component
  36. def inputVerifier: (Component) ⇒ Boolean
    Definition Classes
    Component
  37. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit
    Definition Classes
    Component
  38. 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
  39. def locale: Locale
    Definition Classes
    UIElement
  40. def location: Point
    Definition Classes
    UIElement
  41. def locationOnScreen: Point
    Definition Classes
    UIElement
  42. def maximumSize: Dimension
    Definition Classes
    UIElement
  43. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  44. def minimumSize: Dimension
    Definition Classes
    UIElement
  45. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  46. def name: String
    Definition Classes
    Component
  47. def name_=(s: String): Unit
    Definition Classes
    Component
  48. def opaque: Boolean
    Definition Classes
    Component
  49. def opaque_=(b: Boolean): Unit
    Definition Classes
    Component
  50. def paint(g: Graphics2D): Unit
    Definition Classes
    Component
  51. lazy val peer: JScrollPane

    The underlying Swing peer.

    The underlying Swing peer.

    Definition Classes
    ScrollPaneComponentUIElement
  52. def preferredSize: Dimension
    Definition Classes
    UIElement
  53. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  54. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  55. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  56. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  57. def repaint(): Unit
    Definition Classes
    UIElement
  58. def requestFocus(): Unit
    Definition Classes
    Component
  59. def requestFocusInWindow(): Boolean
    Definition Classes
    Component
  60. def revalidate(): Unit
    Definition Classes
    Component
  61. 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.

  62. def rowHeaderView_=(c: Option[Component]): Unit
  63. def rowHeaderView_=(c: Component): Unit
  64. def self: java.awt.Component
    Definition Classes
    UIElement → Proxy
  65. def showing: Boolean
    Definition Classes
    UIElement
  66. def size: Dimension
    Definition Classes
    UIElement
  67. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  68. def toString(): String
    Definition Classes
    Component → Proxy → AnyRef → Any
  69. def toolkit: Toolkit
    Definition Classes
    UIElement
  70. def tooltip: String
    Definition Classes
    Component
  71. def tooltip_=(t: String): Unit
    Definition Classes
    Component
  72. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  73. def validate(): Unit
    Definition Classes
    UIElement
  74. def verticalScrollBar: ScrollBar
  75. def verticalScrollBarPolicy: Value
  76. def verticalScrollBarPolicy_=(p: Value): Unit
  77. def viewportView: Option[Component]
  78. def viewportView_=(c: Option[Component]): Unit
  79. def viewportView_=(c: Component): Unit
  80. def visible: Boolean
    Definition Classes
    UIElement
  81. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement
  82. 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
  83. def xLayoutAlignment_=(x: Double): Unit
    Definition Classes
    Component
  84. def yLayoutAlignment: Double
    Definition Classes
    Component
  85. def yLayoutAlignment_=(y: Double): Unit
    Definition Classes
    Component