Java Doc for JavaScriptWindow.java in  » Development » ivatamasks » com » ivata » mask » web » javascript » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Development » ivatamasks » com.ivata.mask.web.javascript 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ivata.mask.web.javascript.JavaScriptWindow

JavaScriptWindow
final public class JavaScriptWindow (Code)

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 JavaScriptWindow.toString() toString() to generate the JavaScript.

You must set the URL and the frame name before calling JavaScriptWindow.toString()toString() .


since:
   ivata masks 0.4 (2002-05-18)
author:
   Colin MacLeod
author:
   colin.macleod@ivata.com
version:
   $Revision: 1.5 $




Method Summary
public  StringgetFrameName()
    

Get the fame name of the new window.

public  booleangetHasMenuBar()
    

Get whether or not the window has a menu bar.

public  booleangetHasScrollBars()
    

Get whether or not the window has scroll bars.

public  booleangetHasToolBar()
    

Get whether or not the window has a tool bar.

public  intgetHeight()
    

Get the height of the window.

public  booleangetIsResizable()
    

Get whether or not the window can be resized.

public  StringgetPage()
    

Set this value to specify the application-specific path (beginning with a '/') which the new window will show.

public  MapgetParams()
    

Specifies parameters for the page this window shows.

public  StringgetParamsName()
    

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.


See Also:    TagUtils.getInstance().computeURL.
public  intgetWidth()
    

Get the width of the window.

public  StringgetWindowName()
    

Get a JavaScript object name for the new window.

public  voidsetFrameName(String frameNameParam)
    

Set the fame name of the new window.

public  voidsetHasMenuBar(boolean hasMenuBarParam)
    

Set whether or not the window has a menu bar.

public  voidsetHasScrollBars(boolean hasScrollBarsParam)
    

Set whether or not the window has scroll bars.

public  voidsetHasToolBar(boolean hasToolBarParam)
    

Set whether or not the window has a tool bar.

public  voidsetHeight(int heightParam)
    

Set the height of the window.

public  voidsetIsResizable(boolean isResizableParam)
    

Set whether or not the window can be resized.

public  voidsetPage(String pageParam)
    

Set this value to specify the application-specific path (beginning with a '/') which the new window will show.

public  voidsetPageContext(PageContext pageContextParam)
    

Set the page context used to calculate the window URL .

public  voidsetParams(Map paramsParam)
    

Specifies parameters for the page this window shows.

public  voidsetParamsName(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.

public  voidsetWidth(int widthParam)
    

Set the width of the window.

public  voidsetWindowName(String windowNameParam)
    

Set a JavaScript object name for the new window.

public  StringtoString()
    

Create the JavaScript that makes the window and return it as a string.




Method Detail
getFrameName
public String getFrameName()(Code)

Get the fame name of the new window.

the fame name of the new window.



getHasMenuBar
public boolean getHasMenuBar()(Code)

Get whether or not the window has a menu bar. The default setting is false.

true if the window has a menu bar, otherwisefalse.



getHasScrollBars
public boolean getHasScrollBars()(Code)

Get whether or not the window has scroll bars. The default setting is true.

true if the window has scroll bars, otherwisefalse.



getHasToolBar
public boolean getHasToolBar()(Code)

Get whether or not the window has a tool bar. The default setting is true.

true if the window has a tool bar, otherwisefalse.



getHeight
public int getHeight()(Code)

Get the height of the window.

the height of the window.



getIsResizable
public boolean getIsResizable()(Code)

Get whether or not the window can be resized. The default setting is true.

true if the window has can be resized, otherwisefalse.



getPage
public String getPage()(Code)

Set this value to specify the application-specific path (beginning with a '/') which the new window will show.

the current value of page.



getParams
public Map getParams()(Code)

Specifies parameters for the page this window shows.


See Also:    TagUtils.getInstance().computeURL the current value of parameters.



getParamsName
public String getParamsName()(Code)

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.


See Also:    TagUtils.getInstance().computeURL. the current value of paramsName.



getWidth
public int getWidth()(Code)

Get the width of the window.

the width of the window.



getWindowName
public String getWindowName()(Code)

Get a JavaScript object name for the new window.

a JavaScript object name for the new window.



setFrameName
public void setFrameName(String frameNameParam)(Code)

Set the fame name of the new window.


Parameters:
  frameNameParam - the new value of the fame name of the new window.



setHasMenuBar
public void setHasMenuBar(boolean hasMenuBarParam)(Code)

Set whether or not the window has a menu bar. The default setting is false.


Parameters:
  hasMenuBarParam - set to true if the window has a menu bar,otherwise false.



setHasScrollBars
public void setHasScrollBars(boolean hasScrollBarsParam)(Code)

Set whether or not the window has scroll bars. The default setting is true.


Parameters:
  hasScrollBarsParam - set to true if the window has scroll bars,otherwise false.



setHasToolBar
public void setHasToolBar(boolean hasToolBarParam)(Code)

Set whether or not the window has a tool bar. The default setting is true.


Parameters:
  hasToolBarParam - set to true if the window has a tool bar,otherwise false.



setHeight
public void setHeight(int heightParam)(Code)

Set the height of the window. The default setting is 450.


Parameters:
  heightParam - the new height of the window.



setIsResizable
public void setIsResizable(boolean isResizableParam)(Code)

Set whether or not the window can be resized. The default setting is true.


Parameters:
  isResizableParam - set to true if the window has can be resized,otherwise false.



setPage
public void setPage(String pageParam)(Code)

Set this value to specify the application-specific path (beginning with a '/') which the new window will show.


Parameters:
  pageParam - the new value of page.



setPageContext
public void setPageContext(PageContext pageContextParam)(Code)

Set the page context used to calculate the window URL .


Parameters:
  pageContextParam - new value of page context.



setParams
public void setParams(Map paramsParam)(Code)

Specifies parameters for the page this window shows.


See Also:    TagUtils.getInstance().computeURL
Parameters:
  paramsParam - the new value of the parameters.



setParamsName
public void setParamsName(String paramsNameParam)(Code)

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.


See Also:    TagUtils.getInstance().computeURL.
Parameters:
  paramsNameParam - the new value of paramsName.



setWidth
public void setWidth(int widthParam)(Code)

Set the width of the window. The default setting is 700.


Parameters:
  widthParam - the new value for the width of the window.



setWindowName
public void setWindowName(String windowNameParam)(Code)

Set a JavaScript object name for the new window.


Parameters:
  windowNameParam - a JavaScript object name for the new window.



toString
public String toString()(Code)

Create the JavaScript that makes the window and return it as a string.

the JavaScript that makes the window.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.