class Table extends Component with Wrapper

Displays a matrix of items.

To obtain a scrollable table or row and columns headers, wrap the table in a scroll pane.

See also

javax.swing.JTable

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

Instance Constructors

  1. new Table(rows: Int, columns: Int)
  2. new Table(rowData: Array[Array[Any]], columnNames: Seq[_])
  3. new Table()

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 apply(row: Int, column: Int): Any

    Get the current value of the given cell.

    Get the current value of the given cell. The given cell coordinates are in view coordinates and thus not necessarily the same as for the model.

  4. def autoResizeMode: Table.AutoResizeMode.Value
  5. def autoResizeMode_=(x: Table.AutoResizeMode.Value): Unit
  6. def background: Color
    Definition Classes
    UIElement
  7. def background_=(c: Color): Unit
    Definition Classes
    UIElement
  8. def blockIncrement(visibleRect: Rectangle, orientation: Orientation.Value, direction: Int): Int
    Definition Classes
    WrapperScrollable
  9. def border: Border
    Definition Classes
    Component
  10. def border_=(b: Border): Unit
    Definition Classes
    Component
  11. def bounds: Rectangle
    Definition Classes
    UIElement
  12. def componentOrientation: ComponentOrientation
    Definition Classes
    UIElement
  13. def componentOrientation_=(x: ComponentOrientation): Unit
    Definition Classes
    UIElement
  14. def cursor: Cursor
    Definition Classes
    UIElement
  15. def cursor_=(c: Cursor): Unit
    Definition Classes
    UIElement
  16. 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
  17. def displayable: Boolean
    Definition Classes
    UIElement
  18. def enabled: Boolean
    Definition Classes
    Component
  19. def enabled_=(b: Boolean): Unit
    Definition Classes
    Component
  20. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  21. def focusable: Boolean
    Definition Classes
    Component
  22. def focusable_=(b: Boolean): Unit
    Definition Classes
    Component
  23. def font: Font
    Definition Classes
    UIElement
  24. def font_=(f: Font): Unit
    Definition Classes
    UIElement
  25. def foreground: Color
    Definition Classes
    UIElement
  26. def foreground_=(c: Color): Unit
    Definition Classes
    UIElement
  27. def gridColor: Color
  28. def gridColor_=(color: Color): Unit
  29. def hasFocus: Boolean
    Definition Classes
    Component
  30. def hashCode(): Int
    Definition Classes
    Proxy → Any
  31. def ignoreRepaint: Boolean
    Definition Classes
    UIElement
  32. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  33. var initP: JComponent
    Definition Classes
    Component
  34. def inputVerifier: (Component) ⇒ Boolean
    Definition Classes
    Component
  35. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit
    Definition Classes
    Component
  36. 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
  37. def locale: Locale
    Definition Classes
    UIElement
  38. def location: Point
    Definition Classes
    UIElement
  39. def locationOnScreen: Point
    Definition Classes
    UIElement
  40. def maximumSize: Dimension
    Definition Classes
    UIElement
  41. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  42. def minimumSize: Dimension
    Definition Classes
    UIElement
  43. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  44. def model: TableModel
  45. def modelToViewColumn(idx: Int): Int
  46. def model_=(x: TableModel): Unit
  47. def name: String
    Definition Classes
    Component
  48. def name_=(s: String): Unit
    Definition Classes
    Component
  49. def opaque: Boolean
    Definition Classes
    Component
  50. def opaque_=(b: Boolean): Unit
    Definition Classes
    Component
  51. def paint(g: Graphics2D): Unit
    Definition Classes
    Component
  52. lazy val peer: JTable

    The underlying Swing peer.

    The underlying Swing peer.

    Definition Classes
    TableComponentUIElement
  53. def preferredSize: Dimension
    Definition Classes
    UIElement
  54. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  55. def preferredViewportSize: Dimension
    Definition Classes
    WrapperScrollable
  56. def preferredViewportSize_=(dim: Dimension): Unit
  57. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  58. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  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 rowCount: Int
  65. def rowHeight: Int
  66. def rowHeight_=(x: Int): Unit
  67. def selectionBackground: Color
  68. def selectionBackground_=(c: Color): Unit
  69. def selectionForeground: Color
  70. def selectionForeground_=(c: Color): Unit
  71. def self: java.awt.Component
    Definition Classes
    UIElement → Proxy
  72. def showGrid: Boolean
  73. def showGrid_=(grid: Boolean): Unit
  74. def showing: Boolean
    Definition Classes
    UIElement
  75. def size: Dimension
    Definition Classes
    UIElement
  76. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  77. def toString(): String
    Definition Classes
    Component → Proxy → AnyRef → Any
  78. def toolkit: Toolkit
    Definition Classes
    UIElement
  79. def tooltip: String
    Definition Classes
    Component
  80. def tooltip_=(t: String): Unit
    Definition Classes
    Component
  81. def tracksViewportHeight: Boolean
    Definition Classes
    WrapperScrollable
  82. def tracksViewportWidth: Boolean
    Definition Classes
    WrapperScrollable
  83. def unitIncrement(visibleRect: Rectangle, orientation: Orientation.Value, direction: Int): Int
    Definition Classes
    WrapperScrollable
  84. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  85. def update(row: Int, column: Int, value: Any): Unit

    Change the value of the given cell.

  86. def updateCell(row: Int, column: Int): Unit

    Visually update the given cell.

  87. def validate(): Unit
    Definition Classes
    UIElement
  88. def viewToModelColumn(idx: Int): Int
  89. def visible: Boolean
    Definition Classes
    UIElement
  90. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement
  91. 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
  92. def xLayoutAlignment_=(x: Double): Unit
    Definition Classes
    Component
  93. def yLayoutAlignment: Double
    Definition Classes
    Component
  94. def yLayoutAlignment_=(y: Double): Unit
    Definition Classes
    Component
  95. object selection extends Publisher