com.levigo.jadice.document.render
Enum FilterType

java.lang.Object
  extended by java.lang.Enum<FilterType>
      extended by com.levigo.jadice.document.render.FilterType
All Implemented Interfaces:
Serializable, Comparable<FilterType>

public enum FilterType
extends Enum<FilterType>

A FilterType enum for defining certain downscale filters to apply.


Enum Constant Summary
Bessel
           
Blackman
           
Box
           
Catrom
           
Cubic
           
Gaussian
           
Hamming
           
Hanning
           
Hermite
           
Lanczos
           
Mitchell
           
Point
           
Quadratic
           
Sinc
           
Triangle
           
 
Method Summary
static FilterType getDefaultFilterType()
           
static void setDefaultFilterType(FilterType defaultFilter)
           
static FilterType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FilterType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Bessel

public static final FilterType Bessel

Blackman

public static final FilterType Blackman

Box

public static final FilterType Box

Catrom

public static final FilterType Catrom

Cubic

public static final FilterType Cubic

Gaussian

public static final FilterType Gaussian

Hamming

public static final FilterType Hamming

Hanning

public static final FilterType Hanning

Hermite

public static final FilterType Hermite

Lanczos

public static final FilterType Lanczos

Mitchell

public static final FilterType Mitchell

Point

public static final FilterType Point

Quadratic

public static final FilterType Quadratic

Sinc

public static final FilterType Sinc

Triangle

public static final FilterType Triangle
Method Detail

values

public static FilterType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FilterType c : FilterType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FilterType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

setDefaultFilterType

public static void setDefaultFilterType(FilterType defaultFilter)

getDefaultFilterType

public static FilterType getDefaultFilterType()


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.