com.raelity.jvi
Interface ViStatusDisplay

All Known Implementing Classes:
StatusDisplay

public interface ViStatusDisplay

Display state of the editor is sent through this interface.


Method Summary
 void clearMessage()
          Clear current status and/or error message
 void displayCommand(String cmd)
          Output the command characters accumulated so far
 void displayErrorMessage(String msg)
          Output warning chitchat
 void displayFrozenMessage(String msg)
          Output a message that can not be cleared with clearMessge.
 void displayMode(String mode)
          Output the current mode: INSERT/REPLACE
 void displayStatusMessage(String msg)
          Output chitchat, VV_STATUSMSG
 void displayWarningMessage(String msg)
          Output error chitchat, VV_ERRMSG; HLF_E highlight
 void refresh()
          Redisplay last message.
 

Method Detail

displayMode

void displayMode(String mode)
Output the current mode: INSERT/REPLACE


displayCommand

void displayCommand(String cmd)
Output the command characters accumulated so far


displayStatusMessage

void displayStatusMessage(String msg)
Output chitchat, VV_STATUSMSG


displayErrorMessage

void displayErrorMessage(String msg)
Output warning chitchat


displayWarningMessage

void displayWarningMessage(String msg)
Output error chitchat, VV_ERRMSG; HLF_E highlight


displayFrozenMessage

void displayFrozenMessage(String msg)
Output a message that can not be cleared with clearMessge. Outputing any message thaws the message display.


clearMessage

void clearMessage()
Clear current status and/or error message


refresh

void refresh()
Redisplay last message. May be noop depending on implementation. This is invoked when exiting a keystroke because some platforms clear the display at inoportune times.