Package com.portal.bas.comp
Class PIAFieldController
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PComponentControllerImpl
com.portal.bas.PFieldController
com.portal.bas.comp.PIAFieldController
- All Implemented Interfaces:
PComponentController
,PControllerBean
,PropertyChangeListener
,Serializable
,Remote
,Unreferenced
,EventListener
- Direct Known Subclasses:
PIACanonFieldController
,PIAObjectFieldController
PIAFieldController
is a controller object for the
Field
component.- Version:
- $Revision$
- Author:
- Larry Lynch-Freshner
- 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 TypeMethodDescriptionGets a remote listener handle from the controller.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
void
Updates the field.Methods inherited from class com.portal.bas.PFieldController
actionPerformed, getDisplaySpec, getFieldDescription, getFieldSpec, setProperty
Methods inherited from class com.portal.bas.PComponentControllerImpl
fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, update
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PIAFieldController
- Throws:
RemoteException
-
-
Method Details
-
update
Updates the field.- Specified by:
update
in classPControllerImpl
- Parameters:
reason
- the reason for the updatedata
- the updated object- Throws:
RemoteException
- thrown for all errors
-
getSelectionDataFor
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.- Specified by:
getSelectionDataFor
in interfacePControllerBean
- Parameters:
dataItem
- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEvent
.index
- an optional index into an array data item- Returns:
- A model handle or null, if the item isn't field data.
- Throws:
RemoteException
- thrown for errors
-
getRemoteListenerHandle
Gets a remote listener handle from the controller.- Specified by:
getRemoteListenerHandle
in interfacePControllerBean
- Overrides:
getRemoteListenerHandle
in classPControllerImpl
- Parameters:
type
- the listener's type- Returns:
- The listener's handle.
- Throws:
RemoteException
- thrown for all problems
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-