org.jaitools.demo.jiffle
Class ProgressListenerDemo

java.lang.Object
  extended by org.jaitools.demo.jiffle.ProgressListenerDemo

public class ProgressListenerDemo
extends java.lang.Object

Demonstrates using a JiffleProgressListener with JiffleExecutor.

Rather than running a real Jiffle task that will take long enough to be worth using a progress listener, we cheat and use mock Jiffle and JiffleRuntime classes (see bottom of source code). The runtime class pretends process pixels by just having a little sleep each time its evaluate() method is called.

Since:
1.1
Version:
$Id: ProgressListenerDemo.java 1654 2011-06-16 10:46:55Z michael.bedward $
Author:
Michael Bedward

Constructor Summary
ProgressListenerDemo()
           
 
Method Summary
static void main(java.lang.String[] args)
          Runs the demo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressListenerDemo

public ProgressListenerDemo()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Runs the demo.

Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.