|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PngChunk.ChunkOrderingConstraint>
ar.com.hjg.pngj.chunks.PngChunk.ChunkOrderingConstraint
public static enum PngChunk.ChunkOrderingConstraint
Possible ordering constraint for a PngChunk type -only relevant for ancillary chunks. Theoretically, there could be more general constraints, but these cover the constraints for standard chunks.
Enum Constant Summary | |
---|---|
AFTER_PLTE_BEFORE_IDAT
Must go after PLTE but before IDAT |
|
BEFORE_IDAT
Must before IDAT (before or after PLTE) |
|
BEFORE_PLTE_AND_IDAT
Must go before PLTE (and hence, also before IDAT) |
|
NA
Does not apply |
|
NONE
no ordering constraint |
Method Summary | |
---|---|
boolean |
mustGoAfterPLTE()
|
boolean |
mustGoBeforeIDAT()
|
boolean |
mustGoBeforePLTE()
|
static PngChunk.ChunkOrderingConstraint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PngChunk.ChunkOrderingConstraint[] |
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 PngChunk.ChunkOrderingConstraint AFTER_PLTE_BEFORE_IDAT
public static final PngChunk.ChunkOrderingConstraint BEFORE_IDAT
public static final PngChunk.ChunkOrderingConstraint BEFORE_PLTE_AND_IDAT
public static final PngChunk.ChunkOrderingConstraint NA
public static final PngChunk.ChunkOrderingConstraint NONE
Method Detail |
---|
public boolean mustGoAfterPLTE()
public boolean mustGoBeforeIDAT()
public boolean mustGoBeforePLTE()
public static PngChunk.ChunkOrderingConstraint 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 PngChunk.ChunkOrderingConstraint[] values()
for (PngChunk.ChunkOrderingConstraint c : PngChunk.ChunkOrderingConstraint.values()) System.out.println(c);
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |