BBjControl::getClientProperty
Description
In BBj 17.00 and higher, this method returns a client property previously set on the BBjControl with BBjControl::putClientProperty.
Syntax
Return Value | Method |
---|---|
Object | getClientProperty(Object key) |
Parameters
Parameter | Description |
---|---|
key | Specifies a client property to be retrieved from the control. |
Return Value
Returns the value of this property.
Remarks
This functionality is primarily intended for setting low-level control properties in GUI (Java Swing controls), typically simple numbers or strings, and usually specific to a particular look and feel.
When running in DWC, it can be used to set DWC component attributes, but in BBj 24.00 and higher, the newer setProperty and getProperty methods are preferred. Those newer methods are required when working with property values that aren't Serializable objects.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.