BBjWrappedJComponent
Creation Path
BBjAPI > BBjSysGui > BBjWindow > BBjWrappedJComponent
Description
In BBj 7.00 and higher, the BBjWrappedJComponent is a BBjControl. that contains (or 'wraps') a Java JComponent A BBjWrappedJComponent is both a ClientObject and a BBjControl. The methods of the wrapped JComponent can be invoked on the BBjWrappedJComponent and the methods of a BBjControl can also be invoked on the BBjWrappedJComponent
Implemented Interfaces
Focusable, MouseWheelEnabled, TabTraversable
In BBj 12.00 and higher, MouseWheelEnabled
Creation
A BBjWrappedJComponent object is created through the following BBjWindow methods:
| Return Value | Method |
|---|---|
|
BBjWrappedJComponent |
addWrappedJComponent(int ID, number x, number y, number w, number h, ClientObject component) |
Methods of BBjWrappedJComponent
Because a BBjWrappedJComponent is a ClientObject, the methods of the 'wrapped' JComponent can be invoked on the BBjWrappedJComponent. Because a BBjWrappedJComponent is also a BBjControl, the methods of a BBjControl can be invoked on a BBjWrappedJComponent.
Methods of BBjWrappedJComponent implemented for Focusable
| Return Value | Method |
|---|---|
|
boolean |
|
|
void |
setFocusable(boolean focus) |
Methods of BBjSlider implemented for MouseWheelEnabled
| Return Value | Method |
|---|---|
|
int |
|
|
void |
setScrollWheelBehavior(int mode) |
Methods of BBjWrappedJComponent inherited from BBjControl
Constants inherited from BBjControl
Example
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.