Window UI component class. Implements window like UI component.
The window component has a header, status bar and content areas. The header component
is usually placed at the top of window, the status bar component is placed at the bottom and the content component at places the central part of the window. Also the window defines corner UI component that is supposed to be used to resize the window. The window implementation provides the following possibilities:
- Move window by dragging the window on its header
- Resize window by dragging the window corner element
- Place buttons in the header to maximize, minimize, close, etc the window
- Indicates state of window (active or inactive) by changing the widow header style
- Define a window icon component
- Define a window status bar component
a window title
a window content
The method is called to ask if the given children UI component has to be input events transparent
a children UI component
true if the given children component has to be input events transparent
Close the window
Test if the mouse cursor is inside the window corner component
a x coordinate of the mouse cursor
a y coordinate of the mouse cursor
true if the mouse cursor is inside window corner component
Test if the window is shown as a window and activated
true is the window is shown as internal window and is active.
Test if the window has been maximized to occupy the whole window layer space.
true if the window has been maximized
Maximize the window
Restore the window size
Set the window buttons set.
dictionary of buttons icons for window buttons. The dictionary key defines a method of the window component to be called when the given button has been pressed. So the method has to be defined in the window component.
Make the window sizable or not sizeable
a sizeable state of the window
Icons panel. The panel can contain number of icons.
Indicate if the window can be resized by dragging its by corner
Root window panel. The root panel has to be used to add any UI components
Window status panel.
Window title component