public class PIAPanelController extends PComponentControllerImpl implements PropertyChangeListener
PIAPanelController is the controller for PIAPanel.
It handles remote event distribution.mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PIAPanelController() |
| Modifier and Type | Method and Description |
|---|---|
Object |
actionPerformed(ActionEvent event)
Handles an action performed in the GUI.
|
Object |
getRemoteListenerHandle(String type)
Gets a remote listener handle from the controller.
|
Object |
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 |
propertyChange(PropertyChangeEvent evt) |
void |
update(int reason,
Object incoming)
The
update method is called by various internal methods when
the data has changed enough to require changing the client display. |
fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, setProperty, updateaddRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PIAPanelController()
throws RemoteException
RemoteExceptionpublic void update(int reason,
Object incoming)
throws RemoteException
PControllerImplupdate 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.update in class PControllerImplreason - an integer constant that indicates the reason for the update
(UPDATE_NEW_MODEL, UPDATE_PROPERTY,
UPDATE_MODEL_CHANGE, or UPDATE_CLIENT)incoming - the data associated with updateRemoteException - thrown for errorspublic Object actionPerformed(ActionEvent event) throws RemoteException
actionPerformed in interface PComponentControllerevent - the action that occurredRemoteException - thrown for errorspublic Object getSelectionDataFor(String dataItem, int index) throws RemoteException
getSelectionDataFor in interface PControllerBeandataItem - the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent.index - an optional index into an array data itemRemoteException - thrown for errorspublic Object getRemoteListenerHandle(String type) throws RemoteException
getRemoteListenerHandle in interface PControllerBeangetRemoteListenerHandle in class PControllerImpltype - the listener's typeRemoteException - thrown for all problemspublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 2003, 2023, Oracle and/or its affiliates.