Java Doc for TableColumn.java in  » Ajax » NextApp-Echo2 » nextapp » echo2 » app » table » 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 » NextApp Echo2 » nextapp.echo2.app.table 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   nextapp.echo2.app.table.TableColumn

TableColumn
public class TableColumn implements Serializable(Code)
A description of a single column of a Table.


Field Summary
final public static  StringCELL_RENDERER_CHANGED_PROPERTY
    
final public static  StringHEADER_RENDERER_CHANGED_PROPERTY
    
final public static  StringHEADER_VALUE_CHANGED_PROPERTY
    
final public static  StringIDENTIFIER_CHANGED_PROPERTY
    
final public static  StringMODEL_INDEX_CHANGED_PROPERTY
    
final public static  StringWIDTH_CHANGED_PROPERTY
    

Constructor Summary
public  TableColumn(int modelIndex)
     Creates a TableColumn with the specified model index, undefined width, and undefined cell and header renderers.
public  TableColumn(int modelIndex, Extent width)
     Creates a TableColumn with the specified model index and width, and undefined cell and header renderers.
public  TableColumn(int modelIndex, Extent width, TableCellRenderer cellRenderer, TableCellRenderer headerRenderer)
     Creates a TableColumn with the specified model index, width, and cell and header renderers.

Method Summary
public  voidaddPropertyChangeListener(PropertyChangeListener l)
     Adds a PropertyChangeListener to be notified of property changes to the column.
public  TableCellRenderergetCellRenderer()
     Retrieves the TableCellRenderer used to render values contained in the column.
public  TableCellRenderergetHeaderRenderer()
     Returns the TableCellRenderer used to render the header cell of this column.
public  ObjectgetHeaderValue()
     Returns the header value for this column.
public  ObjectgetIdentifier()
     Returns the identifier for this column.
public  intgetModelIndex()
     Returns the column index of the model which this TableColumn represents.
public  ExtentgetWidth()
     Returns the width of the column.
public  voidremovePropertyChangeListener(PropertyChangeListener l)
     Removes a PropertyChangeListener from being notified of property changes to the column.
public  voidsetCellRenderer(TableCellRenderer newValue)
     Sets the TableCellRenderer used to render values contained in the column.
public  voidsetHeaderRenderer(TableCellRenderer newValue)
     Sets the TableCellRenderer used to render the header cell of this column.
public  voidsetHeaderValue(Object newValue)
     Sets the header value for this column.
public  voidsetIdentifier(Object newValue)
     Sets the identifier for this column.
public  voidsetModelIndex(int newValue)
     Sets the index of the column in the TableModel which this TableColumn object represents.
public  voidsetWidth(Extent newValue)
     Sets the width of the column.

Field Detail
CELL_RENDERER_CHANGED_PROPERTY
final public static String CELL_RENDERER_CHANGED_PROPERTY(Code)



HEADER_RENDERER_CHANGED_PROPERTY
final public static String HEADER_RENDERER_CHANGED_PROPERTY(Code)



HEADER_VALUE_CHANGED_PROPERTY
final public static String HEADER_VALUE_CHANGED_PROPERTY(Code)



IDENTIFIER_CHANGED_PROPERTY
final public static String IDENTIFIER_CHANGED_PROPERTY(Code)



MODEL_INDEX_CHANGED_PROPERTY
final public static String MODEL_INDEX_CHANGED_PROPERTY(Code)



WIDTH_CHANGED_PROPERTY
final public static String WIDTH_CHANGED_PROPERTY(Code)




Constructor Detail
TableColumn
public TableColumn(int modelIndex)(Code)
Creates a TableColumn with the specified model index, undefined width, and undefined cell and header renderers.
Parameters:
  modelIndex - the column index of model data visualized by this column



TableColumn
public TableColumn(int modelIndex, Extent width)(Code)
Creates a TableColumn with the specified model index and width, and undefined cell and header renderers.
Parameters:
  modelIndex - the column index of model data visualized by this column
Parameters:
  width - the column width



TableColumn
public TableColumn(int modelIndex, Extent width, TableCellRenderer cellRenderer, TableCellRenderer headerRenderer)(Code)
Creates a TableColumn with the specified model index, width, and cell and header renderers.
Parameters:
  modelIndex - the column index of model data visualized by this column
Parameters:
  width - the column width
Parameters:
  cellRenderer - the renderer to use for rendering model values
Parameters:
  headerRenderer - the renderer to use for rendering the header cell




Method Detail
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)(Code)
Adds a PropertyChangeListener to be notified of property changes to the column.
Parameters:
  l - the listener to add



getCellRenderer
public TableCellRenderer getCellRenderer()(Code)
Retrieves the TableCellRenderer used to render values contained in the column. The value of this property may be null, in which case the table should revert to using its default cell renderer. the cell renderer for this column



getHeaderRenderer
public TableCellRenderer getHeaderRenderer()(Code)
Returns the TableCellRenderer used to render the header cell of this column. The value of this property may be null, in which case the table should revert to using its default cell renderer. the header cell renderer for this column



getHeaderValue
public Object getHeaderValue()(Code)
Returns the header value for this column. The header value is the object that will be provided to the header renderer to produce a component that will be used as the table header for this column. the header value for this column



getIdentifier
public Object getIdentifier()(Code)
Returns the identifier for this column. Each table column may have an identifier. Identifiers are provided as a convenience to the application developer, and are neither used nor required by the Table component. the identifier for this column



getModelIndex
public int getModelIndex()(Code)
Returns the column index of the model which this TableColumn represents. This value is independent of the column's position within the column model, such that columns may be displayed in an arbitrary order. the index of the column in the model



getWidth
public Extent getWidth()(Code)
Returns the width of the column. This property supports Extents with fixed or percentile units. the width



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)(Code)
Removes a PropertyChangeListener from being notified of property changes to the column.
Parameters:
  l - the listener to remove



setCellRenderer
public void setCellRenderer(TableCellRenderer newValue)(Code)
Sets the TableCellRenderer used to render values contained in the column. The value of this property may be null, in which case the table should revert to using its default cell renderer.
Parameters:
  newValue - the new cell renderer



setHeaderRenderer
public void setHeaderRenderer(TableCellRenderer newValue)(Code)
Sets the TableCellRenderer used to render the header cell of this column. The value of this property may be null, in which case the table should revert to using its default cell renderer.
Parameters:
  newValue - the new header cell renderer



setHeaderValue
public void setHeaderValue(Object newValue)(Code)
Sets the header value for this column. The header value is the object that will be provided to the header renderer to produce a component that will be used as the table header for this column.
Parameters:
  newValue - the new header value



setIdentifier
public void setIdentifier(Object newValue)(Code)
Sets the identifier for this column. Each table column may have an identifier. Identifiers are provided as a convenience to the application developer, and are neither used nor required by the Table component.
Parameters:
  newValue - The new identifier for this column.



setModelIndex
public void setModelIndex(int newValue)(Code)
Sets the index of the column in the TableModel which this TableColumn object represents. This value is independent of the column's position within the column model, such that columns may be displayed in an arbitrary order.
Parameters:
  newValue - the index of the column in the model



setWidth
public void setWidth(Extent newValue)(Code)
Sets the width of the column. This property supports Extents with fixed or percentile units.
Parameters:
  newValue - the new width



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.