Package com.portal.app.cc
Class PNewAccountAction
java.lang.Object
javax.swing.AbstractAction
com.portal.bas.PBASAction
com.portal.app.cc.PNewAccountAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Direct Known Subclasses:
PNewBusinessAccountAction
,PNewConsumerAccountAction
Base class action to launch an Account Creation wizard.
- See Also:
-
Field Summary
FieldsFields inherited from class com.portal.bas.PBASAction
ACCEL, ICON_DISABLED, ICON_DISABLED_SELECTED, ICON_PRESSED, ICON_ROLLOVER, ICON_ROLLOVER_SELECTED, ICON_SELECTED, MNEM, TOOL_TITLE, TOOLBAR_LABEL
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
ConstructorsConstructorDescriptionPNewAccountAction
(PClientComponent comp, String tag) Creates a new instance of a Create Account action that will launch an Account Creation wizard. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Puts up an account creation wizard, (PAccountCreationWizard
).protected void
Called when the wizard is cancelledprotected void
Displays the wizard.protected void
finished
(PModelHandle model) Sets the current account to be the newly-created account, first checking that opening the new account won't exceed the maximum number of accounts allowed open at one time.protected void
Prepares the wizard for display.Methods inherited from class com.portal.bas.PBASAction
equals, getComponent, getHelpID, getPreferredMenu, getTag, handleError, setActionHelpOn, setPreferredMenu
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
mCreateAccountWizard
-
-
Constructor Details
-
PNewAccountAction
Creates a new instance of a Create Account action that will launch an Account Creation wizard.- Parameters:
comp
- The component this action will create a new account for.tag
- The tag identifying the type of account creation wizard to create.
-
-
Method Details
-
actionPerformed
Puts up an account creation wizard, (PAccountCreationWizard
). The variant of the wizard that is put up is determined by the tag that was passed in to the constructor.- See Also:
-
initWizard
protected void initWizard()Prepares the wizard for display. -
displayWizard
protected void displayWizard()Displays the wizard. -
finished
Sets the current account to be the newly-created account, first checking that opening the new account won't exceed the maximum number of accounts allowed open at one time.- Parameters:
model
- The model handle returned from a successful account creation attempt.
-
cancelled
protected void cancelled()Called when the wizard is cancelled
-