public class PIAGroupTreeController extends PFieldController
PIAGroupTreeController is the controller class for
the PIAGroupTree component.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
mLazy |
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PIAGroupTreeController() |
| Modifier and Type | Method and Description |
|---|---|
Object |
actionPerformed(ActionEvent event)
Handles an action performed in the GUI.
|
protected void |
buildTree(PInfranetConnectionImpl conn,
Hashtable h,
PDataFieldSpecification spec,
FList fl,
PModelHandle han) |
Object |
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.
|
void |
update(int reason,
Object data)
Updates the field according to the
displayFieldSpecification property,
if present. |
getDisplaySpec, getFieldDescription, getFieldSpec, setPropertyfireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, updateaddRemoteListener, 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, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PIAGroupTreeController()
throws RemoteException
RemoteExceptionpublic void update(int reason,
Object data)
throws RemoteException
displayFieldSpecification property,
if present.update in class PControllerImplreason - the reason for the updatedata - the updated objectRemoteException - thrown for all errorsprotected void buildTree(PInfranetConnectionImpl conn, Hashtable h, PDataFieldSpecification spec, FList fl, PModelHandle han) throws RemoteException
RemoteExceptionpublic Object actionPerformed(ActionEvent event) throws RemoteException
actionPerformed in interface PComponentControlleractionPerformed in class PFieldControllerevent - the action that occurredRemoteException - thrown for errorspublic Object getSelectionDataFor(String dataItem, int index) throws RemoteException
In this implementation, the method always returns null.
dataItem - the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent.index - an optional index into an array data itemRemoteException - thrown for errorsCopyright © 2003, 2023, Oracle and/or its affiliates.