Package com.portal.bas.comp
Class PIAObjectFieldBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PFieldControllerBean
com.portal.bas.comp.PIAFieldBean
com.portal.bas.comp.PIAObjectFieldBeanImpl
- All Implemented Interfaces:
PIAObjectFieldBean,PControllerBean,PFieldBean,PLightComponent,PropertyChangeListener,Serializable,Remote,Unreferenced,EventListener
PIAObjectFieldBeanImpl implements the controller for
PIAObjectField.- Version:
- %version: 3 % %date_modified: Thu Apr 19 17:45:24 2001 %
- Author:
- larrylf
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]Retrieves the combo box choices.voidsetChoiceModel(PModelHandle model) Sets a model from which an array of choices can be extracted.voidsetChoiceSpec(String spec) Specifies which field in thesetChoiceModel(com.portal.bas.PModelHandle)array of objects can be used as selections in the combo box.voidUpdates the field according to thedisplayFieldDescriptionproperty, if present.Methods inherited from class com.portal.bas.comp.PIAFieldBean
getDataDescriptor, getLightData, getRemoteListenerHandle, getSelectionDataFor, propertyChange, setLightDataMethods inherited from class com.portal.bas.PFieldControllerBean
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondaryMethods inherited from class com.portal.bas.PControllerImpl
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
-
Constructor Details
-
PIAObjectFieldBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
update
Description copied from class:PIAFieldBeanUpdates the field according to thedisplayFieldDescriptionproperty, if present.- Overrides:
updatein classPIAFieldBean- Parameters:
reason- the reason for the updatedata- the updated object- Throws:
RemoteException- thrown for all errors
-
setChoiceSpec
Specifies which field in thesetChoiceModel(com.portal.bas.PModelHandle)array of objects can be used as selections in the combo box.- Specified by:
setChoiceSpecin interfacePIAObjectFieldBean- Parameters:
spec- a field specification that evaluates to an array- Throws:
RemoteException- thrown for errors
-
setChoiceModel
Sets a model from which an array of choices can be extracted.- Specified by:
setChoiceModelin interfacePIAObjectFieldBean- Parameters:
model- a model handle- Throws:
RemoteException- thrown for errors
-
getChoices
Retrieves the combo box choices.- Specified by:
getChoicesin interfacePIAObjectFieldBean- Returns:
- An array that contains the choices made.
- Throws:
RemoteException- thrown for errors
-