Class

cogdebugger.ui.fieldvisualizations.scalar

ScatterPlot

Related Doc: package scalar

Permalink

class ScatterPlot extends Panel with EventDrivenViewer

A visualization for ScalarFields of two dimensions or less that presents the field as a scatter plot of column index vs value. For 2D fields, rows are differentiated by using a different set of colors/symbols for each row.

An example of a 2x10 2D scalar field containing values in [0, 1] viewed as a scatter plot would look something like this:

    1.0 |                   x
        |             o
        |    o                 x     o
        |             x        o
value   |    x  x  o     x           x
        | o        x     o        o
        | x     o            o    x
        |
      0 +------------------------------
          0  1  2  3  4  5  6  7  8  9
                      column
        +-----------------------------+
        |   x = row 0   o = row 1     |
        +-----------------------------+
Linear Supertypes
EventDrivenViewer, ProbeListener, Viewer, Panel, Wrapper, Container, Component, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScatterPlot
  2. EventDrivenViewer
  3. ProbeListener
  4. Viewer
  5. Panel
  6. Wrapper
  7. Container
  8. Component
  9. UIElement
  10. LazyPublisher
  11. Publisher
  12. Reactor
  13. Proxy
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScatterPlot(target: ProbedField)

    Permalink
  2. new ScatterPlot(fieldType: libcog.FieldType)

    Permalink

    fieldType

    A FieldType describing the shape of the field to be visualized.

Type Members

  1. class Content extends BufferWrapper[Component]

    Permalink
    Attributes
    protected
    Definition Classes
    Wrapper
  2. trait SuperMixin extends JComponent

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  3. class Worker extends SwingWorker[Unit, Unit]

    Permalink
    Definition Classes
    EventDrivenViewer

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val _contents: Content

    Permalink
    Attributes
    protected
    Definition Classes
    Wrapper
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def background: Color

    Permalink
    Definition Classes
    UIElement
  7. def background_=(c: Color): Unit

    Permalink
    Definition Classes
    UIElement
  8. def border: Border

    Permalink
    Definition Classes
    Component
  9. def border_=(b: Border): Unit

    Permalink
    Definition Classes
    Component
  10. def bounds: Rectangle

    Permalink
    Definition Classes
    UIElement
  11. var busy: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    EventDrivenViewer
  12. val chart: JFreeChart

    Permalink
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. val cols: Int

    Permalink
  15. def contents: Seq[Component]

    Permalink
    Definition Classes
    Wrapper → Container
  16. def cursor: Cursor

    Permalink
    Definition Classes
    UIElement
  17. def cursor_=(c: Cursor): Unit

    Permalink
    Definition Classes
    UIElement
  18. def deafTo(ps: Publisher*): Unit

    Permalink
    Definition Classes
    Reactor
  19. def displayable: Boolean

    Permalink
    Definition Classes
    UIElement
  20. def enabled: Boolean

    Permalink
    Definition Classes
    Component
  21. def enabled_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Proxy → Any
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def focusable: Boolean

    Permalink
    Definition Classes
    Component
  26. def focusable_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  27. def font: Font

    Permalink
    Definition Classes
    UIElement
  28. def font_=(f: Font): Unit

    Permalink
    Definition Classes
    UIElement
  29. def foreground: Color

    Permalink
    Definition Classes
    UIElement
  30. def foreground_=(c: Color): Unit

    Permalink
    Definition Classes
    UIElement
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. def hasFocus: Boolean

    Permalink
    Definition Classes
    Component
  33. def hashCode(): Int

    Permalink
    Definition Classes
    Proxy → Any
  34. def ignoreRepaint: Boolean

    Permalink
    Definition Classes
    UIElement
  35. def ignoreRepaint_=(b: Boolean): Unit

    Permalink
    Definition Classes
    UIElement
  36. var initP: JComponent

    Permalink
    Definition Classes
    Component
  37. def inputVerifier: (Component) ⇒ Boolean

    Permalink
    Definition Classes
    Component
  38. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit

    Permalink
    Definition Classes
    Component
  39. def isBusy: Boolean

    Permalink
    Definition Classes
    EventDrivenViewerProbeListener
  40. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  41. def listenTo(ps: Publisher*): Unit

    Permalink
    Definition Classes
    Reactor
  42. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }

    Permalink
    Attributes
    protected
    Definition Classes
    Publisher
  43. def locale: Locale

    Permalink
    Definition Classes
    UIElement
  44. def location: Point

    Permalink
    Definition Classes
    UIElement
  45. def locationOnScreen: Point

    Permalink
    Definition Classes
    UIElement
  46. def maximumSize: Dimension

    Permalink
    Definition Classes
    UIElement
  47. def maximumSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  48. def minimumSize: Dimension

    Permalink
    Definition Classes
    UIElement
  49. def minimumSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  50. object mouse

    Permalink
    Definition Classes
    Component
  51. def name: String

    Permalink
    Definition Classes
    Component
  52. def name_=(s: String): Unit

    Permalink
    Definition Classes
    Component
  53. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  54. def notify(event: ProbeEvent): Unit

    Permalink
    Definition Classes
    EventDrivenViewerProbeListener
  55. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  56. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  57. def onFirstSubscribe(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component → UIElement → LazyPublisher
  58. def onLastUnsubscribe(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  59. def opaque: Boolean

    Permalink
    Definition Classes
    Component
  60. def opaque_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  61. def paint(g: Graphics2D): Unit

    Permalink
    Definition Classes
    Component
  62. def paintBorder(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  63. def paintChildren(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  64. def paintComponent(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  65. lazy val peer: JPanel

    Permalink
    Definition Classes
    Panel → Wrapper → Component → UIElement
  66. def preferredSize: Dimension

    Permalink
    Definition Classes
    UIElement
  67. def preferredSize_=(x: Dimension): Unit

    Permalink
    Definition Classes
    UIElement
  68. val properties: ArrayBuffer[Property[_]]

    Permalink

    A list of properties that should be persisted when the app closes, and restored the next time it's launched.

    A list of properties that should be persisted when the app closes, and restored the next time it's launched. A common example of a persistent is the zoom/magnification level of the viewer. Be sure to add any relevenant properties to this list in your Viewer subclasses!

    Definition Classes
    Viewer
  69. def propertiesTag: NodeSeq

    Permalink

    Returns the XML representation of this viewer's properties, suitable for saving into a file.

    Returns the XML representation of this viewer's properties, suitable for saving into a file.

    Definition Classes
    Viewer
  70. def publish(e: Event): Unit

    Permalink
    Definition Classes
    Publisher
  71. val reactions: Reactions

    Permalink
    Definition Classes
    Reactor
  72. def repaint(rect: Rectangle): Unit

    Permalink
    Definition Classes
    UIElement
  73. def repaint(): Unit

    Permalink
    Definition Classes
    UIElement
  74. def requestFocus(): Unit

    Permalink
    Definition Classes
    Component
  75. def requestFocusInWindow(): Boolean

    Permalink
    Definition Classes
    Component
  76. def reset(): Unit

    Permalink

    Reset the visualization.

    Reset the visualization. An optional operation; subclasses must override this method or else it does nothing.

    Definition Classes
    Viewer
  77. def revalidate(): Unit

    Permalink
    Definition Classes
    Component
  78. val rows: Int

    Permalink
  79. def self: Component

    Permalink
    Definition Classes
    UIElement → Proxy
  80. def showing: Boolean

    Permalink
    Definition Classes
    UIElement
  81. def size: Dimension

    Permalink
    Definition Classes
    UIElement
  82. def subscribe(listener: Reaction): Unit

    Permalink
    Definition Classes
    LazyPublisher → Publisher
  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  84. def toString(): String

    Permalink
    Definition Classes
    Component → Proxy → AnyRef → Any
  85. def toolkit: Toolkit

    Permalink
    Definition Classes
    UIElement
  86. def tooltip: String

    Permalink
    Definition Classes
    Component
  87. def tooltip_=(t: String): Unit

    Permalink
    Definition Classes
    Component
  88. def unsubscribe(listener: Reaction): Unit

    Permalink
    Definition Classes
    LazyPublisher → Publisher
  89. def update(data: libcog.ScalarFieldReader): Unit

    Permalink
  90. def update(src: AnyRef, data: libcog.AbstractFieldMemory, simTime: Long): Unit

    Permalink

    Updates the visualization based on the contents of data.

    Updates the visualization based on the contents of data.

    src

    The field or object that generated the data argument

    data

    New field data that needs to be rendered by this viewer

    simTime

    The ComputeGraph's step count at the time the data argument was generated

    Definition Classes
    ScatterPlotViewer
  91. def visible: Boolean

    Permalink
    Definition Classes
    UIElement
  92. def visible_=(b: Boolean): Unit

    Permalink
    Definition Classes
    UIElement
  93. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. def xLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  97. def xLayoutAlignment_=(x: Double): Unit

    Permalink
    Definition Classes
    Component
  98. def xmlToProperties(node: Node): Unit

    Permalink

    Parses the XML tag produced by the propertiesTag method and restores any saved valued to this Viewer.

    Parses the XML tag produced by the propertiesTag method and restores any saved valued to this Viewer.

    Definition Classes
    Viewer
  99. def yLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  100. def yLayoutAlignment_=(y: Double): Unit

    Permalink
    Definition Classes
    Component

Inherited from EventDrivenViewer

Inherited from ProbeListener

Inherited from Viewer

Inherited from Panel

Inherited from Wrapper

Inherited from Container

Inherited from Component

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any

Ungrouped