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


java.lang.Object
   org.columba.core.gui.frame.DefaultFrameController
      org.columba.mail.gui.composer.ComposerController

ComposerController
public class ComposerController extends DefaultFrameController implements CharsetOwnerInterface,ItemListener,Observer(Code)
controller for message composer dialog
author:
   fdietz

Inner Class :public class ComposerFocusTraversalPolicy extends FocusTraversalPolicy
Inner Class :class MyDocumentListener implements DocumentListener

Field Summary
 JPaneltoolbarPanel
    

Constructor Summary
public  ComposerController()
    
public  ComposerController(ComposerModel model, ViewItem viewItem)
    

Method Summary
public  voidaddCharsetListener(CharsetListener l)
    
public  booleancheckState()
     Check if data was entered correctly.
public  voidclose(IContainer container)
    
public  voidextendMenu(IContainer container)
    
public  voidextendToolBar(IContainer container)
    
protected  voidfireCharsetChanged(CharsetEvent e)
    
public  AccountControllergetAccountController()
    
public  AttachmentControllergetAttachmentController()
    
public  JSplitPanegetAttachmentSplitPane()
    
public  CharsetgetCharset()
    
public  JComponentgetComponent()
    
public  ComposerSpellCheckgetComposerSpellCheck()
    
public  JPanelgetContentPane()
    
public  AbstractEditorControllergetCurrentEditor()
    
public  JPanelgetEditorPanel()
     Returns a reference to the panel, that holds the editor view.
public  HeaderControllergetHeaderController()
    
public  HtmlEditorController2getHtmlEditorController()
    
public  ComposerModelgetModel()
    
public  PriorityControllergetPriorityController()
    
public  StringgetString(String sPath, String sName, String sID)
    
public  SubjectControllergetSubjectController()
    
public  TextEditorControllergetTextEditorController()
    
protected  voidinit()
    
protected  voidinitComponents()
    
public  voidinitFrame(IContainer container)
    
public  booleanisAccountInfoPanelVisible()
    
public  booleanisPromptOnDialogClosing()
    
public  voiditemStateChanged(ItemEvent e)
    
public  voidlayoutComponents()
    
public  voidlayoutEditorContainer()
     Used to update the panel, that holds the editor viewer.
public  voidremoveCharsetListener(CharsetListener l)
    
public  voidsetCharset(Charset charset)
    
public  voidsetComposerModel(ComposerModel model)
     Sets the composer model.
public  voidsetHtmlState(boolean enableHtml)
    
public  voidsetPromptOnDialogClosing(boolean promptOnDialogClosing)
    
public  voidshowAttachmentPanel()
     Show attachment panel

Asks the ComposerModel if message contains attachments.

public  voidupdate(Observable observable, Object obj)
    
public  voidupdateComponents(boolean b)
    

Field Detail
toolbarPanel
JPanel toolbarPanel(Code)




Constructor Detail
ComposerController
public ComposerController()(Code)



ComposerController
public ComposerController(ComposerModel model, ViewItem viewItem)(Code)




Method Detail
addCharsetListener
public void addCharsetListener(CharsetListener l)(Code)



checkState
public boolean checkState()(Code)
Check if data was entered correctly.

This includes currently a test for an empty subject and a valid recipient (to/cc/bcc) list. true, if data was entered correctly




close
public void close(IContainer container)(Code)

Parameters:
  container -
See Also:   org.columba.core.gui.frame.DefaultFrameController.close(org.columba.api.gui.frame.IContainer)



extendMenu
public void extendMenu(IContainer container)(Code)
container callbacks
Parameters:
  container -



extendToolBar
public void extendToolBar(IContainer container)(Code)



fireCharsetChanged
protected void fireCharsetChanged(CharsetEvent e)(Code)



getAccountController
public AccountController getAccountController()(Code)
AccountController



getAttachmentController
public AttachmentController getAttachmentController()(Code)
AttachmentController



getAttachmentSplitPane
public JSplitPane getAttachmentSplitPane()(Code)
Returns the attachmentSplitPane.



getCharset
public Charset getCharset()(Code)



getComponent
public JComponent getComponent()(Code)
panel
See Also:   org.columba.api.gui.frame.IContentPane.getComponent



getComposerSpellCheck
public ComposerSpellCheck getComposerSpellCheck()(Code)
ComposerSpellCheck



getContentPane
public JPanel getContentPane()(Code)



getCurrentEditor
public AbstractEditorController getCurrentEditor()(Code)
TextEditorController



getEditorPanel
public JPanel getEditorPanel()(Code)
Returns a reference to the panel, that holds the editor view. This is used by the ComposerController when adding a listener to that panel. editor panel reference



getHeaderController
public HeaderController getHeaderController()(Code)
HeaderViewer



getHtmlEditorController
public HtmlEditorController2 getHtmlEditorController()(Code)



getModel
public ComposerModel getModel()(Code)
Returns the composer model Composer model



getPriorityController
public PriorityController getPriorityController()(Code)
PriorityController



getString
public String getString(String sPath, String sName, String sID)(Code)

See Also:   org.columba.api.gui.frame.IFrameMediator.getString(java.lang.Stringjava.lang.Stringjava.lang.String)



getSubjectController
public SubjectController getSubjectController()(Code)
SubjectController



getTextEditorController
public TextEditorController getTextEditorController()(Code)



init
protected void init()(Code)

See Also:   org.columba.core.gui.FrameController.reset



initComponents
protected void initComponents()(Code)
init components



initFrame
public void initFrame(IContainer container)(Code)



isAccountInfoPanelVisible
public boolean isAccountInfoPanelVisible()(Code)



isPromptOnDialogClosing
public boolean isPromptOnDialogClosing()(Code)
Returns the promptOnDialogClosing.



itemStateChanged
public void itemStateChanged(ItemEvent e)(Code)



layoutComponents
public void layoutComponents()(Code)
Layout components



layoutEditorContainer
public void layoutEditorContainer()(Code)
Used to update the panel, that holds the editor viewer. This is necessary e.g. if the ComposerModel is changed to hold another message type (text / html), which the previous editor can not handle. If so a new editor controller is created, and thereby a new view.



removeCharsetListener
public void removeCharsetListener(CharsetListener l)(Code)



setCharset
public void setCharset(Charset charset)(Code)



setComposerModel
public void setComposerModel(ComposerModel model)(Code)
Sets the composer model. If the message type of the new model (html / text) is different from the message type of the existing, the editor controller is changed and the view is changed accordingly.
Finally the components are updated according to the new model.
Parameters:
  model - New composer model



setHtmlState
public void setHtmlState(boolean enableHtml)(Code)



setPromptOnDialogClosing
public void setPromptOnDialogClosing(boolean promptOnDialogClosing)(Code)

Parameters:
  promptOnDialogClosing - The promptOnDialogClosing to set.



showAttachmentPanel
public void showAttachmentPanel()(Code)
Show attachment panel

Asks the ComposerModel if message contains attachments. If so, show the attachment panel. Otherwise, hide the attachment panel.




update
public void update(Observable observable, Object obj)(Code)
Method is called when composer configuration changed
See Also:   java.util.Observer.update(java.util.Observablejava.lang.Object)



updateComponents
public void updateComponents(boolean b)(Code)



Fields inherited from org.columba.core.gui.frame.DefaultFrameController
protected String id(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
protected ISearchPanel searchPanel(Code)(Java Doc)
protected ISelectionManager selectionManager(Code)(Java Doc)
protected ISemanticContext semanticContext(Code)(Java Doc)
protected TooltipMouseHandler tooltipMouseHandler(Code)(Java Doc)
protected ViewItem viewItem(Code)(Java Doc)

Methods inherited from org.columba.core.gui.frame.DefaultFrameController
public void addListener(IFrameMediatorListener l)(Code)(Java Doc)
public void close(IContainer container)(Code)(Java Doc)
public void extendMenu(IContainer container)(Code)(Java Doc)
public void extendToolBar(IContainer container)(Code)(Java Doc)
public void fireClosed()(Code)(Java Doc)
public void fireComponentChanged()(Code)(Java Doc)
public void fireLayoutChanged()(Code)(Java Doc)
public void fireStatusMessageChanged(String statusMessage)(Code)(Java Doc)
public void fireTaskStatusChanged()(Code)(Java Doc)
public void fireTitleChanged(String title)(Code)(Java Doc)
public void fireToolBarVisibilityChanged(boolean visible)(Code)(Java Doc)
public void fireVisibilityChanged(boolean visible)(Code)(Java Doc)
public IContainer getContainer()(Code)(Java Doc)
public JPanel getContentPane()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public MouseListener getMouseTooltipHandler()(Code)(Java Doc)
public ISearchPanel getSearchPanel()(Code)(Java Doc)
public ISelectionManager getSelectionManager()(Code)(Java Doc)
public ISemanticContext getSemanticContext()(Code)(Java Doc)
public String getString(String sPath, String sName, String sID)(Code)(Java Doc)
public IContainer getView()(Code)(Java Doc)
public ViewItem getViewItem()(Code)(Java Doc)
public void initFrame(IContainer container)(Code)(Java Doc)
public boolean isInitialized()(Code)(Java Doc)
public void loadPositions()(Code)(Java Doc)
public void removeListener(IFrameMediatorListener l)(Code)(Java Doc)
public void savePositions()(Code)(Java Doc)
public void setContainer(IContainer c)(Code)(Java Doc)
public void setSelectionManager(ISelectionManager selectionManager)(Code)(Java Doc)
public void setViewItem(ViewItem item)(Code)(Java Doc)

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.