<< Click to Display Table of Contents >>
SWGPanel (pParentElem, nStyle, bFloat, bAllowClose)
Description
The panel object
Position
Framework.js
Parameters
Parameter |
Description |
pParentElem |
The DOM container object in which the panel is built |
nStyle |
The style number, it provides two styles for choice |
bFloat |
To set whether to be the float panel. |
bAllowClose |
To set whether to create the close button. |
Properties
Property |
Description |
none |
none |
Methods
Method |
Description |
setClosedEvent(newVal) |
To set the event function which will be called while pressing the close button of panel. |
getViewFrame() |
To get DOM object of panel checking area. |
getMainFrame() |
To get the main DOM form object of panel. |
putTitle() |
To set the display title of panel. |
FitFrameSize() |
To adjust the panel size according to data content. |
CenterWindow() |
To pan the panel to the center of container. |
MoveWindow(nLeft, nTop) |
To pan panel object. |
Show(bShow) |
To set whether the panel to display. |
FinalRelease() |
The destructor of panel object, removes the panel object from container object. |
Dock(nType) |
To set the panel attach to the edge of container object. Left, 1; right, 2; top, 4; bottom, 8. |
©2015 Supergeo Technologies Inc.