PComponentControllerImpl is deprecated
and replaced by PComponentController.public abstract class PComponentControllerImpl extends PControllerImpl implements PComponentController, Serializable
PComponentControllerImpl is a base implementation of the server
side of a component controller.
Use this abstract class as the base of all component-specific controllers.mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PComponentControllerImpl()
Deprecated.
Creates an instance of
PComponentControllerImpl. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireDataChangeEvent(PViewDataChangeEvent evt)
Deprecated.
Sends a
PViewDataChangeEvent event to the display component. |
protected void |
fireDataChangeEvent(String prop,
int how,
int index,
Object newVal)
Deprecated.
Sends a
PViewDataChangeEvent event to the display component
along with information about the name of the data, its location,
its new value, and how the value has changed. |
protected void |
fireDataChangeEvent(String prop,
int index,
Object newVal)
Deprecated.
Sends a
PViewDataChangeEvent event to the display
component along with information about the name of the data, its location,
and its new value. |
protected void |
fireDataChangeEvent(String prop,
Object newVal)
Deprecated.
Sends a
PViewDataChangeEvent event to the display
component along with information about the name of the data and its new
value. |
protected PInfranetConnectionImpl |
getConnection()
Deprecated.
Gets the connection to Portal for this instance.
|
Object |
getProperty(String prop)
Deprecated.
Implements the client
getProperty feature to get a property. |
protected PViewDataChangeListener |
getView()
Deprecated.
Gets the display component associated with this controller.
|
void |
setDisplayComponent(PViewDataChangeListener dc)
Deprecated.
Sets the display component to be controlled.
|
void |
setProperty(String prop,
Object val)
Deprecated.
Implements the client
setProperty feature to set a property. |
void |
update()
Deprecated.
Generic update, usually called by the client to force the
controller to update the client.
|
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionPerformedaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, getSelectionDataFor, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PComponentControllerImpl()
throws RemoteException
PComponentControllerImpl.RemoteException - thrown for errorspublic void update()
throws RemoteException
update in interface PComponentControllerRemoteException - thrown for errorspublic void setDisplayComponent(PViewDataChangeListener dc) throws RemoteException
setDisplayComponent in interface PComponentControllerdc - the new display componentRemoteException - thrown for errorspublic void setProperty(String prop, Object val) throws RemoteException
setProperty feature to set a property.setProperty in interface PComponentControllerprop - the property nameval - the property valueRemoteException - thrown for errorspublic Object getProperty(String prop) throws RemoteException
getProperty feature to get a property.getProperty in interface PComponentControllerprop - the property nameRemoteException - thrown for errorsprotected PInfranetConnectionImpl getConnection()
PInfranetConnectionImpl object.protected PViewDataChangeListener getView()
PViewDataChangeListener object.protected void fireDataChangeEvent(String prop, Object newVal) throws RemoteException
PViewDataChangeEvent event to the display
component along with information about the name of the data and its new
value.prop - the name used to identify the display datanewVal - the new value(s) to displayRemoteException - thrown for errorsprotected void fireDataChangeEvent(String prop, int index, Object newVal) throws RemoteException
PViewDataChangeEvent event to the display
component along with information about the name of the data, its location,
and its new value.prop - the name used to identify the display dataindex - an index into the named datanewVal - the new value(s) to displayRemoteException - thrown for errorsprotected void fireDataChangeEvent(String prop, int how, int index, Object newVal) throws RemoteException
PViewDataChangeEvent event to the display component
along with information about the name of the data, its location,
its new value, and how the value has changed.prop - the name used to identify the display datahow - how the value has changedindex - an index into the named datanewVal - the new value(s) to displayRemoteException - thrown for errorsprotected void fireDataChangeEvent(PViewDataChangeEvent evt) throws RemoteException
PViewDataChangeEvent event to the display component.evt - the event to sendRemoteException - thrown for errorsCopyright © 2003, 2023, Oracle and/or its affiliates.