net.aerith.misao.gui
Class RGBCompositeImageComponent.LevelAdjustmentListener
java.lang.Object
|
+--net.aerith.misao.gui.RGBCompositeImageComponent.LevelAdjustmentListener
- Enclosing class:
- RGBCompositeImageComponent
- protected class RGBCompositeImageComponent.LevelAdjustmentListener
- extends java.lang.Object
- implements java.awt.event.ActionListener, java.lang.Runnable, LevelAdjustable
The LevelAdjustmentListener
is a listener class of
menu selection for level adjustment of pixel values.
Field Summary |
private int |
image_index
The index of the image. |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when the menu is selected. |
void |
adjustLevel(double minimum,
double maximum)
Adjusts the level of image. |
void |
adjustLevelAll(double minimum,
double maximum)
Adjusts the level of all images. |
void |
run()
Runs this thread. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
image_index
private int image_index
- The index of the image.
RGBCompositeImageComponent.LevelAdjustmentListener
public RGBCompositeImageComponent.LevelAdjustmentListener(int index)
- Constructs a
LevelAdjustmentListener
for the
image that the specified index represents.
- Parameters:
index
- the index of the image.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Invoked when the menu 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
adjustLevel
public void adjustLevel(double minimum,
double maximum)
- Adjusts the level of image.
- Specified by:
- adjustLevel in interface LevelAdjustable
- Parameters:
minimum
- the minimum level.maximum
- the maximum level.
adjustLevelAll
public void adjustLevelAll(double minimum,
double maximum)
- Adjusts the level of all images.
- Specified by:
- adjustLevelAll in interface LevelAdjustable
- Parameters:
minimum
- the minimum level.maximum
- the maximum level.