edu.ucla.alger.wlmacro
Class WindowLevelMacro

java.lang.Object
  extended by edu.ucla.alger.wlmacro.WindowLevelMacro

public final class WindowLevelMacro
extends java.lang.Object

This class will change the window/level by dragging the mouse. The window is changed by dragging the mouse over the image on the x axis. The level is changed by dragging the mouse on the y axis.


Constructor Summary
WindowLevelMacro()
           
 
Method Summary
static void initialize()
          This is called by the macro.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowLevelMacro

public WindowLevelMacro()
Method Detail

initialize

public static void initialize()
This is called by the macro. This will start a thread that every second makes sure that the all the open image windows have the mouse listener for this macro.