public interface PComponent extends PViewDataChangeListener
PComponent
is the distributed interface for PComponent
objects.
Note that this does not extend Remote
. This interface is used for
both remote and non-remote component portions. This allows
PAppComponent
to not have to throw RemoteException
in its
constructor, which benefits bean builders.PRemoteComponent
Modifier and Type | Method and Description |
---|---|
String |
getControllerClassName()
Gets the class name for the controller of this class.
|
PModelHandle |
getModelHandle()
Gets the data for the component to use.
|
boolean |
isLight()
Determines whether this is a lightweight component.
|
void |
setModelHandle(PModelHandle data)
Sets the data for the component to use.
|
viewDataChange
void setModelHandle(PModelHandle data) throws RemoteException
data
- the new flist to display fromRemoteException
- thrown for errorsPModelHandle getModelHandle() throws RemoteException
RemoteException
- thrown for errorsboolean isLight() throws RemoteException
getModelHandle
always
returns null, setModelHandle
is ignored, and no
property change events are generated.RemoteException
- thrown for errorsString getControllerClassName() throws RemoteException
String
with the component's
controller class name.RemoteException
- thrown for errorsCopyright © 2003, 2023, Oracle and/or its affiliates.