Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
ContrastAdjuster Class Reference
Inheritance diagram for ContrastAdjuster:
PlugInFrame PlugIn

Public Member Functions

 ContrastAdjuster ()
 
void run (String arg)
 
synchronized void adjustmentValueChanged (AdjustmentEvent e)
 
synchronized void actionPerformed (ActionEvent e)
 
void run ()
 
void windowClosing (WindowEvent e)
 
void close ()
 
void windowActivated (WindowEvent e)
 
synchronized void itemStateChanged (ItemEvent e)
 
void updateAndDraw ()
 
- Public Member Functions inherited from PlugInFrame
 PlugInFrame (String title)
 
void run (String arg)
 
void windowClosing (WindowEvent e)
 
void close ()
 
void windowActivated (WindowEvent e)
 
void focusGained (FocusEvent e)
 
void windowOpened (WindowEvent e)
 
void windowClosed (WindowEvent e)
 
void windowIconified (WindowEvent e)
 
void windowDeiconified (WindowEvent e)
 
void windowDeactivated (WindowEvent e)
 
void focusLost (FocusEvent e)
 

Detailed Description

Adjusts brightness and contrast of the active image. This class is multi-threaded to provide a more responsive user interface.

Definition at line 14 of file ContrastAdjuster.java.

Constructor & Destructor Documentation

ContrastAdjuster ( )
inline

Constructor

public

Returns
void

Definition at line 58 of file ContrastAdjuster.java.

Member Function Documentation

synchronized void actionPerformed ( ActionEvent  e)
inline

Handle button clicks

public

Returns
void

Definition at line 250 of file ContrastAdjuster.java.

synchronized void adjustmentValueChanged ( AdjustmentEvent  e)
inline

Handle a change of adjustment value

public

Returns
void

Definition at line 229 of file ContrastAdjuster.java.

void close ( )
inline

Overrides close() in PlugInFrame.

private

Returns
void

Definition at line 950 of file ContrastAdjuster.java.

synchronized void itemStateChanged ( ItemEvent  e)
inline

Handle item state changed

private

Returns
void

Definition at line 981 of file ContrastAdjuster.java.

void run ( String  arg)
inline

Run the plugin

public

Returns
void

Implements PlugIn.

Definition at line 71 of file ContrastAdjuster.java.

void run ( )
inline

Runs as separate thread that does the potentially time-consuming processing

private

Returns
void

Definition at line 858 of file ContrastAdjuster.java.

void updateAndDraw ( )
inline

Resets this ContrastAdjuster and brings it to the front

private

Returns
void

Definition at line 996 of file ContrastAdjuster.java.

void windowActivated ( WindowEvent  e)
inline

Handle window activated object

private

Returns
void

Definition at line 967 of file ContrastAdjuster.java.

void windowClosing ( WindowEvent  e)
inline

Handle window close

private

Returns
void

Definition at line 939 of file ContrastAdjuster.java.


The documentation for this class was generated from the following file: