class ListView[A] extends Component

A component that displays a number of elements in a list. A list view does not support inline editing of items. If you need it, use a table view instead.

Named ListView to avoid a clash with the frequently used scala.List

See also

javax.swing.JList

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

Instance Constructors

  1. new ListView(items: Seq[A])
  2. new ListView()

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 componentOrientation: ComponentOrientation
    Definition Classes
    UIElement
  9. def componentOrientation_=(x: ComponentOrientation): Unit
    Definition Classes
    UIElement
  10. def cursor: Cursor
    Definition Classes
    UIElement
  11. def cursor_=(c: Cursor): Unit
    Definition Classes
    UIElement
  12. 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
  13. def displayable: Boolean
    Definition Classes
    UIElement
  14. def enabled: Boolean
    Definition Classes
    Component
  15. def enabled_=(b: Boolean): Unit
    Definition Classes
    Component
  16. def ensureIndexIsVisible(idx: Int): Unit
  17. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  18. def fixedCellHeight: Int
  19. def fixedCellHeight_=(x: Int): Unit
  20. def fixedCellWidth: Int
  21. def fixedCellWidth_=(x: Int): Unit
  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 ignoreRepaint: Boolean
    Definition Classes
    UIElement
  31. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  32. var initP: JComponent
    Definition Classes
    Component
  33. def inputVerifier: (Component) ⇒ Boolean
    Definition Classes
    Component
  34. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit
    Definition Classes
    Component
  35. def listData: Seq[A]
  36. def listData_=(items: Seq[A]): Unit
  37. 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
  38. def locale: Locale
    Definition Classes
    UIElement
  39. def location: Point
    Definition Classes
    UIElement
  40. def locationOnScreen: Point
    Definition Classes
    UIElement
  41. def maximumSize: Dimension
    Definition Classes
    UIElement
  42. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  43. def minimumSize: Dimension
    Definition Classes
    UIElement
  44. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  45. def name: String
    Definition Classes
    Component
  46. def name_=(s: String): Unit
    Definition Classes
    Component
  47. def opaque: Boolean
    Definition Classes
    Component
  48. def opaque_=(b: Boolean): Unit
    Definition Classes
    Component
  49. def paint(g: Graphics2D): Unit
    Definition Classes
    Component
  50. lazy val peer: JList[A]

    The underlying Swing peer.

    The underlying Swing peer.

    Definition Classes
    ListViewComponentUIElement
  51. def preferredSize: Dimension
    Definition Classes
    UIElement
  52. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  53. def prototypeCellValue: A
  54. def prototypeCellValue_=(a: A): Unit
  55. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  56. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  57. def renderer: Renderer[A]
  58. def renderer_=(r: Renderer[A]): Unit
  59. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  60. def repaint(): Unit
    Definition Classes
    UIElement
  61. def requestFocus(): Unit
    Definition Classes
    Component
  62. def requestFocusInWindow(): Boolean
    Definition Classes
    Component
  63. def revalidate(): Unit
    Definition Classes
    Component
  64. def selectIndices(ind: Int*): Unit
  65. def selectionBackground: Color
  66. def selectionBackground_=(c: Color): Unit
  67. def selectionForeground: Color
  68. def selectionForeground_=(c: Color): Unit
  69. def self: java.awt.Component
    Definition Classes
    UIElement → Proxy
  70. def showing: Boolean
    Definition Classes
    UIElement
  71. def size: Dimension
    Definition Classes
    UIElement
  72. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  73. def toString(): String
    Definition Classes
    Component → Proxy → AnyRef → Any
  74. def toolkit: Toolkit
    Definition Classes
    UIElement
  75. def tooltip: String
    Definition Classes
    Component
  76. def tooltip_=(t: String): Unit
    Definition Classes
    Component
  77. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  78. def validate(): Unit
    Definition Classes
    UIElement
  79. def visible: Boolean
    Definition Classes
    UIElement
  80. def visibleRowCount: Int
  81. def visibleRowCount_=(n: Int): Unit
  82. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement
  83. 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
  84. def xLayoutAlignment_=(x: Double): Unit
    Definition Classes
    Component
  85. def yLayoutAlignment: Double
    Definition Classes
    Component
  86. def yLayoutAlignment_=(y: Double): Unit
    Definition Classes
    Component
  87. object selection extends Publisher

    The current item selection.