net.aerith.misao.toolkit.ImageCollation
Class ImageCollationDesktop.RGBListener

java.lang.Object
  |
  +--net.aerith.misao.toolkit.ImageCollation.ImageCollationDesktop.RGBListener
Enclosing class:
ImageCollationDesktop

protected class ImageCollationDesktop.RGBListener
extends java.lang.Object
implements java.awt.event.ActionListener, java.lang.Runnable

The RGBListener is a listener class of menu selection to create an R-GB image.


Field Summary
protected  boolean red_first
          True if the first image is red.
 
Constructor Summary
ImageCollationDesktop.RGBListener(boolean red_first)
          Constructs a RGBListener.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Invoked when one of the menus is selected.
 void run()
          Runs this thread.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

red_first

protected boolean red_first
True if the first image is red.
Constructor Detail

ImageCollationDesktop.RGBListener

public ImageCollationDesktop.RGBListener(boolean red_first)
Constructs a RGBListener.
Parameters:
red_first - true if the first image is red.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Invoked when one of the menus is selected.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - contains the selected menu item.

run

public void run()
Runs this thread.
Specified by:
run in interface java.lang.Runnable