|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ivata.mask.web.javascript.JavaScriptWindow
IMPORTANT: the code generated by this class uses double quoted strings. That means, if you include the output in an HTML tag attribute, you should use single quotes for the HTML attribute.
Creates a new window using JavaScript. To use this class, set the attributes
of the window by using the setter methods of this class, then call
toString()to generate the JavaScript.
You must set the URL and the frame name before calling .
| Constructor Summary | |
JavaScriptWindow()
|
|
| Method Summary | |
java.lang.String |
getFrameName()
Get the fame name of the new window. |
boolean |
getHasMenuBar()
Get whether or not the window has a menu bar. |
boolean |
getHasScrollBars()
Get whether or not the window has scroll bars. |
boolean |
getHasToolBar()
Get whether or not the window has a tool bar. |
int |
getHeight()
Get the height of the window. |
boolean |
getIsResizable()
Get whether or not the window can be resized. |
java.lang.String |
getPage()
Set this value to specify the application-specific path (beginning with a '/') which the new window will show. |
java.util.Map |
getParams()
Specifies parameters for the page this window shows. |
java.lang.String |
getParamsName()
Specifies the name of a java.util.Map instance in the page
context which is used to specify parameters for the page this window
shows. |
int |
getWidth()
Get the width of the window. |
java.lang.String |
getWindowName()
Get a JavaScript object name for the new window. |
void |
setFrameName(java.lang.String frameNameParam)
Set the fame name of the new window. |
void |
setHasMenuBar(boolean hasMenuBarParam)
Set whether or not the window has a menu bar. |
void |
setHasScrollBars(boolean hasScrollBarsParam)
Set whether or not the window has scroll bars. |
void |
setHasToolBar(boolean hasToolBarParam)
Set whether or not the window has a tool bar. |
void |
setHeight(int heightParam)
Set the height of the window. |
void |
setIsResizable(boolean isResizableParam)
Set whether or not the window can be resized. |
void |
setPage(java.lang.String pageParam)
Set this value to specify the application-specific path (beginning with a '/') which the new window will show. |
void |
setPageContext(javax.servlet.jsp.PageContext pageContextParam)
Set the page context used to calculate the window URL . |
void |
setParams(java.util.Map paramsParam)
Specifies parameters for the page this window shows. |
void |
setParamsName(java.lang.String paramsNameParam)
Specifies the name of a java.util.Map instance in the page
context which is used to specify parameters for the page this window
shows. |
void |
setWidth(int widthParam)
Set the width of the window. |
void |
setWindowName(java.lang.String windowNameParam)
Set a JavaScript object name for the new window. |
java.lang.String |
toString()
Create the JavaScript that makes the window and return it as a string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JavaScriptWindow()
| Method Detail |
public java.lang.String getFrameName()
Get the fame name of the new window.
public boolean getHasMenuBar()
Get whether or not the window has a menu bar. The default setting is
false.
true if the window has a menu bar, otherwise
false.public boolean getHasScrollBars()
Get whether or not the window has scroll bars. The default setting is
true.
true if the window has scroll bars, otherwise
false.public boolean getHasToolBar()
Get whether or not the window has a tool bar. The default setting is
true.
true if the window has a tool bar, otherwise
false.public int getHeight()
Get the height of the window.
public boolean getIsResizable()
Get whether or not the window can be resized. The default setting is
true.
true if the window has can be resized, otherwise
false.public java.lang.String getPage()
Set this value to specify the application-specific path (beginning with a '/') which the new window will show.
public java.util.Map getParams()
Specifies parameters for the page this window shows.
TagUtils.getInstance().computeURLpublic java.lang.String getParamsName()
Specifies the name of a java.util.Map instance in the page
context which is used to specify parameters for the page this window
shows.
TagUtils.getInstance().computeURL.public int getWidth()
Get the width of the window.
public java.lang.String getWindowName()
Get a JavaScript object name for the new window.
public void setFrameName(java.lang.String frameNameParam)
Set the fame name of the new window.
frameNameParam - the new value of the fame name of the new window.public void setHasMenuBar(boolean hasMenuBarParam)
Set whether or not the window has a menu bar. The default setting is
false.
hasMenuBarParam - set to true if the window has a menu bar,
otherwise false.public void setHasScrollBars(boolean hasScrollBarsParam)
Set whether or not the window has scroll bars. The default setting is
true.
hasScrollBarsParam - set to true if the window has scroll bars,
otherwise false.public void setHasToolBar(boolean hasToolBarParam)
Set whether or not the window has a tool bar. The default setting is
true.
hasToolBarParam - set to true if the window has a tool bar,
otherwise false.public void setHeight(int heightParam)
Set the height of the window. The default setting is 450.
heightParam - the new height of the window.public void setIsResizable(boolean isResizableParam)
Set whether or not the window can be resized. The default setting is
true.
isResizableParam - set to true if the window has can be resized,
otherwise false.public void setPage(java.lang.String pageParam)
Set this value to specify the application-specific path (beginning with a '/') which the new window will show.
pageParam - the new value of page.public void setPageContext(javax.servlet.jsp.PageContext pageContextParam)
Set the page context used to calculate the window URL .
pageContextParam - new value of page context.public void setParams(java.util.Map paramsParam)
Specifies parameters for the page this window shows.
paramsParam - the new value of the parameters.TagUtils.getInstance().computeURLpublic void setParamsName(java.lang.String paramsNameParam)
Specifies the name of a java.util.Map instance in the page
context which is used to specify parameters for the page this window
shows.
paramsNameParam - the new value of paramsName.TagUtils.getInstance().computeURL.public void setWidth(int widthParam)
Set the width of the window. The default setting is 700.
widthParam - the new value for the width of the window.public void setWindowName(java.lang.String windowNameParam)
Set a JavaScript object name for the new window.
windowNameParam - a JavaScript object name for the new window.public java.lang.String toString()
Create the JavaScript that makes the window and return it as a string.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||