Class PNewAccountAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
PNewBusinessAccountAction, PNewConsumerAccountAction

public class PNewAccountAction extends PBASAction
Base class action to launch an Account Creation wizard.
See Also:
  • Field Details

  • Constructor Details

    • PNewAccountAction

      public PNewAccountAction(PClientComponent comp, String tag)
      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

      public void actionPerformed(ActionEvent e)
      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

      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.
      Parameters:
      model - The model handle returned from a successful account creation attempt.
    • cancelled

      protected void cancelled()
      Called when the wizard is cancelled