public interface PLightComponent
PLightComponent
is an interface that defines lightweight component behavior.
Lightweight components don't get their model set directly. Instead, they
must be placed in a container that can handle them. The container's
controller must update a lightweight component's controller, gathering its
updated data in a caching model handle. The container's client then
distributes the data to the lightweight component's client. This provides for
more efficient data transfer when many small bits of data
are needed, for example, field components.Modifier and Type | Method and Description |
---|---|
String |
getDataDescriptor()
Returns a string guaranteed to be unique among the lightweight components
that can be used to describe the data, and acts as a key for it.
|
Object |
getLightData()
Gets the lightweight data object itself.
|
void |
setLightData(Object field)
Sets the lightweight data object.
|
String getDataDescriptor()
String
data description.Object getLightData()
Object
that represents a component's display data.void setLightData(Object field)
field
- the lightweight component's display dataCopyright © 2003, 2023, Oracle and/or its affiliates.