| org.columba.mail.gui.message.IMessageController
All known Subclasses: org.columba.mail.gui.message.MessageController,
IMessageController | public interface IMessageController (Code) | | author: fdietz |
clear | public void clear()(Code) | | |
getSelectedMessageId | public Object getSelectedMessageId()(Code) | | |
getSelectedText | public String getSelectedText()(Code) | | Return selected text
|
moveCaretPosition | public void moveCaretPosition(int position)(Code) | | Moves the caret to a new position, leaving behind a mark defined by the
last time setCaretPosition was called. This forms a selection. If the
document is null, does nothing. The position must be between 0 and the
length of the component's text or else an exception is thrown.
Parameters: position - |
setCaretPosition | public void setCaretPosition(int position)(Code) | | Sets the position of the text insertion caret for the TextComponent. Note
that the caret tracks change, so this may move if the underlying text of
the component is changed. If the document is null, does nothing. The
position must be between 0 and the length of the component's text or else
an exception is thrown.
Parameters: position - |
showMessage | void showMessage(IMailbox folder, Object uid) throws Exception(Code) | | Show message in messages viewer.
Should be called in Command.execute() or in another background thread.
Parameters: folder - selected folder Parameters: uid - selected message UID throws: Exception - |
updateGUI | void updateGUI() throws Exception(Code) | | Revalidate message viewer components.
Call this method after showMessage() to force a repaint():
|
|
|