Package com.portal.bas.comp
Class PIAGroupTreeController
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PComponentControllerImpl
com.portal.bas.PFieldController
com.portal.bas.comp.PIAGroupTreeController
- All Implemented Interfaces:
PComponentController,PControllerBean,Serializable,Remote,Unreferenced
PIAGroupTreeController is the controller class for
the PIAGroupTree component.- Version:
- 2
- Author:
- Larry Lynch-Freshner
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptionactionPerformed(ActionEvent event) Handles an action performed in the GUI.protected voidbuildTree(PInfranetConnectionImpl conn, Hashtable h, PDataFieldSpecification spec, FList fl, PModelHandle han) 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.voidUpdates the field according to thedisplayFieldSpecificationproperty, if present.Methods inherited from class com.portal.bas.PFieldController
getDisplaySpec, getFieldDescription, getFieldSpec, setPropertyMethods inherited from class com.portal.bas.PComponentControllerImpl
fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, updateMethods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Field Details
-
mLazy
protected boolean mLazy
-
-
Constructor Details
-
PIAGroupTreeController
- Throws:
RemoteException
-
-
Method Details
-
update
Updates the field according to thedisplayFieldSpecificationproperty, if present.- Specified by:
updatein classPControllerImpl- Parameters:
reason- the reason for the updatedata- the updated object- Throws:
RemoteException- thrown for all errors
-
buildTree
protected void buildTree(PInfranetConnectionImpl conn, Hashtable h, PDataFieldSpecification spec, FList fl, PModelHandle han) throws RemoteException - Throws:
RemoteException
-
actionPerformed
Handles an action performed in the GUI.- Specified by:
actionPerformedin interfacePComponentController- Overrides:
actionPerformedin classPFieldController- Parameters:
event- the action that occurred- Returns:
- An object may be returned as a result of action processing.
- Throws:
RemoteException- thrown for errors
-
getSelectionDataFor
Given the name of a display data item and an optional index, returns the information needed for a Selection event. The information returned is usually model data.In this implementation, the method always returns null.
- 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:
- In this implementation, the method always returns null.
- Throws:
RemoteException- thrown for errors
-