Interface Display

All Known Implementing Classes:
PlotsWindow, StationInfoWindow, ViterbiWindow

public interface Display

An interface defines its display area width, height and how to draw its components.

Used for creating an image without creating frame's border or fame.

Author:
Lulin Song

Method Summary
 void draw(java.awt.Graphics2D g)
          Draw on a Graphics2D object.
 int getDrawingHeight()
          Get drawing area height.
 int getDrawingWidth()
          Get drawing area width.
 

Method Detail

getDrawingWidth

public int getDrawingWidth()
Get drawing area width.

Returns:
an integer as width.

getDrawingHeight

public int getDrawingHeight()
Get drawing area height.

Returns:
an integer as height.

draw

public void draw(java.awt.Graphics2D g)
Draw on a Graphics2D object.