public class PIAFieldBean extends PFieldControllerBean implements PropertyChangeListener, PLightComponent
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PIAFieldBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDataDescriptor()
Gets the data field description used by the component.
|
Object |
getLightData()
Gets the lightweight data object.
|
Object |
getRemoteListenerHandle(String type)
If the component's controller can listen for events
from other controllers,
getRemoteListenerHandle posts a
listener and returns a handle to identify it. |
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 |
setLightData(Object value)
Sets the lightweight data object.
|
void |
update(int reason,
Object data)
Updates the field according to the
displayFieldDescription property,
if present. |
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondaryaddRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedpublic PIAFieldBean()
throws RemoteException
RemoteExceptionpublic String getDataDescriptor()
getDataDescriptor in interface PLightComponentString description of the fields
used by this component or null if there is none.RemoteException - thrown for errorspublic Object getLightData()
getLightData in interface PLightComponentpublic void setLightData(Object value)
setLightData in interface PLightComponentvalue - the lightweight component's display datapublic void update(int reason,
Object data)
throws RemoteException
displayFieldDescription property,
if present.update in class PControllerImplreason - the reason for the updatedata - the updated objectRemoteException - thrown for all 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 posts a
listener and returns a handle to identify it.getRemoteListenerHandle in interface PControllerBeangetRemoteListenerHandle in class PControllerImpltype - the type of listener to getRemoteException - thrown for all problemspublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 2003, 2023, Oracle and/or its affiliates.