Properties | |
typedef FrameWindow.client | client |
The client pane of this MDIFrameWindow. | |
override MDIClientPane | client () |
The client pane of this MDIFrameWindow. | |
WindowBase | activeChild () |
The child window that is currently active. | |
Menu | windowMenu (Menu m) |
The Window menu. | |
Menu | windowMenu () |
The Window menu. | |
Public Member Functions | |
this (string windowTitle, Application a) | |
Constructs a new MDIFrameWindow as a top-level application window. | |
this (string windowTitle, WindowBase p) | |
Constructs a new MDIFrameWindow owned by another window. | |
void | cascade (bool skipDisabled=false) |
Cascades the child windows. | |
void | tile (MDITILE flags=MDITILE.VERTICAL) |
Tiles the child windows horizontally or vertically. | |
void | arrangeMinimized () |
Arranges the minimized child windows along the bottom of the MDI client pane. | |
void | closeAll () |
Closes all child windows. | |
Operators | |
WindowBase | opIndex (uint i) |
Gets a specific child window of the MDI application window. | |
WindowBase[] | opSlice (uint begin, uint end) |
Gets a range of child windows of the MDI application window. | |
WindowBase[] | opSlice () |
Gets an array consisting of all child windows of the MDI application window. | |
Protected Member Functions | |
override void | initListeners () |
override int | defaultProcessMessage (uint message, uint wParam, int lParam) |
int | mdiFramePredef (uint message, uint wParam, int lParam, WindowBase receivedVia, out bool swallow) |
override void | predefCommandHandler (uint notify, uint id) |
override void | defaultCommandHandler (uint notify, uint id) |
Callback Methods | |
bool | confirmCloseAll () |
Determines whether it is OK to close all child windows. |
The MDIFrameWindow is at the top of the MDI window hierarchy. The MDIClientPane serves as the client pane of this window, which in turn contains the child windows.
typedef FrameWindow.client smjg.libs.sdwf.mdi.MDIFrameWindow.client |
The client pane of this MDIFrameWindow.
smjg.libs.sdwf.mdi.MDIFrameWindow.this | ( | string | windowTitle, | |
Application | a | |||
) |
Constructs a new MDIFrameWindow as a top-level application window.
The Windows interface element itself is not yet created - this is done when show is called.
windowTitle | the title bar text of the window. | |
a | the application to which this window belongs. |
Reimplemented from smjg.libs.sdwf.framewindow.FrameWindow.
smjg.libs.sdwf.mdi.MDIFrameWindow.this | ( | string | windowTitle, | |
WindowBase | p | |||
) |
Constructs a new MDIFrameWindow owned by another window.
The Windows interface element itself is not yet created - this is done when show is called.
Reimplemented from smjg.libs.sdwf.framewindow.FrameWindow.
void smjg.libs.sdwf.mdi.MDIFrameWindow.cascade | ( | bool | skipDisabled = false |
) |
Cascades the child windows.
skipDisabled | whether to ignore disabled windows while cascading. |
void smjg.libs.sdwf.mdi.MDIFrameWindow.tile | ( | MDITILE | flags = MDITILE.VERTICAL |
) |
Tiles the child windows horizontally or vertically.
flags | a combination of flags determining how to tile. |
void smjg.libs.sdwf.mdi.MDIFrameWindow.arrangeMinimized | ( | ) |
Arranges the minimized child windows along the bottom of the MDI client pane.
void smjg.libs.sdwf.mdi.MDIFrameWindow.closeAll | ( | ) |
Closes all child windows.
The confirmCloseAll
method is called to determine if the operation should go ahead.
override MDIClientPane smjg.libs.sdwf.mdi.MDIFrameWindow.client | ( | ) |
WindowBase smjg.libs.sdwf.mdi.MDIFrameWindow.activeChild | ( | ) |
The child window that is currently active.
Menu smjg.libs.sdwf.mdi.MDIFrameWindow.windowMenu | ( | Menu | m | ) |
Menu smjg.libs.sdwf.mdi.MDIFrameWindow.windowMenu | ( | ) |
WindowBase smjg.libs.sdwf.mdi.MDIFrameWindow.opIndex | ( | uint | i | ) |
Gets a specific child window of the MDI application window.
(Implementation of this[i]
.)
Child windows are indexed in order of creation. This order is retained when a window is closed, but the indexes change to remain consecutive. The order may or may not correspond to the order of entries in the Window menu.
WindowBase [] smjg.libs.sdwf.mdi.MDIFrameWindow.opSlice | ( | uint | begin, | |
uint | end | |||
) |
Gets a range of child windows of the MDI application window.
(Implementation of this[begin..end]
.)
Child windows are indexed in order of creation. This order is retained when a window is closed, but the indexes change to remain consecutive. The order may or may not correspond to the order of entries in the Window menu.
WindowBase [] smjg.libs.sdwf.mdi.MDIFrameWindow.opSlice | ( | ) |
Gets an array consisting of all child windows of the MDI application window.
(Implementation of this[]
.)
Child windows are indexed in order of creation. This order is retained when a window is closed, but the indexes change to remain consecutive. The order may or may not correspond to the order of entries in the Window menu.
bool smjg.libs.sdwf.mdi.MDIFrameWindow.confirmCloseAll | ( | ) | [protected] |
Determines whether it is OK to close all child windows.
The default implementation calls confirmClose
on all child windows in turn until one returns false
. This is identical in effect to confirmClose, but is overridable independently.
true | if all child windows return true , in which case the application window is ready to close. | |
false | if a child returns false , in which case the application window will not close. |
override void smjg.libs.sdwf.mdi.MDIFrameWindow.initListeners | ( | ) | [protected, virtual] |
Reimplemented from smjg.libs.sdwf.framewindow.FrameWindow.
override int smjg.libs.sdwf.mdi.MDIFrameWindow.defaultProcessMessage | ( | uint | message, | |
uint | wParam, | |||
int | lParam | |||
) | [protected] |
Reimplemented from smjg.libs.sdwf.windowbase.WindowBase.
int smjg.libs.sdwf.mdi.MDIFrameWindow.mdiFramePredef | ( | uint | message, | |
uint | wParam, | |||
int | lParam, | |||
WindowBase | receivedVia, | |||
out bool | swallow | |||
) | [protected] |
override void smjg.libs.sdwf.mdi.MDIFrameWindow.predefCommandHandler | ( | uint | notify, | |
uint | id | |||
) | [protected] |
Reimplemented from smjg.libs.sdwf.window.Window.
override void smjg.libs.sdwf.mdi.MDIFrameWindow.defaultCommandHandler | ( | uint | notify, | |
uint | id | |||
) | [protected] |
Reimplemented from smjg.libs.sdwf.framewindow.FrameWindow.