All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class IMSWG.IW.SubSet.SubSet

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----IMSWG.IW.SubSet.Modelet
                                           |
                                           +----IMSWG.IW.SubSet.SubSet

public class SubSet
extends Modelet
Main for SubSet applet. Uses Modelet to talk to the Web gateway;

See Also:
Modelet

Constructor Index

 o SubSet(Applet)
This method creates the user interface items to be placed on the screen and actually starts up the applet.

Method Index

 o action(Event, Object)
action method for menu bar events, ok and cancel button events
 o bandsChanged()
 o changedFullSub()
 o checkCost()
This method gets called everytime the OK button is clicked.
 o cleanUp()
Dummy routine to be overridden in any subclass of Modelet.
 o estimateCostAndScanlines()
This method is called everytime a user clicks on the "Compute Cost and Scanlines" button.
 o geoChanged()
 o go()
Dummy routine to be overridden in any subclass of Modelet.
 o goAwayCancel()
Overrides default Modelet "Cancel" button processing.
 o goAwayOK()
Overrides default Modelet "OK" button processing.
 o loadMode(Parameters)
This method builds the necessary URL to get back in contact with the Web gateway and jumps to it.
 o reinit()
Overrides the abstract method in Modelet Gets called whenever the applet gets restarted.
 o revertCostAndScanlines()
 o showHelp()
Popup a help page in the browser when the Help Menu Item is clicked.
 o start()
Dummy routine to be overridden in any subclass of Modelet.

Constructors

 o SubSet
 public SubSet(Applet theStartUp)
This method creates the user interface items to be placed on the screen and actually starts up the applet.

Methods

 o start
 public void start()
Dummy routine to be overridden in any subclass of Modelet.

Overrides:
start in class Modelet
 o reinit
 public void reinit()
Overrides the abstract method in Modelet Gets called whenever the applet gets restarted. We only need to show the applet, there is no need to do a repost.

Overrides:
reinit in class Modelet
See Also:
Modelet, reinit
 o go
 public void go()
Dummy routine to be overridden in any subclass of Modelet.

Overrides:
go in class Modelet
 o cleanUp
 public void cleanUp()
Dummy routine to be overridden in any subclass of Modelet.

Overrides:
cleanUp in class Modelet
 o checkCost
 public void checkCost()
This method gets called everytime the OK button is clicked. This method checks if there has been a cost estimated for ordering, if the cost is unknown, the cost class needs to estimate it before the applet returns to cgi. If the cost exist, the applet can return to cgi.

 o goAwayOK
 public void goAwayOK()
Overrides default Modelet "OK" button processing. If there is no selection in the modified parameters, we check the original ones to see if there was when we got control (i.e., the user has hit "Clear", then "OK", without making a new selection. We put up a dialog box and ask if this is OK. If so, we set the submode to DELETECAT and then exit to ModeApplet. Otherwise, we simply exit, returning control to the Mapplet.

Overrides:
goAwayOK in class Modelet
 o loadMode
 public void loadMode(Parameters theParameters)
This method builds the necessary URL to get back in contact with the Web gateway and jumps to it.

Overrides:
loadMode in class Modelet
 o goAwayCancel
 public void goAwayCancel()
Overrides default Modelet "Cancel" button processing. Kills the display options window (if it is open), and then uses Modelet's goAwayCancel.

Overrides:
goAwayCancel in class Modelet
 o showHelp
 public void showHelp()
Popup a help page in the browser when the Help Menu Item is clicked.

 o action
 public boolean action(Event e,
                       Object o)
action method for menu bar events, ok and cancel button events

Overrides:
action in class Component
 o changedFullSub
 public void changedFullSub()
 o bandsChanged
 public void bandsChanged()
 o estimateCostAndScanlines
 public void estimateCostAndScanlines()
This method is called everytime a user clicks on the "Compute Cost and Scanlines" button. This method tells cost to send a request for cost and scanlines. The boolean false is used to indicate that the user did not click the ok button, the call is coming from the compute cost and scanlines button.

 o geoChanged
 public void geoChanged()
 o revertCostAndScanlines
 public void revertCostAndScanlines()

All Packages  Class Hierarchy  This Package  Previous  Next  Index