Java Doc for DataGridConfig.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » netui » databinding » datagrid » api » 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 » Library » Apache beehive 1.0.2 src » org.apache.beehive.netui.databinding.datagrid.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.beehive.netui.databinding.datagrid.api.DataGridConfig

All known Subclasses:   org.apache.beehive.netui.databinding.datagrid.runtime.config.DefaultDataGridConfig,
DataGridConfig
abstract public class DataGridConfig implements java.io.Serializable(Code)

Abstract class used by the data grid to create model objects used for state management and rendering. This abstraction exists in order to allow the data grid's implementation to be configurable. Various data grid implementation classes are exposed here including sorting, filtering, and paging. In addition, classes such as the PagerRenderer and StyleModel are created by subclasses in order to provide a data grid specific implementation of pager UI or style support.

By default, DataGridConfig implementations are not thread safe, but custom implementations are free to store instance state as long as the DataGridConfig object lifetimes are managed in user code.

A specific DataGridConfig object can be created and passed to a data grid via the data grid's org.apache.beehive.netui.tags.databinding.datagrid.DataGrid.setDataGridConfig(DataGridConfig) method.





Method Summary
abstract public  DataGridStatecreateDataGridState()
    

Create a DataGridState instance that will be used to store the state for a data grid.

abstract public  FiltercreateFilter()
    

Create a concrete org.apache.beehive.netui.databinding.datagrid.api.filter.Filter implementation for a data grid.

abstract public  FilterModelcreateFilterModel(List filters)
    

Create a FilterModel instance used to store the Filter state for a data grid.

abstract public  PagerModelcreatePagerModel()
    

Create a PagerModel instance used to store the current paging state for a data grid.

abstract public  SortcreateSort()
    

Create a concrete Sort implementation for a data grid.

abstract public  SortModelcreateSortModel(List sorts)
    

Create a SortModel instance used to store the Sort state for a data grid.

abstract public  DataGridStateCodeccreateStateCodec(ServletRequest request, String gridName)
    

Create a DataGridStateCodec instance used to obtain services for handling data grid state.

abstract public  PagerRenderergetDefaultPagerRenderer()
    

Create a concrete PagerRenderer implementation that will be used to render the pager in the absence of an alternate pager renderer.

abstract public  DataGridResourceProvidergetDefaultResourceProvider()
    

Create the default DataGridResourceProvider .

abstract public  DataGridResourceProvidergetResourceProvider(String resourceBundle)
    

Create a DataGridConfig-specific implementation of a DataGridResourceProvider .

abstract public  StyleModelgetStyleModel(String name, String classPrefix)
    

Create a StyleModel used by a data grid to render styles onto various HTML markup elements generated by a data grid.


Parameters:
  name - the name of a style type to support.



Method Detail
createDataGridState
abstract public DataGridState createDataGridState()(Code)

Create a DataGridState instance that will be used to store the state for a data grid. This method will be called only when a DataGridState object needs to be manufactured by a data grid tag.

the DataGridState object for a data grid.



createFilter
abstract public Filter createFilter()(Code)

Create a concrete org.apache.beehive.netui.databinding.datagrid.api.filter.Filter implementation for a data grid. When the filter state of a data grid is created, this org.apache.beehive.netui.databinding.datagrid.api.filter.Filter instance will contain a single filter.

a org.apache.beehive.netui.databinding.datagrid.api.filter.Filter instance



createFilterModel
abstract public FilterModel createFilterModel(List filters)(Code)

Create a FilterModel instance used to store the Filter state for a data grid.


Parameters:
  filters - the current List of filters for a data grid a FilterModel



createPagerModel
abstract public PagerModel createPagerModel()(Code)

Create a PagerModel instance used to store the current paging state for a data grid.

a PagerModel



createSort
abstract public Sort createSort()(Code)

Create a concrete Sort implementation for a data grid. When the sort state of a data grid is created, this Sort instance will contain a single sort.

a Sort instance



createSortModel
abstract public SortModel createSortModel(List sorts)(Code)

Create a SortModel instance used to store the Sort state for a data grid.


Parameters:
  sorts - the current List of sorts for a data grid the SortModel



createStateCodec
abstract public DataGridStateCodec createStateCodec(ServletRequest request, String gridName)(Code)

Create a DataGridStateCodec instance used to obtain services for handling data grid state.


Parameters:
  request - the current ServletRequest
Parameters:
  gridName - the name of a data grid whose DataGridStateCodec to obtain a DataGridStateCodec



getDefaultPagerRenderer
abstract public PagerRenderer getDefaultPagerRenderer()(Code)

Create a concrete PagerRenderer implementation that will be used to render the pager in the absence of an alternate pager renderer.

the default PagerRenderer used to render a paging user interface



getDefaultResourceProvider
abstract public DataGridResourceProvider getDefaultResourceProvider()(Code)

Create the default DataGridResourceProvider . A resource provider is an implementation of the DataGridResourceProvider which is used during data grid rendering to obtain strings for messages, paths, etc. The default resource provider simply exposes the default data grid messages stored in the properties file located at:

 org.apache.beehive.netui.databinding.datagrid.runtime.util.data-grid-default.properties
 

a DataGridResourceProvider



getResourceProvider
abstract public DataGridResourceProvider getResourceProvider(String resourceBundle)(Code)

Create a DataGridConfig-specific implementation of a DataGridResourceProvider . The DataGridConfig instance should use the provided resource bundle path to create a DataGridResourceProvider which will expose those messages into the data grid for rendering.


Parameters:
  resourceBundle - the resource bundle to use for grid messages a DataGridResourceProvider



getStyleModel
abstract public StyleModel getStyleModel(String name, String classPrefix)(Code)

Create a StyleModel used by a data grid to render styles onto various HTML markup elements generated by a data grid.


Parameters:
  name - the name of a style type to support. This name can vary by DataGridConfig implementationsubclasses may use this value to configure the type of StyleModel returned to the caller.
Parameters:
  classPrefix - an optional prefix to use when generating style class names the StyleModel



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.