JUICe

com.lafros.juice.cmds
Interface ICmd.IConfirm

All Superinterfaces:
ICmd
Enclosing interface:
ICmd

public static interface ICmd.IConfirm
extends ICmd

implement this form if the user should be prompted for confirmation before the command is executed.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.lafros.juice.cmds.ICmd
ICmd.IActionDependent, ICmd.IConfirm, ICmd.IDisj, ICmd.IPwd, ICmd.ITog
 
Method Summary
 boolean confirm()
          whether or not to prompt the user on this occasion.
 String dialogText()
          the text of the prompt.
 boolean safe()
          determines the course of action should the user simply hit return on being prompted.
 
Methods inherited from interface com.lafros.juice.cmds.ICmd
execute
 

Method Detail

confirm

boolean confirm()
whether or not to prompt the user on this occasion.


dialogText

String dialogText()
the text of the prompt.


safe

boolean safe()
determines the course of action should the user simply hit return on being prompted. Thus, have this method return true if this course of action should be to cancel the command.


JUICe

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