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