Boeing Simulation 3.1 API Specification

visualizer.graphics
Class ReflectiveObjectViz

java.lang.Object
  |
  +--visualizer.graphics.ReflectiveObjectViz
All Implemented Interfaces:
Drawable

public class ReflectiveObjectViz
extends Object
implements Drawable

This is a standard visualizer that takes in a WhatWhere and then reflective determines what to draw on the screen.

Version:
$Revision: 1.11 $
Author:
Dave Jurgens

Field Summary
private  visualizer.graphics.ColorPicker colorPicker
          The ColorPicker that will determine how we colors our object.
private  JPanel parent
          The JPanel that this is drawn on.
private static long serialVersionUID
           
private  objects.WhatWhere target
          The object that will be drawn on the Graphics.
 
Constructor Summary
ReflectiveObjectViz(objects.WhatWhere target, JPanel parent, visualizer.graphics.ColorPicker colorPicker)
           
 
Method Summary
 void draw(Graphics g)
          Draw a square on the javax.swing.Graphics using a randomly chosen Color.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

target

private final objects.WhatWhere target
The object that will be drawn on the Graphics.


parent

private final JPanel parent
The JPanel that this is drawn on.


colorPicker

private final visualizer.graphics.ColorPicker colorPicker
The ColorPicker that will determine how we colors our object.

Constructor Detail

ReflectiveObjectViz

public ReflectiveObjectViz(objects.WhatWhere target,
                           JPanel parent,
                           visualizer.graphics.ColorPicker colorPicker)
Method Detail

draw

public void draw(Graphics g)
Draw a square on the javax.swing.Graphics using a randomly chosen Color.

Specified by:
draw in interface Drawable

Boeing Simulation 3.1 API Specification

To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.