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


java.lang.Object
   org.columba.mail.gui.table.TableController

TableController
public class TableController implements ListSelectionListener,TableModelChangedListener,ITableController(Code)
Shows the message list. By default, this is the read/unread state if a message, Subject:, Date:, From: and Size headerfields.

Folder-specific configuration options are handled by FolderOptionsController and can be configured by the user in the AbstractMessageFolder Options Dialog.
author:
   fdietz


Inner Class :class TableHeaderMouseListener extends MouseAdapter

Field Summary
protected  IFrameMediatorframeController
    
protected  EventListenerListlistenerList
    
protected  ExtendablePopupMenumenu
    
protected  int[]previouslySelectedRows
    
protected  TableModelSortertableModelSorter
    
protected  TableModelThreadedViewtableModelThreadedView
    
protected  TableViewview
    

Constructor Summary
public  TableController(IFrameMediator frameController)
    

Method Summary
public  voidaddColumn(TableColumn column)
    
public  voidaddMessageListSelectionListener(IMessageListSelectionListener l)
    
public  voidclear()
     Show empty messagelist with no elements.
public  voidclearSelection()
    
public  voidcreatePopupMenu()
    
public  TableColumncreateTableColumn(String name, int size)
    
public  voidenableThreadedView(boolean enableThreadedMode, boolean updateModel)
    
protected  voidfireMessageListSelectionChangedEvent(List<String> messageIds)
    
public  TableColumnModelgetColumnModel()
    
public  IFrameMediatorgetFrameController()
     Returns the mailFrameController.
public  IHeaderTableModelgetHeaderTableModel()
    
public  ListSelectionModelgetListSelectionModel()
    
public  IMessageNodegetMessageNode(Object uid)
    
public  TreePathgetPathForRow(int row)
    
public  JPopupMenugetPopupMenu()
    
public  intgetRowCount()
    
public  IMessageNode[]getSelectedNodes()
    
public  int[]getSelectedRows()
    
public  StringgetSortingColumn()
    
public  booleangetSortingOrder()
    
public  ObservablegetSortingStateObservable()
    
public  TableModelSortergetTableModelSorter()
    
public  TableModelThreadedViewgetTableModelThreadedView()
    
public  TableViewgetView()
    
public  voidinitTooltips()
     Assigns a tooltip for each column

Tooltips for columns can be found in org.columba.mail.i18n.header.header.properties.

public  booleanisInterestedIn(IMailFolder folder)
    
public  booleanisThreadedViewEnabled()
    
public  voidmakeSelectedRowVisible()
    
public  voidremoveMessageListSelectionListener(IMessageListSelectionListener l)
    
public  voidresetColumnModel()
    
public  ObjectselectFirstRow()
    
public  ObjectselectLastRow()
    
public  voidselectRow(int row)
    
public  voidsetSelected(Object[] uids)
     Select messages with UIDs.
public  voidsetSortingColumn(String column)
    
public  voidsetSortingOrder(boolean order)
    
public  voidshowHeaderList(IMailbox folder, IHeaderList headerList)
     Show the headerlist of currently selected folder.
public  voidtableChanged(TableModelChangedEvent event)
     Method is called if folder data changed.
public  voidvalueChanged(ListSelectionEvent arg0)
    

Field Detail
frameController
protected IFrameMediator frameController(Code)
reference to mail framemediator



listenerList
protected EventListenerList listenerList(Code)



menu
protected ExtendablePopupMenu menu(Code)
table view context menu



previouslySelectedRows
protected int[] previouslySelectedRows(Code)
previously selected rows



tableModelSorter
protected TableModelSorter tableModelSorter(Code)
sorting model



tableModelThreadedView
protected TableModelThreadedView tableModelThreadedView(Code)
threaded-view model



view
protected TableView view(Code)
table view




Constructor Detail
TableController
public TableController(IFrameMediator frameController)(Code)
Constructor
Parameters:
  mailFrameController - mail framemediator




Method Detail
addColumn
public void addColumn(TableColumn column)(Code)

See Also:   org.columba.mail.gui.table.ITableController.addColumn(javax.swing.table.TableColumn)



addMessageListSelectionListener
public void addMessageListSelectionListener(IMessageListSelectionListener l)(Code)



clear
public void clear()(Code)
Show empty messagelist with no elements.



clearSelection
public void clearSelection()(Code)

See Also:   org.columba.mail.gui.table.ITableController.clearSelection



createPopupMenu
public void createPopupMenu()(Code)
create the PopupMenu



createTableColumn
public TableColumn createTableColumn(String name, int size)(Code)

See Also:   org.columba.mail.gui.table.ITableController.createColumn(java.lang.Stringint)



enableThreadedView
public void enableThreadedView(boolean enableThreadedMode, boolean updateModel)(Code)

See Also:   org.columba.mail.gui.table.ITableController.enableThreadedView(boolean)



fireMessageListSelectionChangedEvent
protected void fireMessageListSelectionChangedEvent(List<String> messageIds)(Code)



getColumnModel
public TableColumnModel getColumnModel()(Code)

See Also:   org.columba.mail.gui.table.ITableController.getColumnModel



getFrameController
public IFrameMediator getFrameController()(Code)
Returns the mailFrameController. MailFrameController



getHeaderTableModel
public IHeaderTableModel getHeaderTableModel()(Code)
Get table model table model



getListSelectionModel
public ListSelectionModel getListSelectionModel()(Code)



getMessageNode
public IMessageNode getMessageNode(Object uid)(Code)

See Also:   org.columba.mail.gui.table.ITableController.getMessagNode(java.lang.Object)



getPathForRow
public TreePath getPathForRow(int row)(Code)

See Also:   org.columba.mail.gui.table.ITableController.getPathForRow(int)



getPopupMenu
public JPopupMenu getPopupMenu()(Code)
Get popup menu popup menu



getRowCount
public int getRowCount()(Code)

See Also:   org.columba.mail.gui.table.ITableController.getRowCount



getSelectedNodes
public IMessageNode[] getSelectedNodes()(Code)

See Also:   org.columba.mail.gui.table.ITableController.getSelectedNodes



getSelectedRows
public int[] getSelectedRows()(Code)

See Also:   org.columba.mail.gui.table.ITableController.getSelectedRows



getSortingColumn
public String getSortingColumn()(Code)

See Also:   org.columba.mail.gui.table.ITableController.getSortingColumn



getSortingOrder
public boolean getSortingOrder()(Code)

See Also:   org.columba.mail.gui.table.ITableController.getSortingOrder



getSortingStateObservable
public Observable getSortingStateObservable()(Code)

See Also:   org.columba.mail.gui.table.ITableController.getSortingStateObservable



getTableModelSorter
public TableModelSorter getTableModelSorter()(Code)
return the table model sorter



getTableModelThreadedView
public TableModelThreadedView getTableModelThreadedView()(Code)
return the threaded view model



getView
public TableView getView()(Code)
Get view of table controller table view



initTooltips
public void initTooltips()(Code)
Assigns a tooltip for each column

Tooltips for columns can be found in org.columba.mail.i18n.header.header.properties.
See Also:   org.columba.mail.folderoptions.ColumnOptionsPlugin




isInterestedIn
public boolean isInterestedIn(IMailFolder folder)(Code)

See Also:   org.columba.mail.gui.table.model.TableModelChangedListener.isInterestedIn(IFolder)



isThreadedViewEnabled
public boolean isThreadedViewEnabled()(Code)

See Also:   org.columba.mail.gui.table.ITableController.isThreadedViewEnabled



makeSelectedRowVisible
public void makeSelectedRowVisible()(Code)

See Also:   org.columba.mail.gui.table.ITableController.makeSelectedRow



removeMessageListSelectionListener
public void removeMessageListSelectionListener(IMessageListSelectionListener l)(Code)



resetColumnModel
public void resetColumnModel()(Code)

See Also:   org.columba.mail.gui.table.ITableController.resetColumnModel



selectFirstRow
public Object selectFirstRow()(Code)

See Also:   org.columba.mail.gui.table.ITableController.selectFirstRow



selectLastRow
public Object selectLastRow()(Code)

See Also:   org.columba.mail.gui.table.ITableController.selectLastRow



selectRow
public void selectRow(int row)(Code)

See Also:   org.columba.mail.gui.table.ITableController.selectRow(int)



setSelected
public void setSelected(Object[] uids)(Code)
Select messages with UIDs.

Message UIDs are converted to MessageNode objects.
Parameters:
  uids - array of message UIDs




setSortingColumn
public void setSortingColumn(String column)(Code)

See Also:   org.columba.mail.gui.table.ITableController.setSortingColumn(java.lang.String)



setSortingOrder
public void setSortingOrder(boolean order)(Code)

See Also:   org.columba.mail.gui.table.ITableController.setSortingOrder(boolean)



showHeaderList
public void showHeaderList(IMailbox folder, IHeaderList headerList) throws Exception(Code)
Show the headerlist of currently selected folder.

Additionally, implements folderoptions plugin entrypoint.
See Also:   org.columba.mail.folder.folderoptions
See Also:   org.columba.mail.gui.frame.ViewHeaderListInterface.showHeaderList(org.columba.mail.folder.Folderorg.columba.mail.message.HeaderList)




tableChanged
public void tableChanged(TableModelChangedEvent event)(Code)
Method is called if folder data changed.

It is responsible for updating the correct underlying model.
Parameters:
  event - update event




valueChanged
public void valueChanged(ListSelectionEvent arg0)(Code)

See Also:   javax.swing.event.ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent)



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.