window.js | |
Window | |
Events | |
OnStartModal | Occurs when modal window curtain is going to be displayed. |
OnStopModal | Occurs when modal window curtain is going to be removed. |
ngStartModalControl | Shows modal window curtain. |
ngStopModalControl | Hides modal window curtain. |
ngCreateWindow | Creates window by definition. |
ngWindow | This class implements a generic window control. |
Definition | |
CW | ClientRect width. |
CH | ClientRect height. |
ParentReferences | ... |
ControlsPanel | Controls panel definition. |
Properties | |
Text | ... |
HTMLEncode | ... |
BackgroundColor | ... |
Sizeable | ... |
Moveable | ... |
Modal | ... |
DisposeOnClose | ... |
AutoSize | ... |
Centered | ... |
MinimizedBounds | ... |
MinWidth | ... |
MinHeight | ... |
MaxWidth | ... |
MaxHeight | ... |
Buttons | ... |
Img | ... |
Frame | ... |
CaptionImg | ... |
Methods | |
Show | Makes a window visible. |
Hide | Makes a window invisible. |
Close | Closes the window. |
Minimize | Shrinks the window. |
Maximize | Expands the window to its maximal size. |
Restore | Restores a window to its normal size. |
Center | Centers the window. |
CalcAutoSize | Calculates automatic window dimensions. |
GetClientRect | Gets client rectangle dimensions. |
SetClientRect | Sets client rectangle dimensions. |
IsMaximized | Determines if window is maximized. |
IsMinimized | Determines if window is miminized. |
SetText | Sets window caption. |
GetText | Gets window caption. |
GetImg | Gets image. |
Events | |
OnGetText | |
OnGetImg | |
OnClick | |
OnDblClick | |
OnMinimize | |
OnMaximize | |
OnRestore | |
OnClose | |
OnMouseMoving | |
OnMouseMove | |
OnMouseResizing | |
OnMouseResize | |
ngCreateHint | Creates hint by definition. |
ngPopupHint | Creates hint by definition. |
ngPopupCtrlHint | Creates hint by definition. |
ngHint | This class implements a generic hint control. |
Definition | |
CW | ClientRect width. |
CH | ClientRect height. |
ControlsPanel | Controls panel definition. |
Properties | |
AutoSize | ... |
MinWidth | ... |
MinHeight | ... |
MaxWidth | ... |
MaxHeight | ... |
Anchor | ... |
Anchors | ... |
PreferredAnchors | ... |
Frame | ... |
ControlsInside | ... |
AutoHideTimeout | Defines the timeout in milliseconds when hint automatically hides itself (0=disabled). |
DisposeOnHide | ... |
PopupX | Horizontal popup position in pixels. |
PopupY | Vertical popup position in pixels. |
PopupElm | Element to which hint was aligned during popup. |
Methods | |
Popup | Popups hint at specified position. |
PopupCtrl | Popups hint along specified control. |
GetClientRect | Gets client rectangle dimensions. |
SetClientRect | Sets client rectangle dimensions. |
CalcAutoSize | Calculates automatic window dimensions. |
BorderCollision | Calculates the border overflow of popup. |
BoundRectCollision | Calculates the collision of popup and given boundary rectangle. |
Events | |
OnCheckPlacement | |
OnPopup | |
ngCreateTextHint | Creates hint by definition. |
ngPopupTextHint | Creates hint by definition. |
ngPopupCtrlTextHint | Creates hint by definition. |
ngTextHint | Simple hint text component (based on ngHint). |
Definition | |
ParentReferences | ... |
Methods | |
SetText | Sets hint text. |
GetText | Gets hint text. |
Events | |
OnClick | |
OnSetText | |
OnGetText | |
Controls | |
Hint | ngText |
function ngCreateWindow( def, parent )
Creates window by definition.
object ngCreateWindow (object def, object parent)
Created window object (ngWindow).
This class implements a generic window control.
new ngWindow ([string id])
id | parent element |
Abstract class ngControl.
Definition | |
CW | ClientRect width. |
CH | ClientRect height. |
ParentReferences | ... |
ControlsPanel | Controls panel definition. |
Properties | |
Text | ... |
HTMLEncode | ... |
BackgroundColor | ... |
Sizeable | ... |
Moveable | ... |
Modal | ... |
DisposeOnClose | ... |
AutoSize | ... |
Centered | ... |
MinimizedBounds | ... |
MinWidth | ... |
MinHeight | ... |
MaxWidth | ... |
MaxHeight | ... |
Buttons | ... |
Img | ... |
Frame | ... |
CaptionImg | ... |
Methods | |
Show | Makes a window visible. |
Hide | Makes a window invisible. |
Close | Closes the window. |
Minimize | Shrinks the window. |
Maximize | Expands the window to its maximal size. |
Restore | Restores a window to its normal size. |
Center | Centers the window. |
CalcAutoSize | Calculates automatic window dimensions. |
GetClientRect | Gets client rectangle dimensions. |
SetClientRect | Sets client rectangle dimensions. |
IsMaximized | Determines if window is maximized. |
IsMinimized | Determines if window is miminized. |
SetText | Sets window caption. |
GetText | Gets window caption. |
GetImg | Gets image. |
Events | |
OnGetText | |
OnGetImg | |
OnClick | |
OnDblClick | |
OnMinimize | |
OnMaximize | |
OnRestore | |
OnClose | |
OnMouseMoving | |
OnMouseMove | |
OnMouseResizing | |
OnMouseResize | |
ngCreateHint | Creates hint by definition. |
ngPopupHint | Creates hint by definition. |
ngPopupCtrlHint | Creates hint by definition. |
function ngCreateHint( def, parent )
Creates hint by definition.
object ngCreateHint (object def, object parent)
Created hint object (ngHint).
function ngPopupHint( def, x, y, anchor, parent )
Creates hint by definition.
object ngPopupHint (object def, int x, int y, string anchor, object parent)
Created hint object (ngHint).
function ngPopupCtrlHint( def, ctrl, anchor, parent )
Creates hint by definition.
object ngPopupCtrlHint (object def, object ctrl, string anchor, object parent)
Created hint object (ngHint).
This class implements a generic hint control.
new ngHint ([string id])
id | parent element |
Abstract class ngControl.
Definition | |
CW | ClientRect width. |
CH | ClientRect height. |
ControlsPanel | Controls panel definition. |
Properties | |
AutoSize | ... |
MinWidth | ... |
MinHeight | ... |
MaxWidth | ... |
MaxHeight | ... |
Anchor | ... |
Anchors | ... |
PreferredAnchors | ... |
Frame | ... |
ControlsInside | ... |
AutoHideTimeout | Defines the timeout in milliseconds when hint automatically hides itself (0=disabled). |
DisposeOnHide | ... |
PopupX | Horizontal popup position in pixels. |
PopupY | Vertical popup position in pixels. |
PopupElm | Element to which hint was aligned during popup. |
Methods | |
Popup | Popups hint at specified position. |
PopupCtrl | Popups hint along specified control. |
GetClientRect | Gets client rectangle dimensions. |
SetClientRect | Sets client rectangle dimensions. |
CalcAutoSize | Calculates automatic window dimensions. |
BorderCollision | Calculates the border overflow of popup. |
BoundRectCollision | Calculates the collision of popup and given boundary rectangle. |
Events | |
OnCheckPlacement | |
OnPopup | |
ngCreateTextHint | Creates hint by definition. |
ngPopupTextHint | Creates hint by definition. |
ngPopupCtrlTextHint | Creates hint by definition. |
function ngCreateTextHint( def, text, parent )
Creates hint by definition.
object ngCreateTextHint (object def, string text, object parent)
Created hint object (ngHint).
function ngPopupTextHint( def, x, y, text, anchor, parent )
Creates hint by definition.
object ngPopupTextHint (object def, int x, int y, string text, string anchor, object parent)
Created hint object (ngHint).
function ngPopupCtrlTextHint( def, ctrl, text, anchor, parent )
Creates hint by definition.
object ngPopupCtrlTextHint (object def, object ctrl, string text, string anchor, object parent)
Created hint object (ngHint).
Shows modal window curtain.
function ngStartModalControl()
Hides modal window curtain.
function ngStopModalControl()
Creates window by definition.
function ngCreateWindow( def, parent )
...
this.Text
...
this.HTMLEncode
...
this.BackgroundColor
...
this.Sizeable
...
this.Moveable
...
this.Modal
...
this.DisposeOnClose
...
this.AutoSize
...
this.Centered
...
this.MinWidth
...
this.MinHeight
...
this.MaxWidth
...
this.MaxHeight
...
this.Buttons
...
this.Img
...
this.Frame
...
this.CaptionImg
Creates hint by definition.
function ngCreateHint( def, parent )
Creates hint by definition.
function ngPopupHint( def, x, y, anchor, parent )
Creates hint by definition.
function ngPopupCtrlHint( def, ctrl, anchor, parent )
...
this.AutoSize
...
this.MinWidth
...
this.MinHeight
...
this.MaxWidth
...
this.MaxHeight
...
this.Anchor
...
this.Anchors
...
this.Frame
...
this.ControlsInside
...
this.DisposeOnHide
Creates hint by definition.
function ngCreateTextHint( def, text, parent )
Creates hint by definition.
function ngPopupTextHint( def, x, y, text, anchor, parent )
Creates hint by definition.
function ngPopupCtrlTextHint( def, ctrl, text, anchor, parent )
...
ParentReferences: false
ngText
Hint: { Type: 'ngText', Events: { OnGetText: nghtxt_OnGetText } }