This class implements the infamous Window widget. As it is derivate from thyBorderPanel, it has borders and all the CSS classes that widget has.
Raphael Derosso Pereira raphael@users.sour ceforge.net pereira
This class implements the infamous Window widget. | |
Initialization method | |
Sets the title of the widow | |
Sets the Title of the window | |
Returns the actual title set | |
UnHide the window | |
Hides the window | |
Overwritten method that sets the name of main, title, contents and drag border and refreshes CSS Classes | |
Overwritten method that calls parent setCSSClass and also sets CSS of title, content, buttons and drag border | |
Overwritten AddChild method that insert childs in contents | |
Overwritten RemoveChild method that removes childs from contents | |
Overwritten getInnerHTML that inserts Title | |
Makes window unmovable | |
Release window for movement | |
Change from one sticked state to another | |
STATIC method that returns the next position to be used by a window when opened | |
STATIC method that removes the position from the list | |
Overloaded method that removes winBorderPanel from memory | |
Overwritten method that adds the base class to main, title, contents, drag border and buttons | |
Removes the specified CSS Class from main, title, contents, drag border and buttons | |
OnDragEnd Event. | |
OnDragMove Event. | |
OnMouseDown Event. |
Initialization method
p.initThyWindow = function ()
Sets the title of the widow
p.populate = function ( data )
Sets the Title of the window
p.setTitle = function( title )
Returns the actual title set
p.getTitle = function ()
UnHide the window
p.open = function()
Hides the window
p.close = function()
Overwritten method that sets the name of main, title, contents and drag border and refreshes CSS Classes
p.setName = function ( name )
Overwritten method that calls parent setCSSClass and also sets CSS of title, content, buttons and drag border
p.setCSSClass = function ( type )
Overwritten AddChild method that insert childs in contents
p.addChild = function ( c, alias, inlineID )
Overwritten RemoveChild method that removes childs from contents
p.removeChild = function ( c )
Overwritten getInnerHTML that inserts Title
p.getInnerHTML = function()
Makes window unmovable
p.stick = function ()
Release window for movement
p.unstick = function ()
Change from one sticked state to another
p.switchStick = function ()
STATIC method that returns the next position to be used by a window when opened
thyWindow._getWindowPosition = function ( thyWin )
STATIC method that removes the position from the list
thyWindow._unsetWindowPosition = function ( thyWin )
Overloaded method that removes winBorderPanel from memory
p._destroy = function ()
Overwritten method that adds the base class to main, title, contents, drag border and buttons
p._addCSSClass = function ( cssClass )
Removes the specified CSS Class from main, title, contents, drag border and buttons
p._removeCSSClass = function ( cssClass )
OnDragEnd Event.
p.ondragend = function( e )
OnDragMove Event.
p.ondragmove = function( e )
OnMouseDown Event.
p.onmousedown = function( e )