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.void
setChoiceModel
(PModelHandle model) Sets a model from which an array of choices can be extracted.void
setChoiceSpec
(String spec) Specifies which field in thesetChoiceModel(com.portal.bas.PModelHandle)
array of objects can be used as selections in the combo box.void
Updates the field according to thedisplayFieldDescription
property, if present.Methods inherited from class com.portal.bas.comp.PIAFieldBean
getDataDescriptor, getLightData, getRemoteListenerHandle, getSelectionDataFor, propertyChange, setLightData
Methods inherited from class com.portal.bas.PFieldControllerBean
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondary
Methods 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:PIAFieldBean
Updates the field according to thedisplayFieldDescription
property, if present.- Overrides:
update
in 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:
setChoiceSpec
in 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:
setChoiceModel
in interfacePIAObjectFieldBean
- Parameters:
model
- a model handle- Throws:
RemoteException
- thrown for errors
-
getChoices
Retrieves the combo box choices.- Specified by:
getChoices
in interfacePIAObjectFieldBean
- Returns:
- An array that contains the choices made.
- Throws:
RemoteException
- thrown for errors
-