home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 13
/
boot-disc-1997-09.iso
/
HyprWire
/
DATA.Z
/
UserTransitionList.txt
< prev
next >
Wrap
Text File
|
1997-01-21
|
1KB
|
33 lines
package kinetix.util;
import java.applet.Applet;
import kinetix.hyperc1.runtime.TransitionPlugIn;
import kinetix.hyperc1.transitions.*;
// hyperb1\runtime\MyTransition.java contains a sample user TransitionPlugIn.
//
// You must change UserTransitionList.java (this file) to construct an
// instance of your TransitionPlugIn when your "show" or "hide"
// string is passed to it. This is used by the TransitionViewer
// applet, which is activated by clicking the Test button in the
// transitions dialog.
//
// Recompile UserTransitionList.java with JAVAC after changing it.
// Note: Rename this file to a .java extension before compiling.
//
// The file UserTransitionList.tdf must also be modified before the
// transitions dialog will recognize your new TransitionPlugIn.
public class UserTransitionList
{
static public TransitionPlugIn newTransition(String name, Applet applet)
{
// Example:
// if (name.equals("My user transition hide string"))
// return new MyTransition(applet);
return null;
}
}