Class PIASpecSpreadSheetController

All Implemented Interfaces:
PComponentController, PControllerBean, Serializable, Remote, Unreferenced
Direct Known Subclasses:
PIAPhoneTableController, PIASearchResultsPanelController

public class PIASpecSpreadSheetController extends PFieldController
PIASpecSpreadSheetController is the controller class for the PIASpecSpreadSheet component.
Version:
%revision%
Author:
Kapono Carter
See Also:
  • Constructor Details

  • Method Details

    • update

      public void update(int reason, Object data) throws RemoteException
      Description copied from class: PControllerImpl
      The update method is called by various internal methods when the data has changed enough to require changing the client display. Must be overridden by a specific controller subclass.
      Specified by:
      update in class PControllerImpl
      Parameters:
      reason - an integer constant that indicates the reason for the update (UPDATE_NEW_MODEL, UPDATE_PROPERTY, UPDATE_MODEL_CHANGE, or UPDATE_CLIENT)
      data - the data associated with update
      Throws:
      RemoteException - thrown for errors
    • actionPerformed

      public Object actionPerformed(ActionEvent ev) throws RemoteException
      Retrieves information about data actions performed on a spreadsheet cell.
      Specified by:
      actionPerformed in interface PComponentController
      Overrides:
      actionPerformed in class PFieldController
      Parameters:
      ev - the action event
      event - the data event
      Returns:
      Information about the event, or null if this isn't a PIADataActionEvent.
      Throws:
      RemoteException - thrown for errors
    • getSelectionDataFor

      public Object getSelectionDataFor(String dataItem, int index) throws RemoteException
      Description copied from interface: PControllerBean
      Given the name of a display data item and an optional index, returns the information needed for a Selection event. The information returned is usually model data.
      Parameters:
      dataItem - the name of a data item. Must match the name of an item changed by sending a PViewDataChangeEvent.
      index - an optional index into an array data item
      Returns:
      Usually, a model handle or array of model handles.
      Throws:
      RemoteException - thrown for errors