picturedream.implementation.processor
Class ColorWindow

java.lang.Object
  |
  +--picturedream.implementation.processor.ColorWindow
All Implemented Interfaces:
IPictureProcessor

public class ColorWindow
extends java.lang.Object
implements IPictureProcessor

Title: PictureDream

Description:

Copyright: Copyright (c) 2003 MRoc

Organisation: MRoc Audiosolutions

Version:
1.0
Author:
MRoc mail@mroc.de

Field Summary
 boolean ivNormalize
           
 char ivWindowMax
           
 char ivWindowMin
           
 
Constructor Summary
ColorWindow()
           
 
Method Summary
 javax.swing.JComponent getEditor(IPicture preview)
           
 java.lang.String getName()
          returns the processors name
 char[][] process(char[][] channels, int width, int height)
          processes the given channels and returns the modified version. can also directly work with the given data and can return this.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ivWindowMin

public char ivWindowMin

ivWindowMax

public char ivWindowMax

ivNormalize

public boolean ivNormalize
Constructor Detail

ColorWindow

public ColorWindow()
Method Detail

process

public char[][] process(char[][] channels,
                        int width,
                        int height)
Description copied from interface: IPictureProcessor
processes the given channels and returns the modified version. can also directly work with the given data and can return this.
Specified by:
process in interface IPictureProcessor
Following copied from interface: picturedream.model.IPictureProcessor
Parameters:
channels - - the channels to be processed
Returns:
the processed channels

getEditor

public javax.swing.JComponent getEditor(IPicture preview)
Specified by:
getEditor in interface IPictureProcessor

getName

public java.lang.String getName()
returns the processors name
Specified by:
getName in interface IPictureProcessor