| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectaim4.config.DebugPoint
public class DebugPoint
A structure to hold information regarding debugging display information. These allow a vehicle to sort of "point" at things that will show up in the visualizer, with optional text at that point.
| Constructor Summary | |
|---|---|
DebugPoint(Point2D point)
Class constructor for only a point with no line.  | 
|
DebugPoint(Point2D point,
           Point2D startPoint)
Class constructor for a point with a line.  | 
|
DebugPoint(Point2D point,
           Point2D startPoint,
           Color color)
Class constructor for a colored line.  | 
|
DebugPoint(Point2D point,
           Point2D startPoint,
           String msg)
Class constructor for a line with text.  | 
|
DebugPoint(Point2D point,
           Point2D startPoint,
           String msg,
           Color color)
Class constructor for a colored line with text.  | 
|
DebugPoint(Point2D point,
           String msg)
Class constructor for a point with text.  | 
|
DebugPoint(Point2D point,
           String msg,
           Color color)
Class constructor for a colored point with text.  | 
|
DebugPoint(String msg)
Class constructor for text only.  | 
|
| Method Summary | |
|---|---|
 Color | 
getColor()
Get the color of this DebugPoint.  | 
 Point2D | 
getPoint()
Get the point associated with this DebugPoint.  | 
 Point2D | 
getStartPoint()
Get the start point associated with this DebugPoint.  | 
 String | 
getText()
Get the text associated with this DebugPoint.  | 
 boolean | 
hasStartPoint()
Whether or not this DebugPoint has a start point.  | 
 boolean | 
hasText()
Whether or not this DebugPoint has associated text.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DebugPoint(Point2D point)
point - the location of the debug pointpublic DebugPoint(String msg)
msg - the text for this text-only DebugPoint
public DebugPoint(Point2D point,
                  Point2D startPoint)
point - the location of the debug pointstartPoint - the point from which to draw a line to the debug
                   point
public DebugPoint(Point2D point,
                  String msg)
point - the location of the debug pointmsg - the text to display alongside the debug point
public DebugPoint(Point2D point,
                  String msg,
                  Color color)
point - the location of the debug pointmsg - the text to display alongside the debug pointcolor - the color with which to display the point and text
public DebugPoint(Point2D point,
                  Point2D startPoint,
                  String msg)
point - the location of the debug pointstartPoint - the point from which to draw a line to the debug
                   pointmsg - the text to display alongside the debug point
public DebugPoint(Point2D point,
                  Point2D startPoint,
                  Color color)
point - the location of the debug pointstartPoint - the point from which to draw a line to the debug
                   pointcolor - the color with which to display the point and line
public DebugPoint(Point2D point,
                  Point2D startPoint,
                  String msg,
                  Color color)
point - the location of the debug pointstartPoint - the point from which to draw a line to the debug
                   pointmsg - the text to display alongside the debug pointcolor - the color with which to display the point, line, and
                   text| Method Detail | 
|---|
public boolean hasText()
public boolean hasStartPoint()
public Point2D getPoint()
public Point2D getStartPoint()
public Color getColor()
public String getText()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||