|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FilterType>
ar.com.hjg.pngj.FilterType
public enum FilterType
Internal PNG predictor filter, or strategy to select it.
Enum Constant Summary | |
---|---|
FILTER_AGGRESSIVE
Aggressive strategy: select one of the above filters trying each of the filters (every 8 rows) |
|
FILTER_AVERAGE
AVERAGE filter |
|
FILTER_CYCLIC
Uses all fiters, one for lines, cyciclally. |
|
FILTER_DEFAULT
Default strategy: select one of the above filters depending on global image parameters |
|
FILTER_NONE
No filter. |
|
FILTER_PAETH
PAETH predictor |
|
FILTER_SUB
SUB filter (uses same row) |
|
FILTER_UNKNOWN
Not specified, placeholder for unknown or NA filters. |
|
FILTER_UP
UP filter (uses previous row) |
|
FILTER_VERYAGGRESSIVE
Very aggressive strategy: select one of the above filters trying each of the filters (for every row!) |
Field Summary | |
---|---|
int |
val
|
Method Summary | |
---|---|
static FilterType |
getByVal(int i)
|
static FilterType |
valueOf(java.lang.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 |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FilterType FILTER_AGGRESSIVE
public static final FilterType FILTER_AVERAGE
public static final FilterType FILTER_CYCLIC
public static final FilterType FILTER_DEFAULT
public static final FilterType FILTER_NONE
public static final FilterType FILTER_PAETH
public static final FilterType FILTER_SUB
public static final FilterType FILTER_UNKNOWN
public static final FilterType FILTER_UP
public static final FilterType FILTER_VERYAGGRESSIVE
Field Detail |
---|
public final int val
Method Detail |
---|
public static FilterType getByVal(int i)
public static FilterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static FilterType[] values()
for (FilterType c : FilterType.values()) System.out.println(c);
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |