Java Doc for AwtDocumentWindow.java in  » Internationalization-Localization » icu4j » com » ibm » richtext » demo » 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 » Internationalization Localization » icu4j » com.ibm.richtext.demo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.awt.Frame
   com.ibm.richtext.demo.AwtDocumentWindow

AwtDocumentWindow
final public class AwtDocumentWindow extends Frame implements DocumentWindow(Code)
AwtDocumentWindow is a Frame containing a TextPanel, with a document for storing the text in the TextPanel.


Field Summary
final static  StringCOPYRIGHT
    

Constructor Summary
 AwtDocumentWindow(EditApplication application, TextDocument document, TextPanelSettings textPanelSettings, boolean useTabRuler, TextPanelListener listener, boolean supportStyledText, boolean supportPlainText, int[] menus)
     Create a new AwtDocumentWindow.

Method Summary
public  booleandoClose()
     Attempt to close this window.
public  voiddoNew()
     Set the document to empty text with no associated file.
public  voiddoOpen()
     Prompt the user for a file from which to load a text document. If the current text is not saved, first prompt the user to save.
public  voiddoPrint()
     Print the contents of this window.
public  booleandoSave()
     Save the text in this document.
public  booleandoSaveAs(int format)
     Prompt the user for a file in which to save the document text.
public static  FilegetFileFromDialog(File origFile, String dialogTitle, Frame owner, int kind)
     Retrieve a file from a dialog.

Field Detail
COPYRIGHT
final static String COPYRIGHT(Code)




Constructor Detail
AwtDocumentWindow
AwtDocumentWindow(EditApplication application, TextDocument document, TextPanelSettings textPanelSettings, boolean useTabRuler, TextPanelListener listener, boolean supportStyledText, boolean supportPlainText, int[] menus)(Code)
Create a new AwtDocumentWindow.
Parameters:
  application - the application that owns this document
Parameters:
  clipboard - the clipboard to use
Parameters:
  document - the document to show in this AwtDocumentWindow




Method Detail
doClose
public boolean doClose()(Code)
Attempt to close this window. If the text has not been saved, give the user a chance to save the text before closing the window. If the user cancels this operation, this method returns false and the window is not closed; otherwise this method returns true and the window is closed.



doNew
public void doNew()(Code)
Set the document to empty text with no associated file. If the document text is not saved, prompt the user to save the the text first. If this operation is canceled, the document is unchanged.



doOpen
public void doOpen()(Code)
Prompt the user for a file from which to load a text document. If the current text is not saved, first prompt the user to save. If either operation is canceled or fails, the document is unchanged.



doPrint
public void doPrint()(Code)
Print the contents of this window.



doSave
public boolean doSave()(Code)
Save the text in this document. If there is no file associated with the text, this is equivalent to doSaveAs. This method returns true if the document was successfully saved.



doSaveAs
public boolean doSaveAs(int format)(Code)
Prompt the user for a file in which to save the document text. If this operation is not canceled, save the text in the file. The file becomes this document's file.



getFileFromDialog
public static File getFileFromDialog(File origFile, String dialogTitle, Frame owner, int kind)(Code)
Retrieve a file from a dialog. If the user does not select a file in the dialog this method returns null.
Parameters:
  kind - either FileDialog.LOAD or FileDialog.SAVE.



Fields inherited from java.awt.Frame
final public static int CROSSHAIR_CURSOR(Code)(Java Doc)
final public static int DEFAULT_CURSOR(Code)(Java Doc)
final public static int E_RESIZE_CURSOR(Code)(Java Doc)
final public static int HAND_CURSOR(Code)(Java Doc)
final public static int ICONIFIED(Code)(Java Doc)
final public static int MAXIMIZED_BOTH(Code)(Java Doc)
final public static int MAXIMIZED_HORIZ(Code)(Java Doc)
final public static int MAXIMIZED_VERT(Code)(Java Doc)
final public static int MOVE_CURSOR(Code)(Java Doc)
final public static int NE_RESIZE_CURSOR(Code)(Java Doc)
final public static int NORMAL(Code)(Java Doc)
final public static int NW_RESIZE_CURSOR(Code)(Java Doc)
final public static int N_RESIZE_CURSOR(Code)(Java Doc)
final public static int SE_RESIZE_CURSOR(Code)(Java Doc)
final public static int SW_RESIZE_CURSOR(Code)(Java Doc)
final public static int S_RESIZE_CURSOR(Code)(Java Doc)
final public static int TEXT_CURSOR(Code)(Java Doc)
final public static int WAIT_CURSOR(Code)(Java Doc)
final public static int W_RESIZE_CURSOR(Code)(Java Doc)

Methods inherited from java.awt.Frame
public void addNotify()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public int getCursorType()(Code)(Java Doc)
public synchronized int getExtendedState()(Code)(Java Doc)
public static Frame[] getFrames()(Code)(Java Doc)
public Image getIconImage()(Code)(Java Doc)
public Rectangle getMaximizedBounds()(Code)(Java Doc)
public MenuBar getMenuBar()(Code)(Java Doc)
public synchronized int getState()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public boolean isResizable()(Code)(Java Doc)
public boolean isUndecorated()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void remove(MenuComponent m)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setCursor(int cursorType)(Code)(Java Doc)
public synchronized void setExtendedState(int state)(Code)(Java Doc)
public void setIconImage(Image image)(Code)(Java Doc)
public synchronized void setMaximizedBounds(Rectangle bounds)(Code)(Java Doc)
public void setMenuBar(MenuBar mb)(Code)(Java Doc)
public void setResizable(boolean resizable)(Code)(Java Doc)
public synchronized void setState(int state)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setUndecorated(boolean undecorated)(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.