public interface PComponentController extends PControllerBean
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.Modifier and Type | Method and Description |
---|---|
Object |
actionPerformed(ActionEvent event)
Handles an action performed in the GUI.
|
Object |
getProperty(String prop)
Gets the value of an arbitrary property.
|
void |
setDisplayComponent(PViewDataChangeListener dc)
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.
|
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, getSelectionDataFor, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
void update() throws RemoteException
RemoteException
- thrown for errorsvoid setDisplayComponent(PViewDataChangeListener dc) throws RemoteException
dc
- the new display componentRemoteException
- thrown for errorsObject actionPerformed(ActionEvent event) throws RemoteException
event
- the action that occurredRemoteException
- thrown for errorsvoid setProperty(String prop, Object val) throws RemoteException
prop
- a String
property nameval
- the property valueRemoteException
- thrown for all problemsObject getProperty(String prop) throws RemoteException
prop
- a String
that contains the property nameString
with the property value.RemoteException
- thrown for errorsCopyright © 2003, 2023, Oracle and/or its affiliates.