All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class IMSWG.IW.JumpMenu

java.lang.Object
   |
   +----IMSWG.IW.JumpMenu

public class JumpMenu
extends Object
The JumpMenu class sets up a "jump" control item, used to allow the user to select an alternate destination once he or she leaves the current page.


Constructor Index

 o JumpMenu(Parameters)
This method constructs the custom IU pop-up to be associated with this menu and fills it with the "pretty names" passed in.

Method Index

 o getJumpMenuSelection()
Returns the String corresponding to the user's last choice; this will be the default if no choice was made.
 o getUIComponent()
This routine gives the caller a reference to the associated pop-up.
 o setChoice(String)
Accepts a String and saves it in the "last choice" field.

Constructors

 o JumpMenu
 public JumpMenu(Parameters incomingParams)
This method constructs the custom IU pop-up to be associated with this menu and fills it with the "pretty names" passed in.

Parameters:
myParams - The Parameters object constructed by Modelet.

Methods

 o getUIComponent
 public Choice getUIComponent()
This routine gives the caller a reference to the associated pop-up. It is cast to Choice because no one outside of JumpMenu is allowed to know about JumpChoice objects.

 o getJumpMenuSelection
 public String getJumpMenuSelection()
Returns the String corresponding to the user's last choice; this will be the default if no choice was made.

 o setChoice
 public void setChoice(String theChoice)
Accepts a String and saves it in the "last choice" field. Invoked by the UI component only.

Parameters:
theChoice - A string containing the last choice made.

All Packages  Class Hierarchy  This Package  Previous  Next  Index