Java Doc for JDialog.java in  » Apache-Harmony-Java-SE » javax-package » javax » 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 » Apache Harmony Java SE » javax package » javax.swing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.awt.Dialog
   javax.swing.JDialog

JDialog
public class JDialog extends Dialog implements WindowConstants,Accessible,RootPaneContainer(Code)

JDialog

Implementation Notes:

  • The serialVersionUID fields are explicitly declared as a performance optimization, not as a guarantee of serialization compatibility.

Inner Class :protected class AccessibleJDialog extends AccessibleAWTDialog

Field Summary
protected  AccessibleContextaccessibleContext
    
protected  JRootPanerootPane
    
protected  booleanrootPaneCheckingEnabled
    

Constructor Summary
public  JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
     Constructs a modal or non-modal dialog with the specified title and with the specified owner.
public  JDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
     Constructs a modal or on-modal dialog with the specified title and with the specified owner.
public  JDialog(Frame owner, String title, boolean modal)
     Constructs a modal or non-modal dialog with the specified title and with the specified owner.
public  JDialog(Frame owner, String title)
     Constructs a non-modal dialog with the specified title and with the specified owner.
public  JDialog(Dialog owner, String title, boolean modal)
     Constructs a modal or on-modal dialog with the specified title and with the specified owner.
public  JDialog(Dialog owner, String title)
     Constructs a non-modal dialog with the specified title and with the specified owner.
public  JDialog(Frame owner, boolean modal)
     Constructs a non-modal dialog without a title and with the specified owner.
public  JDialog(Frame owner)
     Constructs a non-modal dialog without a title and with the specified owner.
public  JDialog(Dialog owner, boolean modal)
     Constructs a modal or non-modal dialog without a title and with the specified owner.
public  JDialog(Dialog owner)
     Constructs a non-modal dialog without a title and with the specified owner.
public  JDialog()
     Constructs a non-modal dialog without a title and without a specified owner.

Method Summary
protected  voidaddImpl(Component comp, Object constraints, int index)
    
protected  JRootPanecreateRootPane()
     Called by the constructors to create the default rootPane property.
protected  voiddialogInit()
    
public  AccessibleContextgetAccessibleContext()
     Returns the accessible context for the dialog.
public  ContainergetContentPane()
     Returns the contentPane property.
public  intgetDefaultCloseOperation()
     Returns defaultCloseOperation value.
public  ComponentgetGlassPane()
     Returns glassPane property.
public  JMenuBargetJMenuBar()
    
public  JLayeredPanegetLayeredPane()
     Returns layeredPane property.
public  JRootPanegetRootPane()
     Get rootPane property.
public static  booleanisDefaultLookAndFeelDecorated()
    
protected  booleanisRootPaneCheckingEnabled()
     Returns rootPaneCheckingEnabled value.
protected  StringparamString()
     Returns string representation of this dialog.
protected  voidprocessWindowEvent(WindowEvent e)
     Implements actions depending on defaultCloseOperation property.
public  voidremove(Component comp)
    
public  voidsetContentPane(Container contentPane)
     Sets contentPane property.
public  voidsetDefaultCloseOperation(int operation)
     Sets defaultCloseOperation property.
public static  voidsetDefaultLookAndFeelDecorated(boolean defaultLookAndFeelDecorated)
    
public  voidsetGlassPane(Component glassPane)
     Set glassPane property.
public  voidsetJMenuBar(JMenuBar menuBar)
    
public  voidsetLayeredPane(JLayeredPane layeredPane)
     Sets layeredPane property.
public  voidsetLayout(LayoutManager layout)
    
protected  voidsetRootPane(JRootPane root)
     Set rootPane property.
protected  voidsetRootPaneCheckingEnabled(boolean enabled)
     Sets rootPaneCheckingEnabled.
public  voidupdate(Graphics g)
     Just calls paint(g).

Field Detail
accessibleContext
protected AccessibleContext accessibleContext(Code)



rootPane
protected JRootPane rootPane(Code)



rootPaneCheckingEnabled
protected boolean rootPaneCheckingEnabled(Code)




Constructor Detail
JDialog
public JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)(Code)
Constructs a modal or non-modal dialog with the specified title and with the specified owner. If the owner is null, the default shared owner will be used.
Parameters:
  owner - - the owner
Parameters:
  title - - the title of the dialog
Parameters:
  modal - - true for a modal dialog, false for a non-modal dialog
Parameters:
  gc - - the GraphicsConfiguration of the target screen device.If gc is null, GraphicsConfiguration of the owner will be used.



JDialog
public JDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc) throws HeadlessException(Code)
Constructs a modal or on-modal dialog with the specified title and with the specified owner.
Parameters:
  owner - - the non-null owner
Parameters:
  title - - the title of the dialog
Parameters:
  modal - - true for a modal dialog, false for a non-modal dialog
Parameters:
  gc - - the GraphicsConfiguration of the target screen device.If gc is null, GraphicsConfiguration of the owner will be used.
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless() returnstrue.



JDialog
public JDialog(Frame owner, String title, boolean modal) throws HeadlessException(Code)
Constructs a modal or non-modal dialog with the specified title and with the specified owner. If the owner is null, the default shared owner will be used.
Parameters:
  owner - - the owner
Parameters:
  title - - the title of the dialog
Parameters:
  modal - - true for a modal dialog, false for a non-modal dialog
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless()returns true.



JDialog
public JDialog(Frame owner, String title) throws HeadlessException(Code)
Constructs a non-modal dialog with the specified title and with the specified owner. If the owner is null, the default shared owner will be used.
Parameters:
  owner - - the owner
Parameters:
  title - - the title of the dialog
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless()returns true.



JDialog
public JDialog(Dialog owner, String title, boolean modal) throws HeadlessException(Code)
Constructs a modal or on-modal dialog with the specified title and with the specified owner.
Parameters:
  owner - - the non-null owner
Parameters:
  title - - the title of the dialog
Parameters:
  modal - - true for a modal dialog, false for a non-modal dialog
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless()returns true.



JDialog
public JDialog(Dialog owner, String title) throws HeadlessException(Code)
Constructs a non-modal dialog with the specified title and with the specified owner.
Parameters:
  owner - - the non-null owner
Parameters:
  title - - the title of the dialog
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless()returns true.



JDialog
public JDialog(Frame owner, boolean modal) throws HeadlessException(Code)
Constructs a non-modal dialog without a title and with the specified owner. If the owner is null, the default shared owner will be used.
Parameters:
  owner - - the owner
Parameters:
  modal - - true for a modal dialog, false for a non-modal dialog
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless()returns true.



JDialog
public JDialog(Frame owner) throws HeadlessException(Code)
Constructs a non-modal dialog without a title and with the specified owner. If the owner is null, the default shared owner will be used.
Parameters:
  owner - - the owner
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless()returns true.



JDialog
public JDialog(Dialog owner, boolean modal) throws HeadlessException(Code)
Constructs a modal or non-modal dialog without a title and with the specified owner.
Parameters:
  owner - - the non-null owner
Parameters:
  modal - - true for a modal dialog, false for a non-modal dialog
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless()returns true.



JDialog
public JDialog(Dialog owner) throws HeadlessException(Code)
Constructs a non-modal dialog without a title and with the specified owner.
Parameters:
  owner - - the non-null owner
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless()returns true.



JDialog
public JDialog() throws HeadlessException(Code)
Constructs a non-modal dialog without a title and without a specified owner. The default shared owner will be used.
throws:
  HeadlessException - - if GraphicsEnvironment.isHeadless()returns true.




Method Detail
addImpl
protected void addImpl(Component comp, Object constraints, int index)(Code)



createRootPane
protected JRootPane createRootPane()(Code)
Called by the constructors to create the default rootPane property. default JRootPane



dialogInit
protected void dialogInit()(Code)
Called by the constructors to init JDialog



getAccessibleContext
public AccessibleContext getAccessibleContext()(Code)
Returns the accessible context for the dialog. the accessible context for the dialog



getContentPane
public Container getContentPane()(Code)
Returns the contentPane property. the contentPane property



getDefaultCloseOperation
public int getDefaultCloseOperation()(Code)
Returns defaultCloseOperation value. defaultCloseOperation value



getGlassPane
public Component getGlassPane()(Code)
Returns glassPane property. glassPane property



getJMenuBar
public JMenuBar getJMenuBar()(Code)
Returns the menu bar for the frame the menu bar for the frame



getLayeredPane
public JLayeredPane getLayeredPane()(Code)
Returns layeredPane property. layeredPane property



getRootPane
public JRootPane getRootPane()(Code)
Get rootPane property. rootPane property



isDefaultLookAndFeelDecorated
public static boolean isDefaultLookAndFeelDecorated()(Code)



isRootPaneCheckingEnabled
protected boolean isRootPaneCheckingEnabled()(Code)
Returns rootPaneCheckingEnabled value. value of rootPaneCheckingEnabled



paramString
protected String paramString()(Code)
Returns string representation of this dialog. string representation of this dialog



processWindowEvent
protected void processWindowEvent(WindowEvent e)(Code)
Implements actions depending on defaultCloseOperation property.
Parameters:
  e - - window event



remove
public void remove(Component comp)(Code)



setContentPane
public void setContentPane(Container contentPane)(Code)
Sets contentPane property.
Parameters:
  contentPane - - new contentPane property value



setDefaultCloseOperation
public void setDefaultCloseOperation(int operation)(Code)
Sets defaultCloseOperation property.
Parameters:
  operation - - new defaultCloseOperation value



setDefaultLookAndFeelDecorated
public static void setDefaultLookAndFeelDecorated(boolean defaultLookAndFeelDecorated)(Code)



setGlassPane
public void setGlassPane(Component glassPane)(Code)
Set glassPane property.
Parameters:
  glassPane - - new glassPane property value



setJMenuBar
public void setJMenuBar(JMenuBar menuBar)(Code)
Sets the menu bar for the frame
Parameters:
  menuBar - - menu bar to be placed in the frame



setLayeredPane
public void setLayeredPane(JLayeredPane layeredPane)(Code)
Sets layeredPane property.
Parameters:
  layeredPane - - new layeredPane property value



setLayout
public void setLayout(LayoutManager layout)(Code)



setRootPane
protected void setRootPane(JRootPane root)(Code)
Set rootPane property.
Parameters:
  root - - new rootPane property value



setRootPaneCheckingEnabled
protected void setRootPaneCheckingEnabled(boolean enabled)(Code)
Sets rootPaneCheckingEnabled.
Parameters:
  enabled - - new rootPaneCheckingEnabled value



update
public void update(Graphics g)(Code)
Just calls paint(g). This method was overridden to prevent an unnecessary call to clear the background.
Parameters:
  g - - the graphics context to paint



Fields inherited from java.awt.Dialog
final public static ModalityType DEFAULT_MODALITY_TYPE(Code)(Java Doc)

Methods inherited from java.awt.Dialog
public void addNotify()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public ModalityType getModalityType()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean isModal()(Code)(Java Doc)
public boolean isResizable()(Code)(Java Doc)
public boolean isUndecorated()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setModal(boolean modal)(Code)(Java Doc)
public void setModalityType(ModalityType type)(Code)(Java Doc)
public void setResizable(boolean resizable)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setUndecorated(boolean undecorated)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void toBack()(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.