public interface PClientComponent extends PComponent
PClientComponent
is a distributed interface for
PComponent
objects.
This interface contains a common API for most client
components. Do not implement this interface directly.
Instead, implement PAppComponent
or PViewComponent
.
This interface can be used to call the API for instances of either of
these component implementations.Modifier and Type | Method and Description |
---|---|
String |
getResourceName()
Gets the base resource name used in resource lookup.
|
Vector |
getTools()
Gets a list of actions supported by this component.
|
void |
setResourceName(String name)
Sets the base resource name used in resource lookup.
|
void |
unregister()
Causes the component's remote component (Controller) to be disassociated
from the component);
|
getControllerClassName, getModelHandle, isLight, setModelHandle
viewDataChange
Vector getTools()
Vector
that contains Action objects.void setResourceName(String name)
name
- a String
that contains the new base resource nameString getResourceName()
String
with the base resource name.void unregister() throws RemoteException
RemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.