Java Doc for HeaderTableModel.java in  » Mail-Clients » columba-1.4 » org » columba » mail » gui » table » model » 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 » Mail Clients » columba 1.4 » org.columba.mail.gui.table.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.columba.mail.gui.table.model.HeaderTableModel

HeaderTableModel
public class HeaderTableModel extends AbstractTreeTableModel implements IHeaderTableModel(Code)


Field Summary
protected  IHeaderListheaderList
    
protected  Mapmap
     We cache all MessageNode here.
protected  MessageNoderoot
    

Constructor Summary
public  HeaderTableModel()
    
public  HeaderTableModel(String[] c)
    

Method Summary
public  voidaddColumn(String c)
     Add column to table model.
public  voidclear()
    
public  voidclearColumns()
     Clear column list.
public  voidcolumnAdded(TableColumnModelEvent e)
    
public  voidcolumnMarginChanged(ChangeEvent e)
    
public  voidcolumnMoved(TableColumnModelEvent e)
    
public  voidcolumnRemoved(TableColumnModelEvent e)
    
public  voidcolumnSelectionChanged(ListSelectionEvent e)
    
public  voidenableThreadedView(boolean b)
    
public  ClassgetColumnClass(int column)
     Get the class which is responsible for renderering this column.
public  intgetColumnCount()
    
public  StringgetColumnName(int column)
    
public  intgetColumnNumber(String name)
    
public  IHeaderListgetHeaderList()
    
public  MessageNodegetMessageNode(Object uid)
    
public  MessageNodegetMessageNodeAtRow(int index)
    
public  MessageNodegetRootNode()
    
public  intgetRow(MessageNode node)
     Get row for node.
public  intgetRowCount()
    
public  DefaultTreeModelgetTreeModel()
    
public  ObjectgetValueAt(int row, int col)
    
public  booleanisCellEditable(int row, int col)
    
public  voidmodify(Object[] uids)
    
public  voidregisterVisitor(ModelVisitor visitor)
    
public  voidremove(Object[] uids)
    
public  voidreset()
    
public  voidset(IHeaderList headerList)
    
public  voidsetColumns(String[] c)
    
public  voidupdate()
    

Field Detail
headerList
protected IHeaderList headerList(Code)



map
protected Map map(Code)
We cache all MessageNode here. This is much faster than searching through the complete HeaderList all the time.



root
protected MessageNode root(Code)




Constructor Detail
HeaderTableModel
public HeaderTableModel()(Code)



HeaderTableModel
public HeaderTableModel(String[] c)(Code)




Method Detail
addColumn
public void addColumn(String c)(Code)
Add column to table model.
Parameters:
  c - new column ID



clear
public void clear()(Code)



clearColumns
public void clearColumns()(Code)
Clear column list.



columnAdded
public void columnAdded(TableColumnModelEvent e)(Code)



columnMarginChanged
public void columnMarginChanged(ChangeEvent e)(Code)



columnMoved
public void columnMoved(TableColumnModelEvent e)(Code)



columnRemoved
public void columnRemoved(TableColumnModelEvent e)(Code)



columnSelectionChanged
public void columnSelectionChanged(ListSelectionEvent e)(Code)



enableThreadedView
public void enableThreadedView(boolean b)(Code)
getter/setter methods ***************************



getColumnClass
public Class getColumnClass(int column)(Code)
Get the class which is responsible for renderering this column.

If the threaded-view is enabled, return a custom tree cell renderer.


See Also:   org.columba.mail.gui.table.TableView.enableThreadedView




getColumnCount
public int getColumnCount()(Code)
AbstractTableModel implementation *******************



getColumnName
public String getColumnName(int column)(Code)



getColumnNumber
public int getColumnNumber(String name)(Code)



getHeaderList
public IHeaderList getHeaderList()(Code)



getMessageNode
public MessageNode getMessageNode(Object uid)(Code)



getMessageNodeAtRow
public MessageNode getMessageNodeAtRow(int index)(Code)

See Also:   org.columba.mail.gui.table.IHeaderTableModel.getMessageNodeAtRow(int)



getRootNode
public MessageNode getRootNode()(Code)



getRow
public int getRow(MessageNode node)(Code)
Get row for node.
Parameters:
  node - selected message node current row of node



getRowCount
public int getRowCount()(Code)



getTreeModel
public DefaultTreeModel getTreeModel()(Code)



getValueAt
public Object getValueAt(int row, int col)(Code)



isCellEditable
public boolean isCellEditable(int row, int col)(Code)



modify
public void modify(Object[] uids)(Code)
implements TableModelModifier



registerVisitor
public void registerVisitor(ModelVisitor visitor)(Code)



remove
public void remove(Object[] uids)(Code)



reset
public void reset()(Code)



set
public void set(IHeaderList headerList)(Code)



setColumns
public void setColumns(String[] c)(Code)
Set column IDs
Parameters:
  c - array of column IDs



update
public void update()(Code)



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