starchartDataTransporter
Class ChartImage

java.lang.Object
  |
  +--starchartDataTransporter.ChartImage
All Implemented Interfaces:
java.lang.Runnable

public class ChartImage
extends java.lang.Object
implements java.lang.Runnable

This class purpose is to retrieve a star chart image from the server, for the client applet - DisplayStarChart. Creation date: (6/11/01 3:05:58 PM)


Field Summary
private  java.net.URL dataURL
           
private  boolean isDone
           
private  ChartDataTransporter starChart
           
 
Constructor Summary
ChartImage(java.lang.String urlSuffix, java.net.URL currentPage)
          Insert the method's description here.
 
Method Summary
 ChartDataTransporter getChart()
          Insert the method's description here.
 void init(java.lang.String urlSuffix, java.net.URL currentPage)
          Insert the method's description here.
 boolean isDone()
          Insert the method's description here.
private  void retrieveChart()
          Insert the method's description here.
 void run()
          When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

starChart

private ChartDataTransporter starChart

isDone

private boolean isDone

dataURL

private java.net.URL dataURL
Constructor Detail

ChartImage

public ChartImage(java.lang.String urlSuffix,
                  java.net.URL currentPage)
Insert the method's description here. Creation date: (6/11/01 4:20:16 PM)

Parameters:
urlSuffix - java.lang.String
currentPage - java.net.URL
Method Detail

getChart

public ChartDataTransporter getChart()
Insert the method's description here. Creation date: (6/11/01 4:34:56 PM)

Returns:
java.awt.image.BufferedImage

init

public void init(java.lang.String urlSuffix,
                 java.net.URL currentPage)
Insert the method's description here. Creation date: (6/15/01 12:52:52 PM)

Parameters:
urlSuffix - java.lang.String
currentPage - java.net.URL

isDone

public boolean isDone()
Insert the method's description here. Creation date: (6/11/01 4:36:02 PM)

Returns:
boolean

retrieveChart

private void retrieveChart()
                    throws java.io.IOException
Insert the method's description here. Creation date: (6/11/01 4:38:45 PM)

Returns:
java.awt.image.BufferedImage
Throws:
java.io.IOException - The exception description.

run

public void run()
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

The general contract of the method run is that it may take any action whatsoever.

Specified by:
run in interface java.lang.Runnable
See Also:
Thread.run()