gui.playfield
Class MessageGraphic

java.lang.Object
  extended by gui.playfield.PlayFieldGraphic
      extended by gui.playfield.MessageGraphic

public class MessageGraphic
extends PlayFieldGraphic

Visualization of a message


Field Summary
 
Fields inherited from class gui.playfield.PlayFieldGraphic
scale
 
Constructor Summary
MessageGraphic(DTNHost from, DTNHost to)
           
 
Method Summary
 void draw(java.awt.Graphics2D g2)
          Draws the graphic component to the graphics context g2
 
Methods inherited from class gui.playfield.PlayFieldGraphic
getScale, invScale, scale, scale, setScale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageGraphic

public MessageGraphic(DTNHost from,
                      DTNHost to)
Method Detail

draw

public void draw(java.awt.Graphics2D g2)
Description copied from class: PlayFieldGraphic
Draws the graphic component to the graphics context g2

Specified by:
draw in class PlayFieldGraphic
Parameters:
g2 - The context to draw the graphics to