Class

cogdebugger.ui.fieldvisualizations.scalar

AcceleratedStackedTimeseriesPanel

Related Doc: package scalar

Permalink

class AcceleratedStackedTimeseriesPanel extends Panel with EventDrivenViewer

A timeseries plot that shows a fixed sized history, not unlike the old TimeseriesPlotPanel (which was renamed to StackedTimeseriesPanel). This plot, however, uses a different dataset implementation and is better suited for fast changing, live data.

Like the old implementation, each point in the target field is displayed in its own subplot, with the subplots stacked on top of each other. For fields with more than a handful of points, this can get pretty expensive to draw.

This version of the viewer supports up to 2D fields.

Linear Supertypes
EventDrivenViewer, ProbeListener, Viewer, Panel, Wrapper, Container, Component, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AcceleratedStackedTimeseriesPanel
  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 AcceleratedStackedTimeseriesPanel(target: ProbedField)

    Permalink

    Supplies a default history size of 500 time steps

  2. new AcceleratedStackedTimeseriesPanel(fieldType: libcog.FieldType)

    Permalink

    Supplies a default history size of 500 time steps

  3. new AcceleratedStackedTimeseriesPanel(fieldType: libcog.FieldType, historySize: Int)

    Permalink

    fieldType

    A FieldType desribing the shape of the field being visualized.

    historySize

    How many time steps back the plot shows.

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. def contents: Seq[Component]

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

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

    Permalink
    Definition Classes
    UIElement
  17. val dataset: DynamicXYDataset

    Permalink
  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. var lastUpdateTick: Long

    Permalink
    Attributes
    protected
  42. def listenTo(ps: Publisher*): Unit

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

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

    Permalink
    Definition Classes
    UIElement
  45. def location: Point

    Permalink
    Definition Classes
    UIElement
  46. def locationOnScreen: Point

    Permalink
    Definition Classes
    UIElement
  47. def maximumSize: Dimension

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

    Permalink
    Definition Classes
    UIElement
  49. def minimumSize: Dimension

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

    Permalink
    Definition Classes
    UIElement
  51. object mouse

    Permalink
    Definition Classes
    Component
  52. def name: String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Panel → Wrapper → Component → UIElement
  67. val plot: CombinedDomainXYPlot

    Permalink
  68. def preferredSize: Dimension

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

    Permalink
    Definition Classes
    UIElement
  70. 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
  71. 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
  72. def publish(e: Event): Unit

    Permalink
    Definition Classes
    Publisher
  73. val reactions: Reactions

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

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

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

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

    Permalink
    Definition Classes
    Component
  78. 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
  79. def revalidate(): Unit

    Permalink
    Definition Classes
    Component
  80. def self: Component

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

    Permalink
    Definition Classes
    UIElement
  82. def size: Dimension

    Permalink
    Definition Classes
    UIElement
  83. val subplots: IndexedSeq[XYPlot]

    Permalink
  84. def subscribe(listener: Reaction): Unit

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

    Permalink
    Definition Classes
    AnyRef
  86. val tmpData: Array[Float]

    Permalink
    Attributes
    protected
  87. def toString(): String

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

    Permalink
    Definition Classes
    UIElement
  89. def tooltip: String

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

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

    Permalink
    Definition Classes
    LazyPublisher → Publisher
  92. def update(data: libcog.ScalarFieldReader, time: Long): Unit

    Permalink
  93. 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.

    The src argument was orignally meant to reference the kernel/field/object that generated the data, in order to support composite visualizations (that is, viewers that produce a visual based on the data from several different sources), but launching such viewers in the current UI is clunky at beset, so this feature isn't used. Viewers that only visualize a single field's data can probably safely ignore this arument (and indeed, most of the current ones do).

    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
    AcceleratedStackedTimeseriesPanelViewer
  94. def visible: Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. val xAxis: ValueAxis

    Permalink
  100. def xLayoutAlignment: Double

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

    Permalink
    Definition Classes
    Component
  102. 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
  103. def yLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  104. 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