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, setProperty
fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, update
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, unreferenced
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public PIAGroupTreeController() throws RemoteException
RemoteException
public void update(int reason, Object data) throws RemoteException
displayFieldSpecification
property,
if present.update
in class PControllerImpl
reason
- 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
RemoteException
public Object actionPerformed(ActionEvent event) throws RemoteException
actionPerformed
in interface PComponentController
actionPerformed
in class PFieldController
event
- 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.