Java Doc for DesignApplet.java in  » Report » datavision-1.1.0 » jimm » datavision » gui » applet » 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 » Report » datavision 1.1.0 » jimm.datavision.gui.applet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   jimm.datavision.gui.Designer
      jimm.datavision.gui.applet.DesignApplet

DesignApplet
class DesignApplet extends Designer (Code)
A designer suitable for use with applets. This designer is created by a DVApplet in its init method.
author:
   Jim Menard, jimm@io.com



Constructor Summary
 DesignApplet(DVApplet applet)
    

Method Summary
protected  DVAppletgetAppletViaCheapTrick()
     A cheap trick: we need the applet but this method is called from the constructor indirectly so we can't assign the applet to an instance var of the correct type.
protected  booleanreadReport(String fileName, String databasePassword)
     Reads the named report file or, if it's null, creates a new, empty report.
protected  voidreceiveResponse(URLConnection conn)
    
protected  voidsaveReportAs()
     Saves the current report to a URL specified by the user.
protected  voidsendData(URLConnection conn)
    
protected  voidwriteReportFile(String fileName)
     Writes the current report to the specified file.


Constructor Detail
DesignApplet
DesignApplet(DVApplet applet)(Code)




Method Detail
getAppletViaCheapTrick
protected DVApplet getAppletViaCheapTrick()(Code)
A cheap trick: we need the applet but this method is called from the constructor indirectly so we can't assign the applet to an instance var of the correct type. However, we passed the applet in as our root pane container. the applet



readReport
protected boolean readReport(String fileName, String databasePassword)(Code)
Reads the named report file or, if it's null, creates a new, empty report. Returns true if we need to ask the user for connection info because this is a new report.
Parameters:
  fileName -
Parameters:
  databasePassword - string to give to report; OK if it'snull true if we need to ask the user for connection info



receiveResponse
protected void receiveResponse(URLConnection conn) throws IOException(Code)



saveReportAs
protected void saveReportAs()(Code)
Saves the current report to a URL specified by the user.



sendData
protected void sendData(URLConnection conn) throws IOException(Code)



writeReportFile
protected void writeReportFile(String fileName)(Code)
Writes the current report to the specified file. Also tells the command history the report has been saved so it knows how to report if any changes have been made from this point on.
Parameters:
  fileName - a file name



Fields inherited from jimm.datavision.gui.Designer
final public static int ALIGN_BOTTOM(Code)(Java Doc)
final public static int ALIGN_CENTER(Code)(Java Doc)
final public static int ALIGN_LEFT(Code)(Java Doc)
final public static int ALIGN_MIDDLE(Code)(Java Doc)
final public static int ALIGN_RIGHT(Code)(Java Doc)
final public static int ALIGN_SNAP_TO_GRID(Code)(Java Doc)
final public static int ALIGN_TOP(Code)(Java Doc)
final public static int GRID_SIZE(Code)(Java Doc)
final public static int SIZE_SAME_HEIGHT(Code)(Java Doc)
final public static int SIZE_SAME_SIZE(Code)(Java Doc)
final public static int SIZE_SAME_WIDTH(Code)(Java Doc)
protected JMenu alignSubmenusizeSubmenupaperSizeSubmenu(Code)(Java Doc)
protected static JFileChooser chooser(Code)(Java Doc)
protected CommandHistory commandHistory(Code)(Java Doc)
protected static ArrayList designWindows(Code)(Java Doc)
protected static boolean exitWhenLastWindowClosed(Code)(Java Doc)
protected JFrame frame(Code)(Java Doc)
protected boolean ignoreKeys(Code)(Java Doc)
protected boolean placingNewTextField(Code)(Java Doc)
protected Report report(Code)(Java Doc)
protected String reportFilePath(Code)(Java Doc)
protected RootPaneContainer rootPaneContainer(Code)(Java Doc)
protected JScrollPane scroller(Code)(Java Doc)
protected JLayeredPane sectionContainer(Code)(Java Doc)
protected ArrayList sectionWidgets(Code)(Java Doc)
protected ArrayList selectedFields(Code)(Java Doc)
protected JMenuItem undoItemredoItemcutItemcopyItempasteItemdelSelectionItemdelGroupItemdelSectionItemaggrItemgroupItemsectItemformatItemborderItemboundsItemdefaultFormatItemtableJoinItemsqlQueryTextItemconnectionItemselectRecordsItemsortByItemgroupByItemrunItemexportItemsubreportItem(Code)(Java Doc)

Methods inherited from jimm.datavision.gui.Designer
protected void about()(Code)(Java Doc)
public void actionPerformed(ActionEvent e)(Code)(Java Doc)
public void addCommand(Command cmd)(Code)(Java Doc)
public FieldWidget addTitleField(int x, int width, String title)(Code)(Java Doc)
public static void addWindow(Designer win)(Code)(Java Doc)
protected void align(int which)(Code)(Java Doc)
protected JMenu buildDatabaseMenu()(Code)(Java Doc)
protected JMenu buildEditMenu()(Code)(Java Doc)
protected JMenu buildFileMenu()(Code)(Java Doc)
protected JMenu buildFormatMenu()(Code)(Java Doc)
protected JMenu buildHelpMenu()(Code)(Java Doc)
protected JMenu buildInsertMenu()(Code)(Java Doc)
protected JMenuBar buildMenuBar()(Code)(Java Doc)
protected JMenu buildReportMenu()(Code)(Java Doc)
protected void buildSections()(Code)(Java Doc)
protected void buildSectionsInArea(SectionArea area)(Code)(Java Doc)
protected void buildWindow()(Code)(Java Doc)
protected void changePaperOrientation(int orientation)(Code)(Java Doc)
protected void changePaperSize(PaperFormat p)(Code)(Java Doc)
protected void closeMe()(Code)(Java Doc)
protected void copySelectedFields()(Code)(Java Doc)
protected void createImageField()(Code)(Java Doc)
public void deleteSection(Section s)(Code)(Java Doc)
protected void deleteSelectedFields()(Code)(Java Doc)
protected void deleteSelectedFieldsAnd(FieldWidget oneMore)(Code)(Java Doc)
protected static void deleteWindow(Designer win)(Code)(Java Doc)
public void deselectAll()(Code)(Java Doc)
public SectionWidget doDeleteSection(Section s)(Code)(Java Doc)
protected void dragSelectedWidgets(int action, java.awt.Point mouseScreenPos)(Code)(Java Doc)
public void enableMenuItems()(Code)(Java Doc)
protected void exportReport()(Code)(Java Doc)
public SectionWidget findSectionWidgetFor(Section s)(Code)(Java Doc)
public static Designer findWindowFor(Report r)(Code)(Java Doc)
public static JFileChooser getChooser()(Code)(Java Doc)
public Frame getFrame()(Code)(Java Doc)
public Report getReport()(Code)(Java Doc)
protected SectionWidget getSectionWidgetUnder(java.awt.Point screenPos)(Code)(Java Doc)
protected void help()(Code)(Java Doc)
public void insertSectionWidgetAfter(SectionWidget sw, SectionWidget putAfter)(Code)(Java Doc)
protected void insertSubreport()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
protected void maybeClose()(Code)(Java Doc)
protected static void maybeQuit()(Code)(Java Doc)
protected void newReport()(Code)(Java Doc)
protected void openAggregateWin()(Code)(Java Doc)
protected void openBoundsWin()(Code)(Java Doc)
protected void openDbConnWin(boolean modal)(Code)(Java Doc)
protected void openDefaultFormatWin()(Code)(Java Doc)
protected void openDescripWin()(Code)(Java Doc)
protected void openFieldPickerWin(int startingType)(Code)(Java Doc)
protected void openFormatWin(int whichTab)(Code)(Java Doc)
protected void openGroupWin()(Code)(Java Doc)
protected void openNewGroupWin()(Code)(Java Doc)
protected void openReport()(Code)(Java Doc)
protected void openScriptingWin()(Code)(Java Doc)
protected void openSortWin()(Code)(Java Doc)
protected void openStartupScriptEditor()(Code)(Java Doc)
protected void openVisTableWin()(Code)(Java Doc)
protected void openWhereClauseEditor()(Code)(Java Doc)
public void paperSizeChanged(PaperFormat p)(Code)(Java Doc)
protected void paste()(Code)(Java Doc)
public void performCommand(Command cmd)(Code)(Java Doc)
protected void placeNewTextField()(Code)(Java Doc)
protected boolean readReport(File f, String databasePassword)(Code)(Java Doc)
public void rebuildGroups()(Code)(Java Doc)
protected void renameSectionWidgets()(Code)(Java Doc)
protected void renameSectionWidgetsIn(SectionArea area, String prefix, Group group)(Code)(Java Doc)
protected void runReport()(Code)(Java Doc)
public static void savePrefsDir(JFileChooser jfc, String key)(Code)(Java Doc)
protected void saveReport()(Code)(Java Doc)
protected void saveReportAs()(Code)(Java Doc)
public void select(FieldWidget fieldWidget, boolean makeSelected, boolean deselectOthers)(Code)(Java Doc)
public static void setExitWhenLastWinClosed(boolean exit)(Code)(Java Doc)
public void setIgnoreKeys(boolean ignore)(Code)(Java Doc)
public static void setPrefsDir(JFileChooser jfc, String key)(Code)(Java Doc)
protected void showSQL()(Code)(Java Doc)
protected void size(int which)(Code)(Java Doc)
public void snapToGrid(jimm.datavision.field.Rectangle r)(Code)(Java Doc)
public boolean someSelectedFieldUsesFormat()(Code)(Java Doc)
public void update(Observable o, Object arg)(Code)(Java Doc)
public void updatePaperSizeMenu(PaperFormat p)(Code)(Java Doc)
protected void writeReportFile(String fileName)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.