Class PDefaultController

All Implemented Interfaces:
PComponentController, PControllerBean, Serializable, Remote, Unreferenced

public class PDefaultController extends PComponentControllerImpl
PDefaultController is the default controller class used for components that don't need a controller. It is created for components that are registered but don't have any special controllers associated with them.
Version:
4
Author:
Larry Lynch-Freshner
See Also:
  • Constructor Details

    • PDefaultController

      public PDefaultController() throws RemoteException
      Creates a new instance of the default controller.
      Throws:
      RemoteException - thrown for all errors
  • Method Details

    • update

      public void update(int reason, Object data) throws RemoteException
      Implements the default update method, which does nothing.
      Specified by:
      update in class PControllerImpl
      Parameters:
      reason - the reason for the update
      data - the updated object
      Throws:
      RemoteException - thrown for all errors
    • actionPerformed

      public Object actionPerformed(ActionEvent event) throws RemoteException
      Default actionPerformed implementation, which does nothing.
      Parameters:
      event - the ActionEvent
      Returns:
      A null Object.
      Throws:
      RemoteException - thrown for all errors
    • getSelectionDataFor

      public Object getSelectionDataFor(String dataItem, int index) throws RemoteException
      Default getDescription method, which does nothing.
      Parameters:
      dataItem - the item to get information about
      index - the item's index
      Returns:
      A null Object.
      Throws:
      RemoteException - thrown for all errors