All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.demos.a401k.b401kEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.beans.demos.a401k.b401kEvent

public class b401kEvent
extends EventObject

This class describes the event that gets generated by the b401kDap bean when a users investment portfolio is selected by entering an account id and hitting the submit button, or when a users investment portfolio is modified by using the viewer to change a percentage allocation on an investment choice.

See Also:
b401kListener

Variable Index

 o investmentChoicePercentages
The array of integers which contain the percentages of the investment choices
 o investmentChoices
The array of strings which contain the names of the investment choices
 o totalPercentage
The total percentage amount for all of the investment choices

Constructor Index

 o b401kEvent(Object, String[], int[], int)
Constructs a b401kEvent.

Method Index

 o getInvestmentChoicePercentages()
The accessor for the investment choices percentages list.
 o getInvestmentChoices()
The accessor for the investment choices list.
 o getTotalPercentage()
The accessor for the total percentage of all of the investment choices.

Variables

 o investmentChoices
 protected String investmentChoices[]
The array of strings which contain the names of the investment choices

 o investmentChoicePercentages
 protected int investmentChoicePercentages[]
The array of integers which contain the percentages of the investment choices

 o totalPercentage
 protected int totalPercentage
The total percentage amount for all of the investment choices

Constructors

 o b401kEvent
 public b401kEvent(Object src,
                   String ics[],
                   int icps[],
                   int totp)
Constructs a b401kEvent.

Parameters:
src -
The object that is creating this event.
ics -
The array of strings which contain the names of the investment choices.
icps -
The array of integers which contain the percentages of each investment choice.
totp -
The total percentage amount for all of the investment choices.

Methods

 o getInvestmentChoices
 public String[] getInvestmentChoices()
The accessor for the investment choices list.

Returns:
An array containing the names of all of the investment choices.
 o getInvestmentChoicePercentages
 public int[] getInvestmentChoicePercentages()
The accessor for the investment choices percentages list.

Returns:
An array containing the percentages of all of the investment choices.
 o getTotalPercentage
 public int getTotalPercentage()
The accessor for the total percentage of all of the investment choices.

Returns:
The total percentage of all of the investment choices.

All Packages  Class Hierarchy  This Package  Previous  Next  Index