| |
|
| java.lang.Object org.columba.core.gui.frame.DefaultFrameController org.columba.mail.gui.composer.ComposerController
ComposerController | public ComposerController()(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 |
extendMenu | public void extendMenu(IContainer container)(Code) | | container callbacks
Parameters: container - |
getAttachmentSplitPane | public JSplitPane getAttachmentSplitPane()(Code) | | Returns the attachmentSplitPane. |
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 |
init | protected void init()(Code) | | See Also: org.columba.core.gui.FrameController.reset |
initComponents | protected void initComponents()(Code) | | init components
|
isAccountInfoPanelVisible | public boolean isAccountInfoPanelVisible()(Code) | | |
isPromptOnDialogClosing | public boolean isPromptOnDialogClosing()(Code) | | Returns the promptOnDialogClosing. |
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.
|
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.
|
updateComponents | public void updateComponents(boolean b)(Code) | | |
|
|
|