All Packages Class Hierarchy This Package Previous Next Index
Class IMSWG.IW.Mapplet.Mapplet
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----IMSWG.IW.Modelet
|
+----IMSWG.IW.Mapplet.Mapplet
- public class Mapplet
- extends Modelet
- implements DialogResult
Main map-selection applet. Uses Modelet to talk to the Web gateway;
uses DialogResult to provide a callback hook for an OKDialog used
to verify the action if the user clears an existing selection.
- See Also:
- DialogResult, Modelet
-
Mapplet(Applet)
- This method creates the user interface items to be placed on the screen
and actually starts up the applet.
-
action(Event, Object)
- action method for menu bar events, ok and cancel button events
-
cleanUp()
- Dummy routine to be overridden in any subclass of Modelet.
-
go()
- Dummy routine to be overridden in any subclass of Modelet.
-
goAway(Parameters)
- Overrides default Modelet goAway.
-
goAwayCancel()
- Overrides default Modelet "Cancel" button processing.
-
goAwayOK()
- Overrides default Modelet "OK" button processing.
-
processResult(DialogFrame, boolean)
- See DialogResult callback routine .
-
reinit()
- Overrides the abstract method in Modelet
Gets called whenever the applet gets restarted.
-
showHelp()
- Popup a help page in the browser when the Help Menu Item is clicked.
-
start()
- Dummy routine to be overridden in any subclass of Modelet.
Mapplet
public Mapplet(Applet theStartUp)
- This method creates the user interface items to be placed on the screen
and actually starts up the applet.
start
public void start()
- Dummy routine to be overridden in any subclass of Modelet.
- Overrides:
- start in class Modelet
reinit
public void reinit()
- Overrides the abstract method in Modelet
Gets called whenever the applet gets restarted.
The mapplet directs the browser to reload the cgi containing
the mapplet so that the current session state is initialize in
a new mapplet.
- Overrides:
- reinit in class Modelet
- See Also:
- Modelet, reinit
go
public void go()
- Dummy routine to be overridden in any subclass of Modelet.
- Overrides:
- go in class Modelet
cleanUp
public void cleanUp()
- Dummy routine to be overridden in any subclass of Modelet.
- Overrides:
- cleanUp in class Modelet
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
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
goAway
public void goAway(Parameters modifyParameters)
- Overrides default Modelet goAway.
- Overrides:
- goAway in class Modelet
processResult
public void processResult(DialogFrame d,
boolean which)
- See DialogResult callback routine . The @see DialogFrame class calls this
routine in its @see DialogFrame#action routine. We save the status of the
Dialog processing, send the dialog away, and then decide what to do.
If the user cancelled the deletion, we simply return to main-line
applet processing. If the user accepted the deletion, we set the submode
to DELETECAT and invoke the @see Modelet.goAway method to exit the applet.
- See Also:
- DialogResult, DialogFrame
showHelp
public void showHelp()
- Popup a help page in the browser when the Help Menu Item is clicked.
action
public boolean action(Event e,
Object o)
- action method for menu bar events, ok and cancel button events
- Overrides:
- action in class Modelet
All Packages Class Hierarchy This Package Previous Next Index