BBjControl::putClientProperty
Description
In BBj 17.00 and higher, this method sets a client property on the BBjControl.
Syntax
Return Value | Method |
---|---|
void | putClientProperty(Object key, Object value) |
Parameters
Parameter | Description |
---|---|
key | Specifies a property key to be set on the control. |
value | Specifies the value of that property. |
Return Value
None.
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.