Java Doc for GroupingStore.java in  » Ajax » gwtext-2.01 » com » gwtext » client » data » 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 » Ajax » gwtext 2.01 » com.gwtext.client.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.gwtext.client.data.Store
   com.gwtext.client.data.GroupingStore

GroupingStore
public class GroupingStore extends Store (Code)
A specialized store implementation that provides for grouping records by one of the available fields.



Constructor Summary
public  GroupingStore()
     Construct a new GroupingStore.
public  GroupingStore(RecordDef recordDef)
     Create a Store using the specified RecordDef .
public  GroupingStore(Reader reader)
     Create a Store using the specified Reader .
public  GroupingStore(DataProxy dataProxy, Reader reader)
     Create a Store using the specified com.gwtext.client.data.DataProxy and Reader .
public  GroupingStore(DataProxy dataProxy, Reader reader, boolean remoteSort)
     Create a Store using the specified com.gwtext.client.data.DataProxy and Reader .
public  GroupingStore(DataProxy dataProxy, Reader reader, UrlParam[] baseParams, SortState initialSortState, boolean remoteSort)
     Create a Store using the specified configuration.
Parameters:
  dataProxy - the data proxy
Parameters:
  reader - the reader
Parameters:
  baseParams - base params which are to be sent as parameters on any HTTP request.

Method Summary
native public  voidclearGrouping()
     Clears any existing grouping and refreshes the data using the default sort.
native  JavaScriptObjectcreate(JavaScriptObject config)
    
native public  voidgroupBy(String field)
     Groups the data by the specified field.
native public  voidgroupBy(String field, boolean forceRegroup)
     Groups the data by the specified field.
public  voidsetGroupField(String groupField)
     The field name by which to sort the store's data (defaults to '').
public  voidsetGroupOnSort(boolean groupOnSort)
     True to sort the data on the grouping field when a grouping operation occurs, false to sort based on the existing sort info (defaults to false).
public  voidsetRemoteGroup(boolean remoteGroup)
     True if the grouping should apply on the server side, false if it is local only (defaults to false). If the grouping is local, it can be applied immediately to the data.


Constructor Detail
GroupingStore
public GroupingStore()(Code)
Construct a new GroupingStore.



GroupingStore
public GroupingStore(RecordDef recordDef)(Code)
Create a Store using the specified RecordDef . Data can be added to the Store using GroupingStore.add(Record)
Parameters:
  recordDef - the record def



GroupingStore
public GroupingStore(Reader reader)(Code)
Create a Store using the specified Reader .
Parameters:
  reader - the reader



GroupingStore
public GroupingStore(DataProxy dataProxy, Reader reader)(Code)
Create a Store using the specified com.gwtext.client.data.DataProxy and Reader .
Parameters:
  dataProxy - the data proxy
Parameters:
  reader - the reader



GroupingStore
public GroupingStore(DataProxy dataProxy, Reader reader, boolean remoteSort)(Code)
Create a Store using the specified com.gwtext.client.data.DataProxy and Reader .
Parameters:
  dataProxy - the data proxy
Parameters:
  reader - the reader
Parameters:
  remoteSort - true to enable remote sort of the data



GroupingStore
public GroupingStore(DataProxy dataProxy, Reader reader, UrlParam[] baseParams, SortState initialSortState, boolean remoteSort)(Code)
Create a Store using the specified configuration.
Parameters:
  dataProxy - the data proxy
Parameters:
  reader - the reader
Parameters:
  baseParams - base params which are to be sent as parameters on any HTTP request. Used only for Http based proxies.
Parameters:
  initialSortState - the initial sort field name and direction
Parameters:
  remoteSort - true to enable remote sort




Method Detail
clearGrouping
native public void clearGrouping()(Code)
Clears any existing grouping and refreshes the data using the default sort.



create
native JavaScriptObject create(JavaScriptObject config)(Code)



groupBy
native public void groupBy(String field)(Code)
Groups the data by the specified field.
Parameters:
  field - The field name by which to sort the store's data



groupBy
native public void groupBy(String field, boolean forceRegroup)(Code)
Groups the data by the specified field.
Parameters:
  field - The field name by which to sort the store's data
Parameters:
  forceRegroup - true to force the group to be refreshed even if the field passed in is the same as the currentgrouping field, false to skip grouping on the same field (defaults to false)



setGroupField
public void setGroupField(String groupField)(Code)
The field name by which to sort the store's data (defaults to '').
Parameters:
  groupField - the group field



setGroupOnSort
public void setGroupOnSort(boolean groupOnSort)(Code)
True to sort the data on the grouping field when a grouping operation occurs, false to sort based on the existing sort info (defaults to false).
Parameters:
  groupOnSort - true to group on sort



setRemoteGroup
public void setRemoteGroup(boolean remoteGroup)(Code)
True if the grouping should apply on the server side, false if it is local only (defaults to false). If the grouping is local, it can be applied immediately to the data. If it is remote, then it will simply act as a helper, automatically sending the grouping field name as the 'groupBy' param with each XHR call.
Parameters:
  remoteGroup - true if the grouping should apply on the server side



Fields inherited from com.gwtext.client.data.Store
protected JavaScriptObject configJS(Code)(Java Doc)

Methods inherited from com.gwtext.client.data.Store
native public void add(Record record)(Code)(Java Doc)
public void add(Record[] records)(Code)(Java Doc)
native public void addSorted(Record record)(Code)(Java Doc)
native public void addStoreListener(StoreListener listener)(Code)(Java Doc)
native public void clearFilter()(Code)(Java Doc)
native public void clearFilter(boolean suppressEvent)(Code)(Java Doc)
native public void commitChanges()(Code)(Java Doc)
native JavaScriptObject create(JavaScriptObject config)(Code)(Java Doc)
native public void each(StoreTraversalCallback cb)(Code)(Java Doc)
native public void filter(String field, RegExp regexp)(Code)(Java Doc)
native public void filter(String field, String value)(Code)(Java Doc)
native public void filter(String field, String value, boolean anyMatch)(Code)(Java Doc)
native public void filterBy(StoreTraversalCallback cb)(Code)(Java Doc)
native public Record getAt(int index)(Code)(Java Doc)
public UrlParam[] getBaseParams()(Code)(Java Doc)
native public Record getById(String id)(Code)(Java Doc)
native public int getCount()(Code)(Java Doc)
public JavaScriptObject getJsObj()(Code)(Java Doc)
public Record[] getModifiedRecords()(Code)(Java Doc)
public Record[] getRange(int startIndex, int endIndex)(Code)(Java Doc)
public Record getRecordAt(int index)(Code)(Java Doc)
public Record[] getRecords()(Code)(Java Doc)
public SortState getSortState()(Code)(Java Doc)
native public int getTotalCount()(Code)(Java Doc)
native public int indexOf(Record record)(Code)(Java Doc)
native public int indexOfId(String id)(Code)(Java Doc)
native public void insert(int index, Record record)(Code)(Java Doc)
public void insert(int index, Record[] records)(Code)(Java Doc)
native public void load()(Code)(Java Doc)
native public void load(int start, int limit)(Code)(Java Doc)
public void load(UrlParam[] params)(Code)(Java Doc)
public void load(UrlParam[] params, boolean add)(Code)(Java Doc)
native public void loadJsonData(String jsonString, boolean append)(Code)(Java Doc)
native public void loadXmlData(String xmlString, boolean append)(Code)(Java Doc)
native public void loadXmlDataFromUrl(String url, boolean append)(Code)(Java Doc)
public Record[] query(String field, String value)(Code)(Java Doc)
public Record[] query(String field, String value, boolean anyMatch)(Code)(Java Doc)
public Record[] query(String field, RegExp regexp)(Code)(Java Doc)
public Record[] queryBy(StoreQueryFunction queryFunction)(Code)(Java Doc)
native public void rejectChanges()(Code)(Java Doc)
native public void reload()(Code)(Java Doc)
public void reload(UrlParam[] params)(Code)(Java Doc)
public void reload(UrlParam[] params, boolean add)(Code)(Java Doc)
native public void remove(Record record)(Code)(Java Doc)
native public void removeAll()(Code)(Java Doc)
public void setAutoLoad(boolean autoLoad)(Code)(Java Doc)
public void setBaseParams(UrlParam[] baseParams)(Code)(Java Doc)
public void setDataProxy(DataProxy proxy)(Code)(Java Doc)
public void setDefaultSort(String field, SortDir sortDir)(Code)(Java Doc)
native public void setDefaultSort(String field, String sortDir)(Code)(Java Doc)
public void setInitialSortState(SortState initialSortState)(Code)(Java Doc)
public void setPruneModifiedRecords(boolean pruneModifiedRecords)(Code)(Java Doc)
public void setReader(Reader reader)(Code)(Java Doc)
public void setRecordDef(RecordDef recordDef)(Code)(Java Doc)
public void setRemoteSort(boolean remoteSort)(Code)(Java Doc)
public void setSortInfo(SortState sortInfo)(Code)(Java Doc)
public void setStoreId(String storeId)(Code)(Java Doc)
public void setUrl(String url)(Code)(Java Doc)
native public void sort(String field)(Code)(Java Doc)
public void sort(String field, SortDir direction)(Code)(Java Doc)
native public void sort(String field, String direction)(Code)(Java Doc)
native public float sum(String field)(Code)(Java Doc)
native public float sum(String field, int startIndex, int endIndex)(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.