All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class IMSWG.IW.SubSet.Cost

java.lang.Object
   |
   +----IMSWG.IW.SubSet.Cost

public class Cost
extends Object

Constructor Index

 o Cost(SubSet)

Method Index

 o cancelDialogThread()
This method stops the wait dialog once the applet completed communication with the cost server.
 o cancelThreads()
This method is called when the user hit this cancel button in the wait for estimating cost dialog.
 o displayCostAndScanlines()
 o estimateCostAndScanlines(boolean)
This method is called everytime a user clicks on the "Compute Cost and Scanlines" button.
 o getCostLabel()
 o getScanlinesLabel()
 o setCostLabel(String)
 o setDaacStatus(String, String)
 o setScanlinesLabel(String)
 o setSubsetParams(String, String, String, String, String, String)
 o setToCgiFlag(boolean)

Constructors

 o Cost
 public Cost(SubSet s)

Methods

 o setSubsetParams
 public void setSubsetParams(String d,
                             String dset,
                             String proc,
                             String mt,
                             String mf,
                             String gid)
 o estimateCostAndScanlines
 public void estimateCostAndScanlines(boolean b)
This method is called everytime a user clicks on the "Compute Cost and Scanlines" button. It is also called when cost is unknown and a user clicks on the OK button. A boolean is passed as a parameter to indicate which button was clicked, true means the user clicked on the OK button, false means the user did not click on the ok button, the user clicked on the compute cost and scanlines button.

 o setCostLabel
 public void setCostLabel(String costLabel)
 o setScanlinesLabel
 public void setScanlinesLabel(String scanlinesLabel)
 o setToCgiFlag
 public void setToCgiFlag(boolean b)
 o getCostLabel
 public String getCostLabel()
 o getScanlinesLabel
 public String getScanlinesLabel()
 o setDaacStatus
 public void setDaacStatus(String comments,
                           String code)
 o displayCostAndScanlines
 public Panel displayCostAndScanlines()
 o cancelDialogThread
 public void cancelDialogThread()
This method stops the wait dialog once the applet completed communication with the cost server.

 o cancelThreads
 public void cancelThreads()
This method is called when the user hit this cancel button in the wait for estimating cost dialog. It cancels the dialog, the estimate cost request, enables the applet, and returns back to the applet or to the brrowser depending on which button requested the cost estimate.


All Packages  Class Hierarchy  This Package  Previous  Next  Index