BBjSplitter
Description
In BBj 22.10 and higher, the BBjSplitter control encapsulates two resizable controls separated by a divider that enables the user to dynamically resize them.
Implemented Interfaces
DropTarget, Focusable, MouseWheelEnabled, TabTraversable
Creation
BBjAPI > BBjSysGui > BBjWindow > BBjSplitter
A BBjSplitter object is created through the following BBjWindow methods:
|
Return Value |
Method |
|---|---|
|
BBjSplitter |
|
| BBjSplitter | addSplitter(byte[] flags) |
| BBjSplitter | addSplitter(int id) |
| BBjSplitter | addSplitter(int id, byte[] flags) |
| BBjSplitter | addSplitter(int id, number x, number y, number width, number height) |
|
BBjSplitter |
addSplitter(int id, number x, number y, number width, number height, byte[] flags) |
Methods of BBjSplitter
| Return Value | Method |
|---|---|
| BBjControl | getFirstControl() |
| int | getFirstControlID() |
| int | getOrientation() |
| int | getPosition() |
| BBjControl | getSecondControl() |
| int | getSecondControlID() |
| void | setFirstControl(BBjControl control) |
| void | setFirstControlID(int id) |
| void | setOrientation(int orientation) |
| void | setPosition(int position) |
| void | setSecondControl(BBjControl control) |
| void | setSecondControlID(int id) |
Methods of BBjSplitter Implemented for DropTarget
| Return Value | Method |
|---|---|
|
int |
|
|
void |
setDropActions(int actions) |
|
void |
setDropTypes(BBjVector types) |
Methods of BBjSplitter Implemented for Focusable
| Return Value | Method |
|---|---|
|
boolean |
|
|
void |
setFocusable(boolean focus) |
Methods of BBjSplitter Implemented for MouseWheelEnabled
| Return Value | Method |
|---|---|
| int | getScrollWheelBehavior() |
| void | setScrollWheelBehavior(int mode) |
Methods of BBjSplitter implemented for TabTraversable
| Return Value | Method |
|---|---|
|
boolean |
|
|
void |
setTabTraversable(boolean trav) |
Methods of BBjSplitter inherited from BBjControl
Events
|
Callback Code |
Object-oriented Event |
Read Record Event |
Code |
|---|---|---|---|
|
ON_CONTROL_SCROLL |
p |
||
|
ON_DROP_TARGET_DROP |
D |
||
| ON_GAINED_FOCUS | BBjGainedFocusEvent | Control Focus Gained/Lost Event | f |
| ON_LOST_FOCUS | BBjLostFocusEvent | Control Focus Gained/Lost Event | f |
| ON_MOUSE_ENTER | BBjMouseEnterEvent | Mouse Enter/Exit Event | E |
| ON_MOUSE_EXIT | BBjMouseExitEvent | Mouse Enter/Exit Event | E |
| ON_POPUP_REQUEST | BBjPopupRequestEvent | Popup Request Event | r |
|
ON_RIGHT_MOUSE_DOWN |
R |
CSS
The visual appearance of BUI controls is defined using CSS (cascading style sheets) rules. Easily change the default colors, border, and other settings by customizing these rules, all without changing any application code. See CSS API for a high-level overview of BUI CSS.
The BUI BBjSplitter defines the following style names:
.BBjSplitter
.BBjSplitter.bbj-disabled
.BBjSplitter.bbj-horizontal
.BBjSplitter.bbj-vertical
Remarks
None.
Constants inherited from BBjControl
Example
|
See Also
CALLBACK Verb - Register BBj Subroutine
DWC Component: dwc-splitter
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.