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, update
fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, setProperty, update
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public PIASearchPanelController() throws RemoteException
RemoteException
public Object actionPerformed(ActionEvent event) throws RemoteException
PIAPanelController
actionPerformed
in interface PComponentController
actionPerformed
in class PIAPanelController
event
- - event issued by the client to begin the search processRemoteException
- thrown for errorsprotected void fireResultsEvent(PModelHandle[] out)
protected void handleDistributeToListener(Object listener, EventObject evt)
PControllerImpl
distributeEventToListeners
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 PControllerImpl
listener
- the listener to call a method forevt
- the event object to distributepublic Object getSelectionDataFor(String dataItem, int index) throws RemoteException
PIAPanelController
getSelectionDataFor
in interface PControllerBean
getSelectionDataFor
in class PIAPanelController
dataItem
- 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.