ij2x.plugin
Class AlignRGB

java.lang.Object
  extended by ij2x.plugin.AlignRGB
All Implemented Interfaces:
PlugIn, java.awt.event.ActionListener, java.awt.event.ItemListener, java.util.EventListener, javax.swing.event.ChangeListener, javax.swing.event.DocumentListener

public class AlignRGB
extends java.lang.Object
implements PlugIn, javax.swing.event.DocumentListener, java.awt.event.ItemListener, javax.swing.event.ChangeListener, java.awt.event.ActionListener


Field Summary
protected  javax.swing.JTextField[] alignhText
           
protected  javax.swing.JTextField[] alignvText
           
protected  int[][] b
           
protected  javax.swing.border.BevelBorder bb
           
protected  javax.swing.JCheckBox blueCheckbox
           
protected  javax.swing.JPanel buttonPanel
           
protected  java.util.Vector<javax.swing.JComponent> checkBox
           
protected  boolean[] checked
           
protected static ImagePlus clipBoard
           
static int DOUBLE_CLICK_THRESHOLD
           
protected  javax.swing.JButton downButton
           
protected  int[] flag
           
protected  int[][] g
           
protected  javax.swing.border.Border grayBorder
           
protected  javax.swing.JCheckBox greenCheckbox
           
protected  int height
           
protected  int[] hRGB
           
protected  javax.swing.Icon icon
           
protected  ImagePlus imp
           
protected static int index
           
protected  ImageProcessor ip
           
protected static boolean isBlueChecked
           
 boolean isEnlarge
           
protected static boolean isGreenChecked
           
 boolean isLUT
           
protected static boolean isRedChecked
           
 boolean isShowing
           
protected  java.awt.GridBagLayout layout
           
protected  javax.swing.JButton leftButton
           
protected  javax.swing.border.Border lightGrayBorder
           
protected  java.util.Vector<javax.swing.JComponent> lutCheckBox
           
protected static int lutColorIndex
           
protected  java.lang.String[][] names
           
protected static int param
           
protected  int pixel
           
protected  int[][] r
           
protected  javax.swing.JCheckBox redCheckbox
           
protected  javax.swing.JButton revertButton
           
protected  double[] rgbX
           
protected  int[][] rgbXY
           
protected  int[][] rgbXYM
           
protected  double[] rgbY
           
protected  javax.swing.JButton rightButton
           
protected  Roi roi
           
protected  int stx
           
protected  int sty
           
protected static int tempColor
           
protected  javax.swing.JSpinner transParam
           
protected  javax.swing.JButton upButton
           
protected  int[] vRGB
           
protected  int width
           
protected  int x
           
protected  int y
           
 
Constructor Summary
AlignRGB()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void changedUpdate(javax.swing.event.DocumentEvent e)
           
 void insertUpdate(javax.swing.event.DocumentEvent e)
           
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 void removeUpdate(javax.swing.event.DocumentEvent e)
           
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
 void stateChanged(javax.swing.event.ChangeEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

icon

protected javax.swing.Icon icon

checkBox

protected java.util.Vector<javax.swing.JComponent> checkBox

lutCheckBox

protected java.util.Vector<javax.swing.JComponent> lutCheckBox

tempColor

protected static int tempColor

index

protected static int index

lutColorIndex

protected static int lutColorIndex

redCheckbox

protected javax.swing.JCheckBox redCheckbox

greenCheckbox

protected javax.swing.JCheckBox greenCheckbox

blueCheckbox

protected javax.swing.JCheckBox blueCheckbox

isShowing

public boolean isShowing

isEnlarge

public boolean isEnlarge

isLUT

public boolean isLUT

isRedChecked

protected static boolean isRedChecked

isGreenChecked

protected static boolean isGreenChecked

isBlueChecked

protected static boolean isBlueChecked

DOUBLE_CLICK_THRESHOLD

public static final int DOUBLE_CLICK_THRESHOLD
See Also:
Constant Field Values

bb

protected javax.swing.border.BevelBorder bb

grayBorder

protected javax.swing.border.Border grayBorder

lightGrayBorder

protected javax.swing.border.Border lightGrayBorder

buttonPanel

protected javax.swing.JPanel buttonPanel

upButton

protected javax.swing.JButton upButton

leftButton

protected javax.swing.JButton leftButton

rightButton

protected javax.swing.JButton rightButton

downButton

protected javax.swing.JButton downButton

revertButton

protected javax.swing.JButton revertButton

transParam

protected javax.swing.JSpinner transParam

alignvText

protected javax.swing.JTextField[] alignvText

alignhText

protected javax.swing.JTextField[] alignhText

names

protected java.lang.String[][] names

checked

protected boolean[] checked

param

protected static int param

imp

protected ImagePlus imp

clipBoard

protected static ImagePlus clipBoard

ip

protected ImageProcessor ip

width

protected int width

height

protected int height

pixel

protected int pixel

x

protected int x

y

protected int y

stx

protected int stx

sty

protected int sty

flag

protected int[] flag

rgbXY

protected int[][] rgbXY

rgbXYM

protected int[][] rgbXYM

rgbX

protected double[] rgbX

rgbY

protected double[] rgbY

r

protected int[][] r

g

protected int[][] g

b

protected int[][] b

layout

protected java.awt.GridBagLayout layout

hRGB

protected int[] hRGB

vRGB

protected int[] vRGB

roi

protected Roi roi
Constructor Detail

AlignRGB

public AlignRGB()
Method Detail

run

public void run(java.lang.String arg)
Description copied from interface: PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Specified by:
run in interface PlugIn

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

insertUpdate

public void insertUpdate(javax.swing.event.DocumentEvent e)
Specified by:
insertUpdate in interface javax.swing.event.DocumentListener

removeUpdate

public void removeUpdate(javax.swing.event.DocumentEvent e)
Specified by:
removeUpdate in interface javax.swing.event.DocumentListener

changedUpdate

public void changedUpdate(javax.swing.event.DocumentEvent e)
Specified by:
changedUpdate in interface javax.swing.event.DocumentListener