| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmaslab.telemetry.channel.Channel
maslab.telemetry.channel.VectorChannel
public class VectorChannel
Channel for sending vector graphics to the BotClient.
| Field Summary | |
|---|---|
| static int | CIRCLE | 
| static int | DELETE | 
| static int | DOT | 
| static int | LINE | 
| static Logger | log | 
| Constructor Summary | |
|---|---|
| VectorChannel(java.lang.String name)Create a new VectorChannel | |
| Method Summary | |
|---|---|
|  void | delete(int handle)Delete a previously drawn object. | 
|  int | drawCircle(int x,
           int y,
           int r)Draw a circle. | 
|  int | drawLine(int x1,
         int y1,
         int x2,
         int y2)Draw a line. | 
|  void | setColor(java.awt.Color c)Set the current drawing color. | 
| Methods inherited from class maslab.telemetry.channel.Channel | 
|---|
| addCommandListener | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static Logger log
public static final int LINE
public static final int DOT
public static final int DELETE
public static final int CIRCLE
| Constructor Detail | 
|---|
public VectorChannel(java.lang.String name)
name - The channel name.| Method Detail | 
|---|
public int drawLine(int x1,
                    int y1,
                    int x2,
                    int y2)
x1 - First x coordinate.y1 - First y coordinate.x2 - Second x coordinate.y2 - Second y coordinate
public void setColor(java.awt.Color c)
c - A color.
public int drawCircle(int x,
                      int y,
                      int r)
x - Center x coordinate.y - Center y coordinate.r - Radius.
public void delete(int handle)
handle - The handle returned from a previous drawing
     operation.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||