Interface PComponentController

All Superinterfaces:
PControllerBean, Remote
All Known Implementing Classes:
PComponentControllerImpl, PDefaultController, PFieldController, PIACanonFieldController, PIAFieldController, PIAGroupTreeController, PIAListController, PIANotesPanelController, PIAObjectFieldController, PIAPanelController, PIAPayInfoPanelController, PIAPhoneTableController, PIASearchPanelController, PIASearchResultsPanelController, PIASimpleSearchController, PIASpecSpreadSheetController, PIASpreadSheetController, SearchController

public interface PComponentController extends PControllerBean
The PComponentController interface defines the controller part of the model view controller (MVC) distributed Portal-aware component set. Classes that implement this interface contain the logic associated with each control.
Version:
10
Author:
Larry Lynch-Freshner
  • Method Details

    • update

      void update() throws RemoteException
      Tells the controller to load the model and redisplays the component.
      Throws:
      RemoteException - thrown for errors
    • setDisplayComponent

      void setDisplayComponent(PViewDataChangeListener dc) throws RemoteException
      Sets the display component to be controlled by this controller.
      Parameters:
      dc - the new display component
      Throws:
      RemoteException - thrown for errors
    • actionPerformed

      Object actionPerformed(ActionEvent event) throws RemoteException
      Handles an action performed in the GUI.
      Parameters:
      event - the action that occurred
      Returns:
      An object may be returned as a result of action processing.
      Throws:
      RemoteException - thrown for errors
    • setProperty

      void setProperty(String prop, Object val) throws RemoteException
      Sets the value of an arbitrary property. The property has meaning only to a specific subclass.
      Parameters:
      prop - a String property name
      val - the property value
      Throws:
      RemoteException - thrown for all problems
    • getProperty

      Object getProperty(String prop) throws RemoteException
      Gets the value of an arbitrary property. The property has meaning only to a specific subclass.
      Parameters:
      prop - a String that contains the property name
      Returns:
      A String with the property value.
      Throws:
      RemoteException - thrown for errors