Java Doc for XMessageBox.java in  » XML-UI » XUI » net » xoetrope » swing » 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 » XML UI » XUI » net.xoetrope.swing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.awt.Container
   net.xoetrope.xui.XPage
      net.xoetrope.swing.XDialog
         net.xoetrope.swing.XMessageBox

XMessageBox
public class XMessageBox extends XDialog implements XMessageBoxSetup(Code)

Creates a simple modal MessageBox with a label for the text and a close button

Copyright (c) Xoetrope Ltd., 1998-2004

License: see license.txt

$revision


Field Summary
protected  XButtonbtnClose
    
protected  XLabellabel
    
protected  Stringmessage
    

Constructor Summary
public  XMessageBox()
     Constructor creates the close image and the label for displaying the message.

Method Summary
public  voidcloseDlg()
     Close the dialog.
public  voidsetSize(int width, int height)
     Adjust the size and locatio of the close image and the message label.
public  voidsetup(String title, String msg, Dimension size, Container container)
    

Field Detail
btnClose
protected XButton btnClose(Code)



label
protected XLabel label(Code)



message
protected String message(Code)




Constructor Detail
XMessageBox
public XMessageBox()(Code)
Constructor creates the close image and the label for displaying the message.




Method Detail
closeDlg
public void closeDlg()(Code)
Close the dialog.



setSize
public void setSize(int width, int height)(Code)
Adjust the size and locatio of the close image and the message label.
Parameters:
  width - The new width of the dialog.
Parameters:
  height - The new height of the dialog.



setup
public void setup(String title, String msg, Dimension size, Container container)(Code)
Setup the content of the message box
Parameters:
  title - the message box title or caption
Parameters:
  msg - the text of the message
Parameters:
  size - the size of the owner page
Parameters:
  container - the content page



Fields inherited from net.xoetrope.swing.XDialog
final public static int CANCEL_CLICKED(Code)(Java Doc)
final public static int CLOSE_CLICKED(Code)(Java Doc)
final public static int DEFAULT_PADDING(Code)(Java Doc)
final public static int NOTHING_CLICKED_YET(Code)(Java Doc)
final public static int OK_CLICKED(Code)(Java Doc)
boolean QAvailable(Code)(Java Doc)
final Window appWindow(Code)(Java Doc)
final static boolean bFireEmptyEvent(Code)(Java Doc)
final Frame clientFrame(Code)(Java Doc)
protected XPanel contentPanel(Code)(Java Doc)
protected Component focusComponent(Code)(Java Doc)
protected static int lastReturnValue(Code)(Java Doc)
protected int padding(Code)(Java Doc)
protected Container parent(Code)(Java Doc)
public Object returnObject(Code)(Java Doc)
protected int returnValue(Code)(Java Doc)
protected boolean saveOnClose(Code)(Java Doc)
final public static boolean trueField(Code)(Java Doc)

Methods inherited from net.xoetrope.swing.XDialog
public void cancelDlg()(Code)(Java Doc)
public void closeDlg()(Code)(Java Doc)
public Container getContentPane()(Code)(Java Doc)
protected Component getFocusComponent(Container cont)(Code)(Java Doc)
public static int getLastReturnValue()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Object getReturnObject()(Code)(Java Doc)
public void pack()(Code)(Java Doc)
public void pageCreated()(Code)(Java Doc)
public void setCaption(String c)(Code)(Java Doc)
public void setModal(boolean modal)(Code)(Java Doc)
public void setSaveOnClose(boolean save)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setUseNativeHeaders(boolean bh)(Code)(Java Doc)
public int showDialog(Container owner, String title, Point location)(Code)(Java Doc)
public void showDialog(Component cbParent, String cb)(Code)(Java Doc)
public int showDialog(Container owner)(Code)(Java Doc)
public void showModalWindow(Component contents)(Code)(Java Doc)
public boolean wasMouseClicked()(Code)(Java Doc)

Fields inherited from net.xoetrope.xui.XPage
final public static int ACTIVATED(Code)(Java Doc)
final public static String ANNOTATEDIMAGE(Code)(Java Doc)
final public static int BORDER_LAYOUT(Code)(Java Doc)
final public static int BOX_LAYOUT(Code)(Java Doc)
final public static String BUTTON(Code)(Java Doc)
final public static int CARD_LAYOUT(Code)(Java Doc)
final public static String CHECK(Code)(Java Doc)
final public static String COMBO(Code)(Java Doc)
final public static int CREATED(Code)(Java Doc)
final public static int DEACTIVATED(Code)(Java Doc)
final public static int DISCARDED(Code)(Java Doc)
final public static String EDIT(Code)(Java Doc)
final public static int FLOW_LAYOUT(Code)(Java Doc)
final public static int GRIDBAG_LAYOUT(Code)(Java Doc)
final public static int GRID_LAYOUT(Code)(Java Doc)
final public static String GROUP(Code)(Java Doc)
final public static String HOTSPOTIMAGE(Code)(Java Doc)
final public static String IMAGE(Code)(Java Doc)
final public static String IMAGEMAP(Code)(Java Doc)
final public static String LABEL(Code)(Java Doc)
final public static String LIST(Code)(Java Doc)
final public static int LOADED(Code)(Java Doc)
final public static String MENU(Code)(Java Doc)
final public static String MENUBAR(Code)(Java Doc)
final public static String MENUITEM(Code)(Java Doc)
final public static String METACONTENT(Code)(Java Doc)
final public static int NULL_LAYOUT(Code)(Java Doc)
final public static String PANEL(Code)(Java Doc)
final public static String PASSWORD(Code)(Java Doc)
final public static String RADIO(Code)(Java Doc)
final public static String SCROLLABLEMETACONTENT(Code)(Java Doc)
final public static String SCROLLPANE(Code)(Java Doc)
final public static String SPLITPANE(Code)(Java Doc)
final public static String TABLE(Code)(Java Doc)
final public static String TABPANEL(Code)(Java Doc)
final public static String TEXTAREA(Code)(Java Doc)
final public static String UNKNOWN(Code)(Java Doc)
final public static int UNKNOWN_PAGE_STATE(Code)(Java Doc)
final public static String WMF(Code)(Java Doc)
final public static int XANNOTATEDIMAGE(Code)(Java Doc)
final public static int XBUTTON(Code)(Java Doc)
final public static int XCHECK(Code)(Java Doc)
final public static int XCOMBO(Code)(Java Doc)
final public static int XEDIT(Code)(Java Doc)
final public static int XGROUP(Code)(Java Doc)
final public static int XHOTSPOTIMAGE(Code)(Java Doc)
final public static int XIMAGE(Code)(Java Doc)
final public static int XIMAGEMAP(Code)(Java Doc)
final public static int XLABEL(Code)(Java Doc)
final public static int XLIST(Code)(Java Doc)
final public static int XMENU(Code)(Java Doc)
final public static int XMENUBAR(Code)(Java Doc)
final public static int XMENUITEM(Code)(Java Doc)
final public static int XMETACONTENT(Code)(Java Doc)
final public static int XPANEL(Code)(Java Doc)
final public static int XPASSWORD(Code)(Java Doc)
final public static int XRADIO(Code)(Java Doc)
final public static int XSCROLLABLEMETACONTENT(Code)(Java Doc)
final public static int XSCROLLPANE(Code)(Java Doc)
final public static int XSPLITPANE(Code)(Java Doc)
final public static int XTABLE(Code)(Java Doc)
final public static int XTABPANEL(Code)(Java Doc)
final public static int XTEXTAREA(Code)(Java Doc)
final public static String XUI_AWT_PACKAGE(Code)(Java Doc)
final public static String XUI_SWING_PACKAGE(Code)(Java Doc)
final public static int XUNKNOWN(Code)(Java Doc)
final public static int XWMF(Code)(Java Doc)
protected Hashtable attribs(Code)(Java Doc)
protected boolean clearPage(Code)(Java Doc)
protected XStyleFactory componentFactory(Code)(Java Doc)
protected XEventHandler eventHandler(Code)(Java Doc)
protected static Cursor hand(Code)(Java Doc)
protected Vector hiddenComponents(Code)(Java Doc)
protected Vector modelBindings(Code)(Java Doc)
protected int status(Code)(Java Doc)
protected XValidationHandler validationHandler(Code)(Java Doc)

Methods inherited from net.xoetrope.xui.XPage
public int accumulateMessages(boolean start, int level)(Code)(Java Doc)
public void addActionHandler(Component comp, String methodName)(Code)(Java Doc)
public void addBinding(XDataBinding b)(Code)(Java Doc)
public void addFocusHandler(Component comp, String methodName)(Code)(Java Doc)
public void addHandler(Component comp, long eventType, String methodName) throws Exception(Code)(Java Doc)
public void addItemHandler(Component comp, String methodName)(Code)(Java Doc)
public void addKeyHandler(Component comp, String methodName)(Code)(Java Doc)
public void addListener(Object comp, String listenerName, String argType)(Code)(Java Doc)
public void addMenuHandler(Object menuItem, String methodName)(Code)(Java Doc)
public void addMouseHandler(Component comp, String methodName)(Code)(Java Doc)
public void addMouseMotionHandler(Component comp, String methodName)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public void addTextHandler(Component comp, String methodName)(Code)(Java Doc)
public XValidator addValidation(Component comp, String validationName, String method, int mask)(Code)(Java Doc)
public XValidator addValidation(Component comp, String validationName, String method)(Code)(Java Doc)
public XValidator addValidation(Component comp, String validationName)(Code)(Java Doc)
public int checkValidations()(Code)(Java Doc)
public void clearValidations()(Code)(Java Doc)
public Object evaluateAttribute(String attribValue)(Code)(Java Doc)
public String evaluatePath(String path)(Code)(Java Doc)
public Component findComponent(String name)(Code)(Java Doc)
public Component findComponent(Container container, String name)(Code)(Java Doc)
public Object getAttribute(String attribName)(Code)(Java Doc)
public Object getAttribute(String attribName, String compName)(Code)(Java Doc)
public XDataBinding getBinding(Component targetComp)(Code)(Java Doc)
public XDataBinding getBinding(String targetPath)(Code)(Java Doc)
public Vector getBindings()(Code)(Java Doc)
public XComponentFactory getComponentFactory()(Code)(Java Doc)
public String getComponentName(Component comp)(Code)(Java Doc)
public AWTEvent getCurrentEvent()(Code)(Java Doc)
public Object getEventAttribute(Component c, String attribName)(Code)(Java Doc)
public XEventHandler getEventHandler()(Code)(Java Doc)
public int getStatus()(Code)(Java Doc)
public XValidationHandler getValidationHandler()(Code)(Java Doc)
public boolean handleException(Component comp, Exception ex, XValidator validator)(Code)(Java Doc)
public boolean isFocusChangeSuppressed()(Code)(Java Doc)
public void pageActivated()(Code)(Java Doc)
public void pageCreated()(Code)(Java Doc)
public void pageDeactivated()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintSuper(Graphics g)(Code)(Java Doc)
public void removeBinding(XDataBinding b)(Code)(Java Doc)
public void saveBoundComponentValues()(Code)(Java Doc)
public void setAttribute(String attribName, String compName, Object attribValue)(Code)(Java Doc)
public void setClearPage(boolean value)(Code)(Java Doc)
public void setComponentFactory(XStyleFactory factory)(Code)(Java Doc)
public void setEventHandler(XEventHandler eh)(Code)(Java Doc)
public void setExceptionHandler(XValidationExceptionHandler eh)(Code)(Java Doc)
public void setStatus(int newStatus)(Code)(Java Doc)
public void setValidationFactory(XValidationFactory vf)(Code)(Java Doc)
public void setValidationFactory(String vf)(Code)(Java Doc)
public void showComponents(Container container, boolean visible, int recursionLevel)(Code)(Java Doc)
public void showHandCursor(Component comp)(Code)(Java Doc)
public void showMessage(String title, String msg)(Code)(Java Doc)
public void showMessage(Container parent, String title, String msg)(Code)(Java Doc)
public String stripAttributeValues(String path)(Code)(Java Doc)
public String translate(String key)(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void updateBindings()(Code)(Java Doc)
public void updateBoundComponentValues()(Code)(Java Doc)
public int validationHandler()(Code)(Java Doc)
public boolean wasMouseClicked()(Code)(Java Doc)
public boolean wasMouseDoubleClicked()(Code)(Java Doc)
public boolean wasMouseRightClicked()(Code)(Java Doc)

Methods inherited from java.awt.Container
public Component add(Component comp)(Code)(Java Doc)
public Component add(String name, Component comp)(Code)(Java Doc)
public Component add(Component comp, int index)(Code)(Java Doc)
public void add(Component comp, Object constraints)(Code)(Java Doc)
public void add(Component comp, Object constraints, int index)(Code)(Java Doc)
public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc)
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public int countComponents()(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public Component findComponentAt(int x, int y)(Code)(Java Doc)
public Component findComponentAt(Point p)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Component getComponent(int n)(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentZOrder(Component comp)(Code)(Java Doc)
public Component[] getComponents()(Code)(Java Doc)
public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public LayoutManager getLayout()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isAncestorOf(Component c)(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusCycleRoot()(Code)(Java Doc)
final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc)
public boolean isFocusTraversalPolicySet()(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintComponents(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printComponents(Graphics g)(Code)(Java Doc)
protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setComponentZOrder(Component comp, int index)(Code)(Java Doc)
public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc)
final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setLayout(LayoutManager mgr)(Code)(Java Doc)
public void transferFocusDownCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)
protected void validateTree()(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.