Java Doc for MessageBoxConfig.java in  » Ajax » gwtext-2.01 » com » gwtext » client » widgets » 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 » Ajax » gwtext 2.01 » com.gwtext.client.widgets 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.gwtext.client.core.BaseConfig
   com.gwtext.client.widgets.MessageBoxConfig

MessageBoxConfig
public class MessageBoxConfig extends BaseConfig (Code)
com.gwtext.client.widgets.MessageBox configuration class.
See Also:   com.gwtext.client.widgets.MessageBox.show(MessageBoxConfig)




Method Summary
public  voidsetAnimEl(String animEl)
     An id from which the message box should animate as it opens and closes (defaults to undefined).
public  voidsetButtons(MessageBox.Button buttons)
     The button to display.
public  voidsetButtons(boolean buttons)
     False to not show any buttons.
public  voidsetButtons(NameValuePair[] buttons)
    
native public  voidsetCallback(MessageBox.PromptCallback cb)
     A callback function to execute after closing the dialog.
public  voidsetClosable(boolean closable)
     False to hide the top-right close button (defaults to true).
public  voidsetCls(String cls)
     A custom CSS class to apply to the message box element.
public  voidsetDefaultTextHeight(int defaultTextHeight)
     The default height in pixels of the message box's multiline textarea if displayed (defaults to 75).
public  voidsetIconCls(String iconCls)
     A CSS class that provides a background image to be used as an icon for the dialog (e.g., Ext.MessageBox.WARNING or 'custom-class', defaults to '').
public  voidsetMaxWidth(int maxWidth)
     The maximum width in pixels of the message box (defaults to 600).
public  voidsetMinProgressWidth(int minProgressWidth)
     The minimum width in pixels of the message box if it is a progress-style dialog.
public  voidsetMinWidth(int minWidth)
     The minimum width in pixels of the message box (defaults to 100).
public  voidsetModal(boolean modal)
     False to allow user interaction with the page while the message box is displayed (defaults to true).
public  voidsetMsg(String msg)
    
public  voidsetMultiline(boolean multiline)
     True to prompt the user to enter multi-line text (defaults to false).
public  voidsetProgress(boolean progress)
    
public  voidsetProgressText(String progressText)
     The text to display inside the progress bar if progress = true (defaults to '').
public  voidsetPrompt(boolean prompt)
     True to prompt the user to enter single-line text (defaults to false).
public  voidsetProxyDrag(boolean proxyDrag)
     True to display a lightweight proxy while dragging (defaults to false).
public  voidsetTitle(String title)
     The title text.
public  voidsetValue(String value)
     he string value to set into the active textbox element if displayed.
public  voidsetWait(boolean wait)
     True to display a progress bar (defaults to false).
public  voidsetWaitConfig(WaitConfig waitConfig)
     Applies a wait with the specified waitConfig object (applies only if wait = true).
public  voidsetWidth(int width)
     The width of the dialog in pixels.



Method Detail
setAnimEl
public void setAnimEl(String animEl)(Code)
An id from which the message box should animate as it opens and closes (defaults to undefined).
Parameters:
  animEl - the anim elem ID



setButtons
public void setButtons(MessageBox.Button buttons)(Code)
The button to display.
Parameters:
  buttons - the buttons



setButtons
public void setButtons(boolean buttons)(Code)
False to not show any buttons.
Parameters:
  buttons - display buttons



setButtons
public void setButtons(NameValuePair[] buttons)(Code)
name = button id, value = button label Name has to be one of 'ok, cancel, yes, no, and value is the label to be dispalyed
Parameters:
  buttons - the nambe value pairs for the buttons



setCallback
native public void setCallback(MessageBox.PromptCallback cb)(Code)
A callback function to execute after closing the dialog. The arguments to the function will be btn (the name of the button that was clicked, if applicable, e.g. "ok"), and text (the value of the active text field, if applicable). Progress and wait dialogs will ignore this option since they do not respond to user actions and can only be closed programmatically, so any required function should be called by the same code after it closes the dialog.
Parameters:
  cb - the callback



setClosable
public void setClosable(boolean closable)(Code)
False to hide the top-right close button (defaults to true). Note that progress and wait dialogs will ignore this property and always hide the close button as they can only be closed programmatically.
Parameters:
  closable - true for closable



setCls
public void setCls(String cls)(Code)
A custom CSS class to apply to the message box element.
Parameters:
  cls - the css class



setDefaultTextHeight
public void setDefaultTextHeight(int defaultTextHeight)(Code)
The default height in pixels of the message box's multiline textarea if displayed (defaults to 75).
Parameters:
  defaultTextHeight - the default text height



setIconCls
public void setIconCls(String iconCls)(Code)
A CSS class that provides a background image to be used as an icon for the dialog (e.g., Ext.MessageBox.WARNING or 'custom-class', defaults to '').
Parameters:
  iconCls - the icon CSS class



setMaxWidth
public void setMaxWidth(int maxWidth)(Code)
The maximum width in pixels of the message box (defaults to 600).
Parameters:
  maxWidth - the max width



setMinProgressWidth
public void setMinProgressWidth(int minProgressWidth)(Code)
The minimum width in pixels of the message box if it is a progress-style dialog. This is useful for setting a different minimum width than text-only dialogs may need (defaults to 250)
Parameters:
  minProgressWidth - the minimum width in pixels of the message box if it is a progress-style dialog.



setMinWidth
public void setMinWidth(int minWidth)(Code)
The minimum width in pixels of the message box (defaults to 100).
Parameters:
  minWidth - the min width



setModal
public void setModal(boolean modal)(Code)
False to allow user interaction with the page while the message box is displayed (defaults to true).
Parameters:
  modal - false for non modal



setMsg
public void setMsg(String msg)(Code)
The string that will replace the existing message box body text (defaults to the XHTML-compliant non-breaking space character ' ')
Parameters:
  msg - the message



setMultiline
public void setMultiline(boolean multiline)(Code)
True to prompt the user to enter multi-line text (defaults to false).
Parameters:
  multiline - true for multiline prompt



setProgress
public void setProgress(boolean progress)(Code)
True to display a progress bar (defaults to false)
Parameters:
  progress - true for progress bar



setProgressText
public void setProgressText(String progressText)(Code)
The text to display inside the progress bar if progress = true (defaults to '').
Parameters:
  progressText - the progress text



setPrompt
public void setPrompt(boolean prompt)(Code)
True to prompt the user to enter single-line text (defaults to false).
Parameters:
  prompt - true to prompt



setProxyDrag
public void setProxyDrag(boolean proxyDrag)(Code)
True to display a lightweight proxy while dragging (defaults to false).
Parameters:
  proxyDrag - true for proxy drag



setTitle
public void setTitle(String title)(Code)
The title text.
Parameters:
  title - the title



setValue
public void setValue(String value)(Code)
he string value to set into the active textbox element if displayed.
Parameters:
  value - the value text



setWait
public void setWait(boolean wait)(Code)
True to display a progress bar (defaults to false).
Parameters:
  wait - true to display progress bar



setWaitConfig
public void setWaitConfig(WaitConfig waitConfig)(Code)
Applies a wait with the specified waitConfig object (applies only if wait = true).
Parameters:
  waitConfig - the wait config



setWidth
public void setWidth(int width)(Code)
The width of the dialog in pixels.
Parameters:
  width - the dialog width




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