Package

cogdebugger

ui

Permalink

package ui

Visibility
  1. Public
  2. All

Type Members

  1. class ClockToolbar extends BoxPanel

    Permalink

    Implements a toolbar with buttons for stepping a model as well as counters for showing how many simulation ticks have passed and the model's current rate of execution (in ticks per second).

    Implements a toolbar with buttons for stepping a model as well as counters for showing how many simulation ticks have passed and the model's current rate of execution (in ticks per second). This class spawns a new thread that will periodically query computeGraph for the current sim tick and update the counters.

  2. class CogDebugger extends MainFrame with RestorableState

    Permalink

    Implements the main window for the Cog Ex Machina Visual Debugging Tool.

    Implements the main window for the Cog Ex Machina Visual Debugging Tool.

    The debugger consists of two large views and a main toolbar:

    The first of the main views displays the structure of probed fields in a compute graph. It can show data dependencies between fields by drawing the actual graph, or more compactly just show the fields without their data connections. Clicking a field in this first main view launches a probe window on the second view.

    The second view serves as the home for probe windows. A probe window visualizes the current state of a field in some manner (exactly how is dependent on what type of field is being probed; some fields have several visualizations that a user can switch between). Probe windows can be rearranged, resized, and closed on this view.

    The main toolbar hosts controls for stepping, running continuously, stopping, and resetting the ComputeGraph. It also hosts counters for monitoring the current simulation time and rate of execution.

    ---

    Until we're past our demo in mid-August, the Cog 4 browser's toolbars have been reworked to look more like they did in Cog 3, so that we don't have to rewrite the whole programmer's manual. That mostly means no menubar and different button placements on the toolbars.

  3. class Desktop extends ProbeDesktop with RestorableState

    Permalink

    A desktop that hosts windows/frames that in turn host visualizations for fields.

    A desktop that hosts windows/frames that in turn host visualizations for fields.

    The Desktop reacts to cogdebugger.ui.structure.InteractiveGraphEvents (produced by one of the classes in cogdebugger.ui.structure) that indicate that a user is interested in some field. Please remember to actually subscribe this class to an event source! In response to an event, a window is launched on the Desktop that contains some manner of visualization of the data within the field. Windows can be resized, repositioned, and closed by users.

    If requested, the Desktop can encode the state of any open visualizations (size, position, installed Viewer implementation) into an XML tag. If peristed to disk, this tag can then later be used to restore the state of the Desktop in a subsequent debugger session.

  4. class DesktopFrame extends InternalFrame

    Permalink

    An InternalFrame intended to hold an instance of one of our various Viewer classes.

    An InternalFrame intended to hold an instance of one of our various Viewer classes. It's been augmented to keep track of its associated probes and to raise an event when it's packed itself (this event can be used by cogdebugger.coggui3ports.Tiler to intelligently size and place the frame on the desktop).

  5. class MessagesPanel extends BorderPanel

    Permalink

    Panel for showing messages generated by the application.

    Panel for showing messages generated by the application. Intended to eliminate tons of flipping back and forth between the browser and an IDE.

  6. class ProbeToolbar extends BoxPanel

    Permalink

    Implements a toolbar with a combo box for controlling the rate at which probes refresh.

    Implements a toolbar with a combo box for controlling the rate at which probes refresh. Spawns a new thread to call the manager's readProbes method at the set rate.

  7. class StatusPanel extends BoxPanel

    Permalink

    Implements a status bar for display along the bottom of the main window.

Value Members

  1. object CogDebugger

    Permalink
  2. object Desktop

    Permalink
  3. object MessagesPanel

    Permalink
  4. object ProbeToolbar

    Permalink
  5. package components

    Permalink

    This package is for reusable generic GUI components that have no dependence on Cog, sort of like the old buildingblocks package from the old coggui (perhaps that package should be copied here).

  6. package fieldvisualizations

    Permalink
  7. package structure

    Permalink

Ungrouped