home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 13 / boot-disc-1997-09.iso / HyprWire / DATA.Z / UserTransitionList.txt < prev    next >
Text File  |  1997-01-21  |  1KB  |  33 lines

  1. package kinetix.util;
  2.  
  3. import java.applet.Applet;
  4. import kinetix.hyperc1.runtime.TransitionPlugIn;
  5. import kinetix.hyperc1.transitions.*;
  6.  
  7. // hyperb1\runtime\MyTransition.java contains a sample user TransitionPlugIn.      
  8. //                                                                
  9. // You must change UserTransitionList.java (this file) to construct an   
  10. // instance of your TransitionPlugIn when your "show" or "hide"   
  11. // string is passed to it.  This is used by the TransitionViewer  
  12. // applet, which is activated by clicking the Test button in the  
  13. // transitions dialog.                                            
  14. //
  15. // Recompile UserTransitionList.java with JAVAC after changing it.
  16. // Note: Rename this file to a .java extension before compiling.
  17. //                                                                
  18. // The file UserTransitionList.tdf must also be modified before the    
  19. // transitions dialog will recognize your new TransitionPlugIn.   
  20.  
  21. public class UserTransitionList
  22.     {
  23.     static public TransitionPlugIn newTransition(String name, Applet applet)
  24.         {
  25.  
  26. // Example:
  27. //        if (name.equals("My user transition hide string"))  
  28. //            return new MyTransition(applet);
  29.  
  30.         return null;
  31.         }
  32.     }
  33.