com.mebigfatguy.patchanim
Enum ExportType

java.lang.Object
  extended by java.lang.Enum<ExportType>
      extended by com.mebigfatguy.patchanim.ExportType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExportType>

public enum ExportType
extends java.lang.Enum<ExportType>

denotes the type of file to export to


Enum Constant Summary
AnimatedGif
           
AnimatedMng
           
AnimatedPng
           
Gifs
           
JPegs
           
Pngs
           
 
Method Summary
 java.lang.String getDescriptionKey()
          returns the resource bundle key for the localized value
 java.lang.String getExtension()
          returns the file extension for this export type
 boolean isMultipleFiles()
          returns whether or not this file type generates multiple files
static ExportType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExportType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

JPegs

public static final ExportType JPegs

Pngs

public static final ExportType Pngs

Gifs

public static final ExportType Gifs

AnimatedGif

public static final ExportType AnimatedGif

AnimatedPng

public static final ExportType AnimatedPng

AnimatedMng

public static final ExportType AnimatedMng
Method Detail

values

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

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

valueOf

public static ExportType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getExtension

public java.lang.String getExtension()
returns the file extension for this export type

Returns:
the file extension

isMultipleFiles

public boolean isMultipleFiles()
returns whether or not this file type generates multiple files

Returns:
whether the export generates multiple files

getDescriptionKey

public java.lang.String getDescriptionKey()
returns the resource bundle key for the localized value

Returns:
the resource key


Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.