com.ccg.swing
Interface OkCancelModel

All Known Implementing Classes:
OkCancelHandler

public interface OkCancelModel

Defines the callback methods for objects which want to monitor "OK/Cancel" events.

Often one finds themselves presenting dialog boxes to users where the user must choose either "OK" or "Cancel". This interface defines "handlers" for these two types of events.

The plan is to use this interface to create a "showOkCancel" dialog in the Resources class.

Since:
1.0
Version:
$Revision: 1.1 $
Author:
$Author: pkb $
See Also:
OkCancelDialog

Method Summary
 void cancelAction()
          Method to invoke if the user chooses the "Cancel" path.
 void okAction()
          Method to invoke if the user chooses the "OK" path.
 

Method Detail

okAction

void okAction()
Method to invoke if the user chooses the "OK" path.

Since:
1.0

cancelAction

void cancelAction()
Method to invoke if the user chooses the "Cancel" path.

Since:
1.0


Copyright 1998-1998-2006 null. All Rights Reserved.