talx x1.0.5

talx.view
Interface ComposerGUI

All Superinterfaces:
ControllerListener, java.util.EventListener, TALComponent
All Known Implementing Classes:
BasicComposer

public interface ComposerGUI
extends TALComponent, ControllerListener

Interface that all top-level composer components must implement.


Field Summary
static java.lang.String CANCEL_BUTTON_NAME
          The gui system name for the cancel button.
static java.lang.String CLEAN_COMMAND
          The command string for actions fired when the pane becomes clean.
static java.lang.String DIRTY_COMMAND
          The command string for actions fired when the pane becomes dirty.
static java.lang.String EDIT_COMMAND
          The command string for actions fired when the user completes an editing gesture.
static java.lang.String MESSAGE_TEXT_NAME
          The gui system name for the text component.
static java.lang.String NAME
          The gui system name for this frame.
static java.lang.String POSTPONE_BUTTON_NAME
          The gui system name for the save button.
static java.lang.String SEND_BUTTON_NAME
          The gui system name for the send button.
static java.lang.String SENTENCE_COMMAND
          The command string for actions fired when the user completes a sentence.
static java.lang.String SUBJECT_FIELD_NAME
          The gui system name for the template choose box.
static java.lang.String WORD_COMMAND
          The command string for actions fired when the user completes a word.
 
Method Summary
 int[] getDeletions()
          Returns the information on erasures.
 MailSystemDesktop getDesktop()
          Returns the parent desktop.
 java.util.Enumeration getInternalControls()
          Returns any controls that the user can access to compose a message.
 ComposerControl[] getMainControls()
          Returns the abort button.
 java.lang.String getSubject()
          Returns the subject entered into this reply.
 java.lang.String getText()
          Returns the text entered into this reply.
 long getTime()
          Returns the elapsed time since the composer was made visible.
 void reset()
          Resets the time and deletion information.
 void setDeletions(int[] values)
           
 void setSubject(java.lang.String text)
          Sets the subject for this reply.
 void setText(java.lang.String value)
          Enters the new text into the compose area.
 void setTime(long value)
           
 
Methods inherited from interface talx.view.TALComponent
getFocusCycleCurrent, getFocusCycleStart, getNextFocusOwner, getPreviousFocusOwner, isFocusable, isFocusCycleEnd
 
Methods inherited from interface talx.controller.ControllerListener
controllerChange, controllerChangeFinished, controllerChangeVetoed
 

Field Detail

NAME

public static final java.lang.String NAME
The gui system name for this frame.

See Also:
Constant Field Values

MESSAGE_TEXT_NAME

public static final java.lang.String MESSAGE_TEXT_NAME
The gui system name for the text component.

See Also:
Constant Field Values

SEND_BUTTON_NAME

public static final java.lang.String SEND_BUTTON_NAME
The gui system name for the send button.

See Also:
Constant Field Values

POSTPONE_BUTTON_NAME

public static final java.lang.String POSTPONE_BUTTON_NAME
The gui system name for the save button.

See Also:
Constant Field Values

CANCEL_BUTTON_NAME

public static final java.lang.String CANCEL_BUTTON_NAME
The gui system name for the cancel button.

See Also:
Constant Field Values

SUBJECT_FIELD_NAME

public static final java.lang.String SUBJECT_FIELD_NAME
The gui system name for the template choose box.

See Also:
Constant Field Values

DIRTY_COMMAND

public static final java.lang.String DIRTY_COMMAND
The command string for actions fired when the pane becomes dirty.

See Also:
Constant Field Values

CLEAN_COMMAND

public static final java.lang.String CLEAN_COMMAND
The command string for actions fired when the pane becomes clean.

See Also:
Constant Field Values

WORD_COMMAND

public static final java.lang.String WORD_COMMAND
The command string for actions fired when the user completes a word.

See Also:
Constant Field Values

SENTENCE_COMMAND

public static final java.lang.String SENTENCE_COMMAND
The command string for actions fired when the user completes a sentence.

See Also:
Constant Field Values

EDIT_COMMAND

public static final java.lang.String EDIT_COMMAND
The command string for actions fired when the user completes an editing gesture.

See Also:
Constant Field Values
Method Detail

getTime

public long getTime()
Returns the elapsed time since the composer was made visible.


setTime

public void setTime(long value)

getDeletions

public int[] getDeletions()
Returns the information on erasures. See specific classes for the meanings of the numbers returned.


setDeletions

public void setDeletions(int[] values)

getMainControls

public ComposerControl[] getMainControls()
Returns the abort button.


getInternalControls

public java.util.Enumeration getInternalControls()
Returns any controls that the user can access to compose a message.


getSubject

public java.lang.String getSubject()
Returns the subject entered into this reply.


setSubject

public void setSubject(java.lang.String text)
Sets the subject for this reply.


getText

public java.lang.String getText()
Returns the text entered into this reply.


setText

public void setText(java.lang.String value)
Enters the new text into the compose area.


reset

public void reset()
Resets the time and deletion information.


getDesktop

public MailSystemDesktop getDesktop()
Returns the parent desktop.


talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.