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
-
investmentChoicePercentages
- The array of integers which contain the percentages of the investment choices
-
investmentChoices
- The array of strings which contain the names of the investment choices
-
totalPercentage
- The total percentage amount for all of the investment choices
-
b401kEvent(Object, String[], int[], int)
- Constructs a b401kEvent.
-
getInvestmentChoicePercentages()
- The accessor for the investment choices percentages list.
-
getInvestmentChoices()
- The accessor for the investment choices list.
-
getTotalPercentage()
- The accessor for the total percentage of all of the investment choices.
investmentChoices
protected String investmentChoices[]
- The array of strings which contain the names of the investment choices
investmentChoicePercentages
protected int investmentChoicePercentages[]
- The array of integers which contain the percentages of the investment choices
totalPercentage
protected int totalPercentage
- The total percentage amount for all of the investment choices
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.
getInvestmentChoices
public String[] getInvestmentChoices()
- The accessor for the investment choices list.
- Returns:
- An array containing the names of all of the investment choices.
getInvestmentChoicePercentages
public int[] getInvestmentChoicePercentages()
- The accessor for the investment choices percentages list.
- Returns:
- An array containing the percentages of all of the investment choices.
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