Java Doc for QueryBuilderOperator.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » gravy » dataconnectivity » 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 » IDE Netbeans » visualweb.api.designer » org.netbeans.modules.visualweb.gravy.dataconnectivity 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.visualweb.gravy.dataconnectivity.QueryBuilderOperator

QueryBuilderOperator
public class QueryBuilderOperator extends ContainerOperator (Code)
This class implements test functionality for a window "QueryBuilder".

Inner Class :public class TableFrameOperator extends ContainerOperator
Inner Class :public class QueryBuilderTableChooser implements ComponentChooser
Inner Class :public class TableFrameChooser implements ComponentChooser
Inner Class :public class QueryBuilderPaneOperator extends ContainerOperator
Inner Class :public class QueryBuilderPaneChooser implements ComponentChooser
Inner Class :public class QueryBuilderGraphFrameOperator extends ContainerOperator
Inner Class :public class QueryBuilderGraphFrameChooser implements ComponentChooser
Inner Class :public class InputTableOperator extends JTableOperator
Inner Class :public static class QueryBuilderInputTableChooser implements ComponentChooser
Inner Class :public static class QueryBuilderChooser implements ComponentChooser

Field Summary
final static  StringADD_QUERY_CRITERIA
    
final public static  StringASCENDING
    
final public static  StringCANCEL
    
final public static  StringCRITERIA
    
final public static  StringDESCENDING
    
final public static  StringDIALOG_TITLE_ADD_TABLE
    
final public static  StringEQUALS
    
final public static  StringGREATER_THAN
    
final public static  StringGREATER_THAN_EQUALS
    
final public static  StringGROUP_BY
    
final public static  StringLESS_THAN
    
final public static  StringLESS_THAN_EQUALS
    
final public static  StringNOT_EQUALS
    
final public static  StringPOPUP_MENU_ITEM_ADD_TABLE
    
final static  StringPOPUP_MENU_ITEM_PARSE_QUERY
    
final public static  StringPOPUP_MENU_ITEM_REMOVE_FROM_QUERY
    
final static  StringPOPUP_MENU_ITEM_RUN_QUERY
    
final public static  StringSORT_ORDER
    
final public static  StringSORT_TYPE
    
 ComponentOperatordesktop
    
 JTextComponentOperatorquery
    

Constructor Summary
public  QueryBuilderOperator(ContainerOperator parent, String tabId)
     Creates new instance of this class.
public  QueryBuilderOperator(String tabId)
     Creates new instance of this class.
public  QueryBuilderOperator(ContainerOperator parent)
     Creates new instance of this class.
public  QueryBuilderOperator()
     Creates new instance of this class.

Method Summary
public  voidaddParamCriteria(String column)
     Adds a new parameter to a query criteria.
public  voidaddParamCriteria(int column)
     Adds a new parameter to a query criteria.
public  voidaddSimpleCriteria(String column, String value, String operatorValue)
     Adds query criteria to a column of a database table.
public  voidaddTable(String dbTableName)
     Adds a database table into a query.
public  voidchangeQuery(String substring, String newSubstring)
     Changes text of a query.
public  voidclose()
     Closes a window of Query Builder.
public static  StringgetBundleString(String p_text)
     Finds in a bundle file and returns an actual text of control component.
Parameters:
  p_text - string-key corresponding to required control component.
public  JComponentOperatorgetGraphComponent()
    
public  QueryBuilderPaneOperatorgetGraphFrame()
    
public  JScrollPaneOperatorgetGraphScrollPane()
    
public  InputTableOperatorgetInputTable()
    
public  JTextComponentOperatorgetQueryTextComponent()
     Initializes (if necessary) and returns an object JTextComponentOperator (query text).
public  JTableOperatorgetResultTable()
    
public  JTableOperatorgetStructureTableOfDBTableOnGraphPanel(String dbTableName)
    
public  TableFrameOperatorgetTableFrame(String tableName)
    
public  AddQueryCriteriaOperatorinvokeAddCriteria(String column)
     Invokes a dialog "Add query criteria".
public  AddQueryCriteriaOperatorinvokeAddCriteria(int column)
     Invokes a dialog "Add query criteria".
public  booleanisDBTableOpenedOnGraphPanel(String dbTableName)
    
public  voidparseQuery()
     Parses a query.
public  voidpushPopup(String menuText)
     Clicks an item of a popup menu.
public  voidremoveTable(String dbTableName)
     Removes a database table from a query.
public  voidretypeQuery(String newQuery)
     Updates text of a query.
public  JTableOperatorrunQuery()
     Performs a query.
public  voidselectJoin(String table1, String table2)
     Selects "graphical join" of database tables (an arrow between 2 tables) on graphical diagram.

Field Detail
ADD_QUERY_CRITERIA
final static String ADD_QUERY_CRITERIA(Code)



ASCENDING
final public static String ASCENDING(Code)



CANCEL
final public static String CANCEL(Code)



CRITERIA
final public static String CRITERIA(Code)



DESCENDING
final public static String DESCENDING(Code)



DIALOG_TITLE_ADD_TABLE
final public static String DIALOG_TITLE_ADD_TABLE(Code)



EQUALS
final public static String EQUALS(Code)



GREATER_THAN
final public static String GREATER_THAN(Code)



GREATER_THAN_EQUALS
final public static String GREATER_THAN_EQUALS(Code)



GROUP_BY
final public static String GROUP_BY(Code)



LESS_THAN
final public static String LESS_THAN(Code)



LESS_THAN_EQUALS
final public static String LESS_THAN_EQUALS(Code)



NOT_EQUALS
final public static String NOT_EQUALS(Code)



POPUP_MENU_ITEM_ADD_TABLE
final public static String POPUP_MENU_ITEM_ADD_TABLE(Code)



POPUP_MENU_ITEM_PARSE_QUERY
final static String POPUP_MENU_ITEM_PARSE_QUERY(Code)



POPUP_MENU_ITEM_REMOVE_FROM_QUERY
final public static String POPUP_MENU_ITEM_REMOVE_FROM_QUERY(Code)



POPUP_MENU_ITEM_RUN_QUERY
final static String POPUP_MENU_ITEM_RUN_QUERY(Code)



SORT_ORDER
final public static String SORT_ORDER(Code)



SORT_TYPE
final public static String SORT_TYPE(Code)



desktop
ComponentOperator desktop(Code)



query
JTextComponentOperator query(Code)




Constructor Detail
QueryBuilderOperator
public QueryBuilderOperator(ContainerOperator parent, String tabId)(Code)
Creates new instance of this class.
Parameters:
  parent - an object ContainerOperator related to container, which includes created Query Builder
Parameters:
  tabId - a name of required tab



QueryBuilderOperator
public QueryBuilderOperator(String tabId)(Code)
Creates new instance of this class.
Parameters:
  tabId - a name of required tab



QueryBuilderOperator
public QueryBuilderOperator(ContainerOperator parent)(Code)
Creates new instance of this class.
Parameters:
  parent - an object ContainerOperator related to container, which includes created Query Builder



QueryBuilderOperator
public QueryBuilderOperator()(Code)
Creates new instance of this class.




Method Detail
addParamCriteria
public void addParamCriteria(String column)(Code)
Adds a new parameter to a query criteria.
Parameters:
  column - a name of a required column



addParamCriteria
public void addParamCriteria(int column)(Code)
Adds a new parameter to a query criteria.
Parameters:
  column - a number of a required column



addSimpleCriteria
public void addSimpleCriteria(String column, String value, String operatorValue)(Code)
Adds query criteria to a column of a database table.
Parameters:
  column - a name of a required column
Parameters:
  value - text of criteria value
Parameters:
  operatorValue - string with a comparison operator or a statement,which is used in criteria (for example, "=")



addTable
public void addTable(String dbTableName)(Code)
Adds a database table into a query.
Parameters:
  dbTableName - name of a database table



changeQuery
public void changeQuery(String substring, String newSubstring)(Code)
Changes text of a query.
Parameters:
  substring - a part of query text, which should be changed
Parameters:
  newSubstring - new text, which will replace a part of query text



close
public void close()(Code)
Closes a window of Query Builder.



getBundleString
public static String getBundleString(String p_text)(Code)
Finds in a bundle file and returns an actual text of control component.
Parameters:
  p_text - string-key corresponding to required control component. actual text of control component



getGraphComponent
public JComponentOperator getGraphComponent()(Code)
Returns JComponentOperator, which wraps component, presenting Graph Panel of Query Editor



getGraphFrame
public QueryBuilderPaneOperator getGraphFrame()(Code)
TODO: Fix it Returns an object QueryBuilderGraphFrameOperator QueryBuilderGraphFrameOperator



getGraphScrollPane
public JScrollPaneOperator getGraphScrollPane()(Code)
Returns JScrollPaneOperator, which wraps a scroll pane of Graph Panel of Query Editor



getInputTable
public InputTableOperator getInputTable()(Code)
Returns an object InputTableOperator InputTableOperator



getQueryTextComponent
public JTextComponentOperator getQueryTextComponent()(Code)
Initializes (if necessary) and returns an object JTextComponentOperator (query text). JTextComponentOperator



getResultTable
public JTableOperator getResultTable()(Code)
Returns an object JTableOperator (result table of a query) JTableOperator



getStructureTableOfDBTableOnGraphPanel
public JTableOperator getStructureTableOfDBTableOnGraphPanel(String dbTableName)(Code)



getTableFrame
public TableFrameOperator getTableFrame(String tableName)(Code)
Returns an object TableFrameOperator Represent Operator for Table with given name in Graph Frame of the QueryBuilder
Parameters:
  tableName - TableFrameOperator



invokeAddCriteria
public AddQueryCriteriaOperator invokeAddCriteria(String column)(Code)
Invokes a dialog "Add query criteria".
Parameters:
  column - a name of a required column an object AddQueryCriteriaOperator



invokeAddCriteria
public AddQueryCriteriaOperator invokeAddCriteria(int column)(Code)
Invokes a dialog "Add query criteria".
Parameters:
  column - a number of a required column an object AddQueryCriteriaOperator



isDBTableOpenedOnGraphPanel
public boolean isDBTableOpenedOnGraphPanel(String dbTableName)(Code)



parseQuery
public void parseQuery()(Code)
Parses a query.



pushPopup
public void pushPopup(String menuText)(Code)
Clicks an item of a popup menu.
Parameters:
  menuText - a menu item



removeTable
public void removeTable(String dbTableName)(Code)
Removes a database table from a query.
Parameters:
  dbTableName - name of a database table



retypeQuery
public void retypeQuery(String newQuery)(Code)
Updates text of a query.
Parameters:
  newQuery - text of query



runQuery
public JTableOperator runQuery()(Code)
Performs a query. object JTableOperator



selectJoin
public void selectJoin(String table1, String table2)(Code)
Selects "graphical join" of database tables (an arrow between 2 tables) on graphical diagram.
Parameters:
  table1 - the 1st database table
Parameters:
  table2 - the 2nd database table



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.