public class PIASearchPanelController extends PIAPanelController
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PIASearchPanelController()
Creates the search panel controller
|
| Modifier and Type | Method and Description |
|---|---|
Object |
actionPerformed(ActionEvent event)
Handles an action performed in the GUI.
|
protected void |
fireResultsEvent(PModelHandle[] out) |
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.
|
protected void |
handleDistributeToListener(Object listener,
EventObject evt)
Called by
distributeEventToListeners to pass an event
to specific listener methods. |
getRemoteListenerHandle, propertyChange, updatefireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, setProperty, updateaddRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, 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 PIASearchPanelController()
throws RemoteException
RemoteExceptionpublic Object actionPerformed(ActionEvent event) throws RemoteException
PIAPanelControlleractionPerformed in interface PComponentControlleractionPerformed in class PIAPanelControllerevent - - event issued by the client to begin the search processRemoteException - thrown for errorsprotected void fireResultsEvent(PModelHandle[] out)
protected void handleDistributeToListener(Object listener, EventObject evt)
PControllerImpldistributeEventToListeners to pass an event
to specific listener methods. When overriding this method, be sure to
pass calls for unknown listener classes to the parent controller
to handle other types of event objects.handleDistributeToListener in class PControllerImpllistener - the listener to call a method forevt - the event object to distributepublic Object getSelectionDataFor(String dataItem, int index) throws RemoteException
PIAPanelControllergetSelectionDataFor in interface PControllerBeangetSelectionDataFor in class PIAPanelControllerdataItem - 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 errorsCopyright © 2003, 2023, Oracle and/or its affiliates.