Class PNewServiceTable

All Implemented Interfaces:
PSpreadSheetListener, PAppComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewDataChangeListener, ContainerListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class PNewServiceTable extends PIACustomizablePanel implements PSpreadSheetListener
Presents the new services that are available for purchasing by the customer, and allows modification of the service's login and password data.
Version:
%version: 8 % %date_modified: Mon Oct 29 14:24:24 2001 %
Author:
dachywan
See Also:
  • Field Details

  • Constructor Details

    • PNewServiceTable

      public PNewServiceTable()
      Creates a panel that displays new services that can be purchased by the customer
  • Method Details

    • setModelHandle

      public void setModelHandle(PModelHandle data) throws RemoteException
      Establishes the new data to display
      Specified by:
      setModelHandle in interface PComponent
      Overrides:
      setModelHandle in class PIACustomizablePanel
      Parameters:
      data -
      Throws:
      RemoteException - thrown for errors
    • addSelectionListener

      public void addSelectionListener(PIASelectionListener l)
      Parameters:
      l - The selection listener
    • removeSelectionListener

      public void removeSelectionListener(PIASelectionListener l)
      Parameters:
      l - The selection listener
    • selectionChanged

      public void selectionChanged(PSpreadSheetEvent se)
      Implements the PSpreadSheetListener interface
      Specified by:
      selectionChanged in interface PSpreadSheetListener
      Parameters:
      se - the PSpreadSheetEvent
      event - the PIASelectionEvent event
    • getServiceAt

      public PModelHandle getServiceAt(int row)
      return the service model handle at the view index
      Parameters:
      index - the row view index
    • collectData

      public void collectData(PCollectDataEvent event)
      interface called when wizard try to collect data from each wizard page
      Specified by:
      collectData in interface PCollectDataListener
      Overrides:
      collectData in class PIACustomizablePanel
      Parameters:
      event - The marshal data event
    • getSelectedService

      public PModelHandle getSelectedService()
      return the service model handle for the selected row.
    • getServiceForRow

      public PModelHandle getServiceForRow(int row)
      return the service model handle for the specified row.
    • getSelectedRowModelIndex

      public int getSelectedRowModelIndex()
    • getModelIndex

      public int getModelIndex(int viewIndex)
      Return the model index for the view index passed in.
    • getSelectedRowViewIndex

      public int getSelectedRowViewIndex()
    • getRowCount

      public int getRowCount()
    • setLoginIDAt

      public void setLoginIDAt(Object loginID, int row)
    • getLoginIDAt

      public String getLoginIDAt(int row)
    • clearTable

      public void clearTable()
    • setDefaultSelection

      public void setDefaultSelection()
    • setRowSelection

      public void setRowSelection(int row)
    • resetToDefault

      public void resetToDefault()
      Removes any changes made to the account and reverts back to the last read/saved values.
      Specified by:
      resetToDefault in interface PComponentAttribute
      Overrides:
      resetToDefault in class PIACustomizablePanel
    • setSubscrptionGroupAvailable

      public void setSubscrptionGroupAvailable(boolean mIsSubscriptionGroupAvailable)
      set whether plan is having subcription group or not
      Parameters:
      mIsSubscriptionGroupAvailable - boolean
    • selectNextRow

      public void selectNextRow()
    • selectPreviousRow

      public void selectPreviousRow()
    • addNotify

      public void addNotify()
      Overrides:
      addNotify in class JComponent
    • removeNotify

      public void removeNotify()
      Overrides:
      removeNotify in class JComponent
    • setDefaultSorting

      protected void setDefaultSorting()