MoreMotion Face API

Class WindowManager

Object
   |
   +--WindowManager

class WindowManager


This class provides utility methods related to the current browser window. A static object of this class is avaialable with name WinMgr.

var WinMgr = new WindowManager();

Defined in Common.js


Field Summary
 Object currentWinId
          
 boolean isGecko
          true means the current browser is Gecko
 boolean isIE
          true means the current browser is Internet Explorer
 boolean isOpera
          true means the current browser is Opera
 
Constructor Summary
WindowManager()
           
 
Method Summary
 void close(pageName)
           Saves the windows position and dimensions to the cookie and closes the current browser window.
 Object expireCookie(name, domain, path)
           Expires the specified cookie
 String getCookie(name)
           Returns the value of the specified cookie
 String getRequestParam(parmName, defValue)
           Returns the value of the specified request parameter.
 window Object openWindow( props )
           Opens a new Popup window with the specified parameters.
 Object setCookie(name, value, minutes, domain, path, secure)
           Sets a cookie.

Field Detail

currentWinId

Object currentWinId

isGecko

boolean isGecko

isIE

boolean isIE

isOpera

boolean isOpera

Constructor Detail

WindowManager

WindowManager()

Method Detail

close

void close(pageName)

expireCookie

Object expireCookie(name, domain, path)

getCookie

String getCookie(name)

getRequestParam

String getRequestParam(parmName, defValue)

openWindow

window Object openWindow( props )

setCookie

Object setCookie(name, value, minutes, domain, path, secure)

MoreMotion Face API

Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by JSDoc on Mon Sep 29 14:52:55 2008