|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.util.JavascriptUtil
Constructor Summary | |
JavascriptUtil()
|
Method Summary | |
static void |
changeLocation(java.io.Writer w,
java.lang.String url)
Write the javascript code required to change the window opener location. |
static void |
changeWindowLocation(java.io.Writer w,
java.lang.String url)
Write the javascript code required to change the window location. |
static void |
closeFormWindow(java.io.Writer w)
Write the javascript code required to close a Form Template popup window. |
static void |
closeWindow(java.io.Writer w)
Write the javascript code required to close a popup window. |
static void |
openWindow(java.io.Writer w,
java.lang.String pageUrl,
java.lang.String title,
boolean toolbar,
boolean addressbar,
boolean resizable,
boolean scrollbars,
int width,
int height,
java.lang.String align,
java.lang.String valign,
boolean focus)
Write the javascript code required to created a popup window. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavascriptUtil()
Method Detail |
public static void openWindow(java.io.Writer w, java.lang.String pageUrl, java.lang.String title, boolean toolbar, boolean addressbar, boolean resizable, boolean scrollbars, int width, int height, java.lang.String align, java.lang.String valign, boolean focus) throws java.lang.Exception
w
- Writer repsonse PrintWriter object to write the javascript code to.pageUrl
- String the URL to opentitle
- String the unique page window nametoolbar
- boolean true/false whether or not to show the toolbaraddressbar
- boolean true/false whether or not to show the URL address barresizable
- boolean true/false whether or not to make the window resizablescrollbars
- boolean true/false whether or not to show scollbars on the windowwidth
- int window widthheight
- int window heightalign
- String left/center/right, default is centervalign
- String top/middle/bottom, default is middlefocus
- boolean true/false whether or not to attempt to pop the window on top
java.lang.Exception
public static void closeWindow(java.io.Writer w) throws java.lang.Exception
w
- Writer repsonse PrintWriter object to write the javascript code to.
java.lang.Exception
public static void closeFormWindow(java.io.Writer w) throws java.lang.Exception
w
- Writer repsonse PrintWriter object to write the javascript code to.
java.lang.Exception
public static void changeLocation(java.io.Writer w, java.lang.String url) throws java.lang.Exception
w
- Writer repsonse PrintWriter object to write the javascript code to.url
- String holding new url location
java.lang.Exception
public static void changeWindowLocation(java.io.Writer w, java.lang.String url) throws java.lang.Exception
w
- Writer repsonse PrintWriter object to write the javascript code to.url
- String holding new url location
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |