Can have at most a single child component, which will be put inside a canvas (the viewport) that can be scrolled.
- î
object keys extends Publisher
- î
object mouse
Contains publishers for various mouse events.
Contains publishers for various mouse events. They are separated for efficiency reasons.
-
Definition Classes
-
Component
- î
final def !=(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
- î
final def ##(): Int
-
Definition Classes
-
AnyRef â Any
- î
final def ==(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
- î
final def asInstanceOf[T0]: T0
- î
def background: Color
- î
def background_=(c: Color): Unit
- î
def border: Border
- î
def border_=(b: Border): Unit
- î
def bounds: Rectangle
- î
def clone(): AnyRef
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@native() @throws( ... )
- î
def columnHeaderView: Option[Component]
- î
def columnHeaderView_=(c: Option[Component]): Unit
- î
def columnHeaderView_=(c: Component): Unit
- î
def componentOrientation: ComponentOrientation
- î
def componentOrientation_=(x: ComponentOrientation): Unit
- î
def contents: Seq[Component]
The child components of this container.
- î
def contents_=(c: Component): Unit
Sets the single child.
- î
def cursor: Cursor
- î
def cursor_=(c: Cursor): Unit
- î
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
- î
def enabled: Boolean
- î
def enabled_=(b: Boolean): Unit
- î
final def eq(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
- î
def equals(that: Any): Boolean
-
Definition Classes
-
Proxy â Any
- î
def finalize(): Unit
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( classOf[java.lang.Throwable] )
- î
def focusable: Boolean
- î
def focusable_=(b: Boolean): Unit
- î
def font: Font
- î
def font_=(f: Font): Unit
- î
def foreground: Color
- î
def foreground_=(c: Color): Unit
- î
final def getClass(): Class[_]
-
Definition Classes
-
AnyRef â Any
-
Annotations
-
@native()
- î
def hasFocus: Boolean
- î
def hashCode(): Int
-
Definition Classes
-
Proxy â Any
- î
def horizontalScrollBar: ScrollBar
- î
def horizontalScrollBarPolicy: Value
- î
def horizontalScrollBarPolicy_=(p: Value): Unit
- î
def ignoreRepaint: Boolean
- î
def ignoreRepaint_=(b: Boolean): Unit
- î
var initP: JComponent
- î
def inputVerifier: (Component) â Boolean
- î
def inputVerifier_=(v: (Component) â Boolean): Unit
- î
final def isInstanceOf[T0]: Boolean
- î
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
- î
val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }
-
Attributes
-
protected
-
Definition Classes
-
Publisher
- î
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 name: String
- î
def name_=(s: String): Unit
- î
final def ne(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
- î
final def notify(): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@native()
- î
final def notifyAll(): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@native()
- î
def onFirstSubscribe(): Unit
- î
def onLastUnsubscribe(): Unit
-
Attributes
-
protected
-
Definition Classes
-
UIElement â LazyPublisher
- î
def opaque: Boolean
- î
def opaque_=(b: Boolean): Unit
- î
def paint(g: Graphics2D): Unit
- î
def paintBorder(g: Graphics2D): Unit
-
Attributes
-
protected
-
Definition Classes
-
Component
- î
def paintChildren(g: Graphics2D): Unit
-
Attributes
-
protected
-
Definition Classes
-
Component
- î
def paintComponent(g: Graphics2D): Unit
For custom painting, users should usually override this method.
For custom painting, users should usually override this method.
-
Attributes
-
protected
-
Definition Classes
-
Component
- î
lazy val peer: JScrollPane
The underlying Swing peer.
- î
def preferredSize: Dimension
- î
def preferredSize_=(x: Dimension): Unit
- î
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
- î
def repaint(): Unit
- î
def requestFocus(): Unit
- î
def requestFocusInWindow(): Boolean
- î
def revalidate(): Unit
- î
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
- î
def showing: Boolean
- î
def size: Dimension
- î
def subscribe(listener: Reaction): Unit
-
Definition Classes
-
LazyPublisher â Publisher
- î
final def synchronized[T0](arg0: â T0): T0
-
Definition Classes
-
AnyRef
- î
def toString(): String
-
Definition Classes
-
Component â Proxy â AnyRef â Any
- î
def toolkit: Toolkit
- î
def tooltip: String
- î
def tooltip_=(t: String): Unit
- î
def unsubscribe(listener: Reaction): Unit
-
Definition Classes
-
LazyPublisher â Publisher
- î
def validate(): Unit
- î
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
- î
def visible_=(b: Boolean): Unit
- î
final def wait(): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
- î
final def wait(arg0: Long, arg1: Int): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
- î
final def wait(arg0: Long): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@native() @throws( ... )
- î
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
- î
def yLayoutAlignment: Double
- î
def yLayoutAlignment_=(y: Double): Unit