BBjMDI
Description
In BBj 3.0 and higher, the BBjMDI object represents an MDI (Multiple Document Interface) window used to display all windows created by an application being run through a thin client. The BBjMDI aggregates an internal BBjTopLevelWindow.
Creation
BBjAPI > BBjMDI
The BBjMDI object is created through the following BBjAPI object method:
Return Value |
Method |
---|---|
BBjMDI |
getMDI() |
Methods of BBjMDI
Return Value |
Method |
---|---|
addListButton(int ID, int x, int y, int width, int height, string initialContents) |
|
addListButton(int ID, int x, int y, int width, int height, string initialContents, string flags) |
|
addMenuButton(int ID, int x, int y, int width, int height, string title) |
|
addMenuButton(int ID, int x, int y, int width, int height, string title, string flags) |
|
addStatusBar(string flags) |
|
addToolButton(int ID, int x, int y, int width, int height, string title) |
|
addToolButton(int ID, int x, int y, int width, int height, string title, string flags) |
|
void |
|
void |
|
void |
|
void |
cascade() |
boolean |
closeAll(int timeoutInSeconds) |
boolean |
closeAllClients(int timeoutInSeconds) |
int |
|
void |
createMDIWindow(int x, int y, int width, int height, string title) |
void |
createMDIWindow(int x, int y, int width, int height, string title, string flags) |
void |
|
void |
enableMDIWindowMenu(string windowLabel, string arrangeLabel, string cascadeLabel, string tileLabel, string horizontalLabel, string verticalLabel, string listLabel, string noVisibleFrameLabel) |
boolean |
|
getBorder(int position) |
|
int |
|
int |
|
int |
|
int |
|
string |
|
int |
|
int |
|
boolean |
|
boolean |
getForwardMenuAccelerators(BBjTopLevelWindow window) |
getListButton(int controlID) |
|
getListButton(string name) |
|
getMenuButton(int ID) |
|
getToolButton(int ID) |
|
boolean |
|
void |
registerMDIClosingCallback(string label) |
void |
registerMDIClosingCallback(CustomObject customObj, string methodName) |
void |
setArrangeModal(boolean arrangeModal) |
void |
setBackgroundImage(int location, BBjImage image) |
void |
setBackgroundImageFile(int location, String filename) |
void |
setDefaultForwardMenuAccelerators(boolean forwardKeys) |
void |
setDefaultMDIMode(string mode) |
boolean |
setForwardMenuAccelerators(BBjTopLevelWindow window, boolean forwardKeys) |
void |
setOutlineDrag(boolean dragMode) |
void |
tile() |
void |
|
void |
BBjMDI Delegates the Following Methods to its BBjTopLevelWindow
Return Value |
Method |
---|---|
void |
clearCallback(int eventType) |
void |
destroy() |
void |
focus() |
int |
|
boolean |
|
getFont() |
|
int |
|
int |
|
string |
getTitle() |
int |
getWidth() |
int |
getX() |
int |
getY() |
boolean |
|
boolean |
|
boolean |
|
boolean |
isModal() |
boolean |
isOpaque() |
boolean |
|
boolean |
|
boolean |
|
void |
maximize() |
void |
minimize() |
void |
restore() |
void |
setBackColor(BBjColor color!) |
void |
setCallback(int eventType, string subRoutineName) |
void |
setClientEdge(boolean client) |
void |
setEnabled(boolean enabled) |
void |
setFont(BBjFont font!) |
void |
setForeColor(BBjColor color!) |
void |
setIcon(string filename) |
void |
setIcon(string filename, int index) |
void |
setLocation(int x, int y) |
void |
setRaisedEdge(boolean raised) |
void |
setResizable(boolean resizable) |
void |
setShortCue(string cue) |
void |
setSize(int width, int height) |
void |
setTitle(string title) |
void |
setTitleBarVisible (boolean visible ) |
void |
setVisible(boolean visible) |
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 top level BBjMDI window is a BBjTopLevelWindow. In addition to the .BBjTopLevelWindow style name, it also has the .BBjMDI style name.
Remarks
The program must be running in thin client mode.
Constants
Constant | Description |
---|---|
MDI_CONTEXT |
The context of the MDI window. |
Example
|
See Also
BBj Object Creation and Assignment
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.