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


com.gwtext.client.widgets.grid.BaseColumnConfig
   com.gwtext.client.widgets.grid.ColumnConfig

ColumnConfig
public class ColumnConfig extends BaseColumnConfig (Code)
The Grid Column configuration.
See Also:   com.gwtext.client.widgets.grid.ColumnModel



Constructor Summary
public  ColumnConfig()
     Create a new ColumnConfig.
public  ColumnConfig(String header, String dataIndex, int width)
     Create a new ColumnConfig.
public  ColumnConfig(String header, String dataIndex, int width, boolean sortable)
     Create a new ColumnConfig.
public  ColumnConfig(String header, String dataIndex, int width, boolean sortable, Renderer renderer)
     Create a new ColumnConfig.
public  ColumnConfig(String header, String dataIndex, int width, boolean sortable, Renderer renderer, String id)
     Create a new ColumnConfig.

Method Summary
public  StringgetCss()
    
public  StringgetDataIndex()
    
public  booleangetFixed()
    
public  StringgetHeader()
    
public  booleangetHidden()
    
public  StringgetId()
    
public  booleangetResizable()
    
public  booleangetSortable()
    
public  StringgetTextAlign()
    
public  StringgetTooltip()
    
public  intgetWidth()
    
public  voidsetAlign(TextAlign align)
     Set the CSS text-align property of the column.
public  voidsetCss(String css)
    
public  voidsetDataIndex(String dataIndex)
     The name of the field in the grid's com.gwtext.client.data.Store 's com.gwtext.client.data.Record definition from which to draw the column's value.
public  voidsetEditor(GridEditor editor)
     Sets the editor for a column.
public  voidsetFixed(boolean fixed)
     True to make the column width fixed.
public  voidsetHeader(String header)
     The header text to display in the Grid view.
public  voidsetHidden(boolean hidden)
     True to hide the column.
public  voidsetId(String id)
     Assigning id to ColumnConfig results in the column dom element having that ID. This is useful to apply custom css to the entire column.
native public  voidsetRenderer(Renderer renderer)
     Sets the rendering (formatting) function for a column.
public  voidsetRenderer(String renderer)
    
public  voidsetResizable(boolean resizable)
     False to disable column resizing.
public  voidsetSortable(boolean sortable)
     True if sorting is to be allowed on this column.
public  voidsetTooltip(String tooltip)
     A text string to use as the column header's tooltip.
public  voidsetWidth(int width)
     The initial width in pixels of the column.


Constructor Detail
ColumnConfig
public ColumnConfig()(Code)
Create a new ColumnConfig.



ColumnConfig
public ColumnConfig(String header, String dataIndex, int width)(Code)
Create a new ColumnConfig.
Parameters:
  header - the column header
Parameters:
  dataIndex - the data index (the field name pf the Store associated with the Grid)
Parameters:
  width - the column width



ColumnConfig
public ColumnConfig(String header, String dataIndex, int width, boolean sortable)(Code)
Create a new ColumnConfig.
Parameters:
  header - the column header
Parameters:
  dataIndex - the data index (the field name pf the Store associated with the Grid)
Parameters:
  width - the column width
Parameters:
  sortable - true for sortable



ColumnConfig
public ColumnConfig(String header, String dataIndex, int width, boolean sortable, Renderer renderer)(Code)
Create a new ColumnConfig.
Parameters:
  header - the column header
Parameters:
  dataIndex - the data index (the field name pf the Store associated with the Grid)
Parameters:
  width - the column width
Parameters:
  sortable - true for sortable
Parameters:
  renderer - a renderer to allow custom formating of cells of this column



ColumnConfig
public ColumnConfig(String header, String dataIndex, int width, boolean sortable, Renderer renderer, String id)(Code)
Create a new ColumnConfig.
Parameters:
  header - the column header
Parameters:
  dataIndex - the data index (the field name pf the Store associated with the Grid)
Parameters:
  width - the column width
Parameters:
  sortable - true for sortable
Parameters:
  renderer - a renderer to allow custom formating of cells of this column
Parameters:
  id - the grid ID




Method Detail
getCss
public String getCss()(Code)



getDataIndex
public String getDataIndex()(Code)



getFixed
public boolean getFixed()(Code)



getHeader
public String getHeader()(Code)



getHidden
public boolean getHidden()(Code)



getId
public String getId()(Code)



getResizable
public boolean getResizable()(Code)



getSortable
public boolean getSortable()(Code)



getTextAlign
public String getTextAlign()(Code)



getTooltip
public String getTooltip()(Code)



getWidth
public int getWidth()(Code)



setAlign
public void setAlign(TextAlign align)(Code)
Set the CSS text-align property of the column. Defaults to undefined.
Parameters:
  align - the text-align position



setCss
public void setCss(String css)(Code)
Sets teh CSS class for the column,
Parameters:
  css - the CSS class



setDataIndex
public void setDataIndex(String dataIndex)(Code)
The name of the field in the grid's com.gwtext.client.data.Store 's com.gwtext.client.data.Record definition from which to draw the column's value. If not specified, the column's index is used as an index into the Record's data array.
Parameters:
  dataIndex - the data index



setEditor
public void setEditor(GridEditor editor)(Code)
Sets the editor for a column.
Parameters:
  editor - the column editor



setFixed
public void setFixed(boolean fixed)(Code)
True to make the column width fixed.
Parameters:
  fixed - true for fixed width



setHeader
public void setHeader(String header)(Code)
The header text to display in the Grid view. You can use arbitrary html for the header.
Parameters:
  header - the column header



setHidden
public void setHidden(boolean hidden)(Code)
True to hide the column. Defaults to false.
Parameters:
  hidden - true to hide column



setId
public void setId(String id)(Code)
Assigning id to ColumnConfig results in the column dom element having that ID. This is useful to apply custom css to the entire column. (e.g. .x-grid-col-topic b { color:#333 }) .
Parameters:
  id - the column ID



setRenderer
native public void setRenderer(Renderer renderer)(Code)
Sets the rendering (formatting) function for a column.
Parameters:
  renderer - the column renderer



setRenderer
public void setRenderer(String renderer)(Code)



setResizable
public void setResizable(boolean resizable)(Code)
False to disable column resizing. Defaults to true.
Parameters:
  resizable - false to disable column resizing



setSortable
public void setSortable(boolean sortable)(Code)
True if sorting is to be allowed on this column. Defaults to the value of com.gwtext.client.widgets.grid.ColumnModel.setDefaultSortable(boolean) . Whether local/remote sorting is used is specified in com.gwtext.client.data.Store.Store(com.gwtext.client.data.DataProxycom.gwtext.client.data.Readerboolean)
Parameters:
  sortable - false to disable sorting



setTooltip
public void setTooltip(String tooltip)(Code)
A text string to use as the column header's tooltip. If Quicktips are enabled, this value will be used as the text of the quick tip, otherwise it will be set as the header's HTML title attribute. Defaults to ''.
Parameters:
  tooltip - the tooltip



setWidth
public void setWidth(int width)(Code)
The initial width in pixels of the column.
Parameters:
  width - the column width




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