org.opensubsystems.patterns.thickclient.application.swt
Interface NumberPadListener


public interface NumberPadListener

Interface, which should be implemented by anybody who wants to be notified when the NumberPad button is clicked.

Version:
$Id: NumberPadListener.java,v 1.4 2007/01/07 06:14:15 bastafidli Exp $
Author:
Miro Halas
Code reviewer:
Miro Halas
Code reviewed:
1.2 2006/04/05 05:33:17 bastafidli

Method Summary
 boolean takeAction(NumberPad npad, java.lang.String strText)
          This method is called when action button of the dialog is clicked.
 

Method Detail

takeAction

boolean takeAction(NumberPad npad,
                   java.lang.String strText)
This method is called when action button of the dialog is clicked. This means that user is finished with the changes and want to take some action with those changes. This method is NOT called when user wants to cancel the changes which he has done.

Parameters:
npad - - what NumberPad generated this event
strText - - what was the text in the NumberPad when the click occured
Returns:
boolean - if true is returned the the text in the NumberPad is cleared otherwise the value is kept there


Copyright © 2003 - 2006 OpenSubsystems s.r.o.