summaryrefslogtreecommitdiffstats
path: root/src/demos/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/util')
-rwxr-xr-xsrc/demos/util/DemoListener.java8
1 files changed, 6 insertions, 2 deletions
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();
}