Package com.portal.bas
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
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 Summary
Modifier and TypeMethodDescriptionactionPerformed
(ActionEvent event) Handles an action performed in the GUI.getProperty
(String prop) Gets the value of an arbitrary property.void
Sets the display component to be controlled by this controller.void
setProperty
(String prop, Object val) Sets the value of an arbitrary property.void
update()
Tells the controller to load the model and redisplays the component.Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, getSelectionDataFor, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Method Details
-
update
Tells the controller to load the model and redisplays the component.- Throws:
RemoteException
- thrown for errors
-
setDisplayComponent
Sets the display component to be controlled by this controller.- Parameters:
dc
- the new display component- Throws:
RemoteException
- thrown for errors
-
actionPerformed
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
Sets the value of an arbitrary property. The property has meaning only to a specific subclass.- Parameters:
prop
- aString
property nameval
- the property value- Throws:
RemoteException
- thrown for all problems
-
getProperty
Gets the value of an arbitrary property. The property has meaning only to a specific subclass.- Parameters:
prop
- aString
that contains the property name- Returns:
- A
String
with the property value. - Throws:
RemoteException
- thrown for errors
-