public class PIAFieldController extends PFieldController implements PropertyChangeListener
PIAFieldController
is a controller object for the
Field
component.mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PIAFieldController() |
Modifier and Type | Method and Description |
---|---|
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 (usually, model data) for a field selection
event to be useful.
|
void |
propertyChange(PropertyChangeEvent evt) |
void |
update(int reason,
Object data)
Updates the field.
|
actionPerformed, getDisplaySpec, getFieldDescription, getFieldSpec, setProperty
fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, update
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, handleDistributeToListener, 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 PIAFieldController() throws RemoteException
RemoteException
public void update(int reason, Object data) throws RemoteException
update
in class PControllerImpl
reason
- the reason for the updatedata
- the updated objectRemoteException
- thrown for all errorspublic Object getSelectionDataFor(String dataItem, int index) throws RemoteException
getSelectionDataFor
in interface PControllerBean
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 errorspublic Object getRemoteListenerHandle(String type) throws RemoteException
getRemoteListenerHandle
in interface PControllerBean
getRemoteListenerHandle
in class PControllerImpl
type
- the listener's typeRemoteException
- thrown for all problemspublic void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2003, 2023, Oracle and/or its affiliates.