Java Doc for MessageBox.java in  » Ajax » MyGWT » net » mygwt » ui » client » widget » 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 » MyGWT » net.mygwt.ui.client.widget 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.mygwt.ui.client.widget.Component
   net.mygwt.ui.client.widget.Shell
      net.mygwt.ui.client.widget.Dialog
         net.mygwt.ui.client.widget.MessageBox

MessageBox
public class MessageBox extends Dialog (Code)
Instances of this class are used to inform or warn the user.
Icons:
ICON_ERROR, ICON_INFO, ICON_QUESTION, ICON_WARNING
Styles:
OK, OK_CANCEL, YES_NO, YES_NO_CANCEL



Constructor Summary
public  MessageBox(int icon, int style)
     Creates a new message box instance with the given icon and button(s).

Method Summary
protected  voidcreateContent(WidgetContainer container)
    
public  StringgetMessage()
     Returns the dialog's message.
protected  voidonRender()
    
public  voidsetMessage(String message)
     Sets the dialog's message.


Constructor Detail
MessageBox
public MessageBox(int icon, int style)(Code)
Creates a new message box instance with the given icon and button(s).
Parameters:
  icon - the icon to display
Parameters:
  style - the buttons to display




Method Detail
createContent
protected void createContent(WidgetContainer container)(Code)



getMessage
public String getMessage()(Code)
Returns the dialog's message. the message



onRender
protected void onRender()(Code)



setMessage
public void setMessage(String message)(Code)
Sets the dialog's message.
Parameters:
  message - the message



Fields inherited from net.mygwt.ui.client.widget.Dialog
final public static int CANCEL_ID(Code)(Java Doc)
final public static int NO_ID(Code)(Java Doc)
final public static int OK_ID(Code)(Java Doc)
final public static int YES_ID(Code)(Java Doc)

Methods inherited from net.mygwt.ui.client.widget.Dialog
public void addButton(Button button)(Code)(Java Doc)
public Button addButton(String text, SelectionListener listener)(Code)(Java Doc)
protected void afterRender()(Code)(Java Doc)
public void clearStatus()(Code)(Java Doc)
protected void createButton(int id, String text)(Code)(Java Doc)
protected void doAttachChildren()(Code)(Java Doc)
protected void doDetachChildren()(Code)(Java Doc)
public ButtonBar getButtonBar()(Code)(Java Doc)
public Button getButtonById(int buttonId)(Code)(Java Doc)
public Button getButtonPressed()(Code)(Java Doc)
public boolean getCloseOnButtonClick()(Code)(Java Doc)
protected void onButtonPressed(BaseEvent be)(Code)(Java Doc)
protected void onRender()(Code)(Java Doc)
public void removeButton(Button button)(Code)(Java Doc)
public void setCloseOnButtonClick(boolean closeOnButtonClick)(Code)(Java Doc)
public void setStatus(String text, String iconStyle)(Code)(Java Doc)

Fields inherited from net.mygwt.ui.client.widget.Shell
protected Element bodyWrapperbodyWrapperInnerbodyElemcontentElemfooterElem(Code)(Java Doc)
protected WidgetContainer content(Code)(Java Doc)
protected Shadow shadow(Code)(Java Doc)

Methods inherited from net.mygwt.ui.client.widget.Shell
protected void activateShell(Event event)(Code)(Java Doc)
public void addShellListener(ShellListener listener)(Code)(Java Doc)
protected void afterHide()(Code)(Java Doc)
protected void afterShow()(Code)(Java Doc)
public void center()(Code)(Java Doc)
public void close()(Code)(Java Doc)
protected void createContent(WidgetContainer container)(Code)(Java Doc)
protected void doAttachChildren()(Code)(Java Doc)
protected void doDetachChildren()(Code)(Java Doc)
public boolean getAnimate()(Code)(Java Doc)
public int getAnimateDuration()(Code)(Java Doc)
public boolean getAutoHide()(Code)(Java Doc)
public boolean getBlinkModal()(Code)(Java Doc)
public WidgetContainer getContent()(Code)(Java Doc)
public Draggable getDraggable()(Code)(Java Doc)
public Item getHeader()(Code)(Java Doc)
public boolean getKeepLastBounds()(Code)(Java Doc)
public int getMinimumHeight()(Code)(Java Doc)
public int getMinimumWidth()(Code)(Java Doc)
public int getShadowPosition()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean isDragEnabled()(Code)(Java Doc)
public void onBrowserEvent(Event event)(Code)(Java Doc)
protected void onKeyPress(Event event)(Code)(Java Doc)
protected void onRender()(Code)(Java Doc)
protected void onResize(int width, int height)(Code)(Java Doc)
public void open()(Code)(Java Doc)
public void removeShellListener(ShellListener listener)(Code)(Java Doc)
public void setAnimate(boolean animate)(Code)(Java Doc)
public void setAnimateDuration(int animateDuration)(Code)(Java Doc)
public void setAutoHide(boolean autoHide)(Code)(Java Doc)
public void setBlinkModal(boolean blinkModal)(Code)(Java Doc)
public void setDragEnabled(boolean enabled)(Code)(Java Doc)
public void setIconStyle(String style)(Code)(Java Doc)
public void setKeepLastBounds(boolean keepLastBounds)(Code)(Java Doc)
public void setMinimumHeight(int minimumHeight)(Code)(Java Doc)
public void setMinimumSize(int width, int height)(Code)(Java Doc)
public void setMinimumWidth(int minimumWidth)(Code)(Java Doc)
public void setPagePosition(int x, int y)(Code)(Java Doc)
public void setResizeEnabled(boolean enabled)(Code)(Java Doc)
public void setShadowPosition(int shadowPosition)(Code)(Java Doc)
public void setStyle(int style)(Code)(Java Doc)
public void setText(String text)(Code)(Java Doc)
public Frame setURL(String url)(Code)(Java Doc)
public void show()(Code)(Java Doc)

Fields inherited from net.mygwt.ui.client.widget.Component
protected Rectangle attachBounds(Code)(Java Doc)
protected String baseStyle(Code)(Java Doc)
protected Menu contextMenu(Code)(Java Doc)
protected String disabledStyle(Code)(Java Doc)
protected Element focusElem(Code)(Java Doc)
protected boolean rendereddisposed(Code)(Java Doc)
protected int style(Code)(Java Doc)

Methods inherited from net.mygwt.ui.client.widget.Component
public void addListener(int eventType, Listener listener)(Code)(Java Doc)
public void addStyleName(String style)(Code)(Java Doc)
public void addWidgetListener(WidgetListener listener)(Code)(Java Doc)
protected void afterRender()(Code)(Java Doc)
protected Component blur()(Code)(Java Doc)
public void disable()(Code)(Java Doc)
protected void disableContextMenu(boolean disable)(Code)(Java Doc)
public void disableTextSelection(boolean disable)(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void enableEvents(boolean enable)(Code)(Java Doc)
public boolean fireEvent(int type)(Code)(Java Doc)
public boolean fireEvent(int type, BaseEvent be)(Code)(Java Doc)
public boolean fireEvent(int eventType, Widget widget, Widget item)(Code)(Java Doc)
public boolean fireEvent(int eventType, Widget widget, Widget item, int index)(Code)(Java Doc)
public Component focus()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Rectangle getBounds(boolean content)(Code)(Java Doc)
protected Menu getContextMenu()(Code)(Java Doc)
public Object getData()(Code)(Java Doc)
public Object getData(String key)(Code)(Java Doc)
public String getDisabledStyle()(Code)(Java Doc)
public Element getElement()(Code)(Java Doc)
protected Element getFocusElement()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public int getHeight(boolean content)(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public int getStyle()(Code)(Java Doc)
public ToolTip getToolTip()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getWidth(boolean content)(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean isDisposed()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isRendered()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
protected void onAttach()(Code)(Java Doc)
public void onBaseEvent(BaseEvent be)(Code)(Java Doc)
public void onBrowserEvent(Event event)(Code)(Java Doc)
protected void onDestroy()(Code)(Java Doc)
protected void onDetach()(Code)(Java Doc)
protected void onDisable()(Code)(Java Doc)
protected void onEnable()(Code)(Java Doc)
protected void onHide()(Code)(Java Doc)
protected void onHideContextMenu()(Code)(Java Doc)
protected void onLoad()(Code)(Java Doc)
protected void onRender()(Code)(Java Doc)
protected void onResize(int width, int height)(Code)(Java Doc)
protected void onRightClick(BaseEvent be)(Code)(Java Doc)
protected void onShow()(Code)(Java Doc)
protected void onShowContextMenu(int x, int y)(Code)(Java Doc)
public void recalculate()(Code)(Java Doc)
public void removeAllListeners()(Code)(Java Doc)
public void removeFromParent()(Code)(Java Doc)
public void removeListener(int eventType, Listener listener)(Code)(Java Doc)
public void removeStyleName(String style)(Code)(Java Doc)
public void removeWidgetListener(WidgetListener listener)(Code)(Java Doc)
protected void render()(Code)(Java Doc)
public void setBorders(boolean show)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle rect)(Code)(Java Doc)
protected void setContextMenu(Menu menu)(Code)(Java Doc)
public void setData(Object data)(Code)(Java Doc)
public void setData(String key, Object data)(Code)(Java Doc)
public void setDisabledStyle(String style)(Code)(Java Doc)
public void setElement(Element elem)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setHeight(int height)(Code)(Java Doc)
public void setHeight(String height)(Code)(Java Doc)
public void setId(String id)(Code)(Java Doc)
public void setIntStyleAttribute(String attr, int value)(Code)(Java Doc)
public void setPagePosition(int x, int y)(Code)(Java Doc)
public void setPixelSize(int width, int height)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setSize(String width, String height)(Code)(Java Doc)
public void setStyleAttribute(String attr, String value)(Code)(Java Doc)
public void setStyleName(String style)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setToolTip(String text)(Code)(Java Doc)
public void setToolTip(String title, String text)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public void setWidth(int width)(Code)(Java Doc)
public void setWidth(String width)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void unhook(int type, EventListener listener)(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.