Package com.portal.bas.comp
Class PIAPanelController
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PComponentControllerImpl
com.portal.bas.comp.PIAPanelController
- All Implemented Interfaces:
PComponentController
,PControllerBean
,PropertyChangeListener
,Serializable
,Remote
,Unreferenced
,EventListener
- Direct Known Subclasses:
PIANotesPanelController
,PIAPayInfoPanelController
,PIASearchPanelController
,SearchController
PIAPanelController
is the controller for PIAPanel
.
It handles remote event distribution.- Version:
- %version: 8 % %date_modified: Thu Apr 19 17:45:58 2001 %
- Author:
- larrylf
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionPerformed
(ActionEvent event) Handles an action performed in the GUI.Gets a remote listener handle from the controller.getSelectionDataFor
(String dataItem, int index) Given the name of a display data item and an optional index, returns the information needed for a Selection event.void
void
Theupdate
method is called by various internal methods when the data has changed enough to require changing the client display.Methods inherited from class com.portal.bas.PComponentControllerImpl
fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, setProperty, update
Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PIAPanelController
- Throws:
RemoteException
-
-
Method Details
-
update
Description copied from class:PControllerImpl
Theupdate
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 classPControllerImpl
- Parameters:
reason
- an integer constant that indicates the reason for the update (UPDATE_NEW_MODEL
,UPDATE_PROPERTY
,UPDATE_MODEL_CHANGE
, orUPDATE_CLIENT
)incoming
- the data associated withupdate
- Throws:
RemoteException
- thrown for errors
-
actionPerformed
Handles an action performed in the GUI.- Specified by:
actionPerformed
in interfacePComponentController
- Parameters:
event
- the action that occurred- Returns:
- An object may be returned as a result of action processing.
- Throws:
RemoteException
- thrown for errors
-
getSelectionDataFor
Given the name of a display data item and an optional index, returns the information needed for a Selection event.- Specified by:
getSelectionDataFor
in interfacePControllerBean
- Parameters:
dataItem
- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEvent
.index
- an optional index into an array data item- Returns:
- Usually, a model handle or array of model handles.
- Throws:
RemoteException
- thrown for errors
-
getRemoteListenerHandle
Gets a remote listener handle from the controller.- Specified by:
getRemoteListenerHandle
in interfacePControllerBean
- Overrides:
getRemoteListenerHandle
in classPControllerImpl
- Parameters:
type
- the listener's type- Returns:
- The listener's handle.
- Throws:
RemoteException
- thrown for all problems
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-