JUICe

com.lafros.juice.cmds
Interface ICmdsApp


public interface ICmdsApp

to be impl'ted by apps wishing to provide user-feedback as commands are executed.

Version:
$Id: ICmdsApp.java 1483 2007-04-04 11:38:32Z rob $
Author:
Rob Dickens
See Also:
TheCmdsController.setApp(ICmdsApp)

Method Summary
 void clearLastPost()
          requests that the message last posted should be cleared.
 void postCancelled()
          called when an ICmd.IDisj was cancelled.
 void postFailed(Exception e)
          called when a command fails.
 void postSucceeded(String msg)
          called when a command succeeds.
 void postTrying(String msg)
          called when an ICmd.IDisj is executed.
 void setBusy(boolean b)
          called just before and after a command is executed.
 

Method Detail

setBusy

void setBusy(boolean b)
called just before and after a command is executed.


postTrying

void postTrying(String msg)
called when an ICmd.IDisj is executed.


postCancelled

void postCancelled()
called when an ICmd.IDisj was cancelled.


postSucceeded

void postSucceeded(String msg)
called when a command succeeds.


postFailed

void postFailed(Exception e)
called when a command fails.


clearLastPost

void clearLastPost()
requests that the message last posted should be cleared.


JUICe

Copyright © 2001-2008 Latterfrosken Software Development Limited. All Rights Reserved.