public class PIAObjectFieldBeanImpl extends PIAFieldBean implements PIAObjectFieldBean
PIAObjectFieldBeanImpl
implements the controller for
PIAObjectField
.mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PIAObjectFieldBeanImpl() |
Modifier and Type | Method and Description |
---|---|
Object[] |
getChoices()
Retrieves the combo box choices.
|
void |
setChoiceModel(PModelHandle model)
Sets a model from which an array of choices can be extracted.
|
void |
setChoiceSpec(String spec)
Specifies which field in the
setChoiceModel(com.portal.bas.PModelHandle) array of objects can be
used as selections in the combo box. |
void |
update(int reason,
Object data)
Updates the field according to the
displayFieldDescription property,
if present. |
getDataDescriptor, getLightData, getRemoteListenerHandle, getSelectionDataFor, propertyChange, setLightData
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondary
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
public PIAObjectFieldBeanImpl() throws RemoteException
RemoteException
public void update(int reason, Object data) throws RemoteException
PIAFieldBean
displayFieldDescription
property,
if present.update
in class PIAFieldBean
reason
- the reason for the updatedata
- the updated objectRemoteException
- thrown for all errorspublic void setChoiceSpec(String spec) throws RemoteException
setChoiceModel(com.portal.bas.PModelHandle)
array of objects can be
used as selections in the combo box.setChoiceSpec
in interface PIAObjectFieldBean
spec
- a field specification that evaluates to an arrayRemoteException
- thrown for errorspublic void setChoiceModel(PModelHandle model) throws RemoteException
setChoiceModel
in interface PIAObjectFieldBean
model
- a model handleRemoteException
- thrown for errorspublic Object[] getChoices() throws RemoteException
getChoices
in interface PIAObjectFieldBean
RemoteException
- thrown for errorsCopyright © 2003, 2023, Oracle and/or its affiliates.