home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / aplic / jbuilder / jsamples.z / ModalParent.java < prev    next >
Text File  |  1997-07-03  |  466b  |  14 lines

  1. package borland.samples.apps.chess.client  ;
  2. /**Until browsers support modal dialogs, lets jump through hoops
  3.  
  4. */
  5. public interface ModalParent {
  6.  /** Classes that implement this interface would typically disable
  7. *
  8. *the world when true, re-enable when false
  9. *@param boolean state - true - do what it takes to act like you have
  10. *  spawned a modal dialog
  11. *                       false - undo the damage you did.
  12. */
  13.   public void setModal (boolean state);
  14. }