picture.filter
Class Identity

java.lang.Object
  |
  +--picture.DefaultTransformation
        |
        +--picture.filter.Identity
All Implemented Interfaces:
ProgressViewableTransformation, java.io.Serializable, Transformation

public class Identity
extends DefaultTransformation

Diese Transformation repraesentiert die identische Abbildung. Sie kann z.B. fuer eine Kopierfunktion verwendet werden.

See Also:
Serialized Form

Constructor Summary
Identity()
           
 
Method Summary
 int getNumberOfProgressSteps(Picture p)
          Bestimmt die Anzahl der Schritte, die bei den aktuellen Einstellungen auf den ProgressHandler von p ausgeführt werden, wenn diese Transformation auf p ausgeführt wird.
 Layer of(ProgressHandler ph, Layer p)
          Fuehrt die Transformation auf einer Bildebene aus.
 
Methods inherited from class picture.DefaultTransformation
createNewInstance, filterOptionPane, getDistance, getPreferredFileName, isPowerOfTwo, loadFrom, of, saveTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identity

public Identity()
Method Detail

getNumberOfProgressSteps

public int getNumberOfProgressSteps(Picture p)
Description copied from interface: ProgressViewableTransformation
Bestimmt die Anzahl der Schritte, die bei den aktuellen Einstellungen auf den ProgressHandler von p ausgeführt werden, wenn diese Transformation auf p ausgeführt wird.
Following copied from interface: picture.ProgressViewableTransformation
Returns:
Anzahl der Schritte

of

public Layer of(ProgressHandler ph,
                Layer p)
Description copied from class: DefaultTransformation
Fuehrt die Transformation auf einer Bildebene aus.
Overrides:
of in class DefaultTransformation