From 8ad7326f25441a437e4ab826596a20ffc0bddd5d Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sat, 6 Aug 2005 19:59:40 +0000 Subject: Refactored nearly all demos as GLEventListeners and imported most into JRefract framework. Deleted duplicate Gears code in fullscreen demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JSR-231@107 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/util/DemoListener.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/demos/util') diff --git a/src/demos/util/DemoListener.java b/src/demos/util/DemoListener.java index cbe7570..ee343e7 100755 --- a/src/demos/util/DemoListener.java +++ b/src/demos/util/DemoListener.java @@ -39,8 +39,12 @@ package demos.util; -/** Defines how demos can request to be shut down. Different harnesses - may respond differently to this event. */ +/** Defines certain events demos can send. Different harnesses + may respond differently to these events. */ public interface DemoListener { + /** Indicates that the demo wants to be terminated. */ public void shutdownDemo(); + + /** Indicates that a repaint should be scheduled later. */ + public void repaint(); } -- cgit v1.2.3