cz.cuni.amis.pogamut.ut2004.t3dgenerator.datatypes
Enum ESurfaceType

Package class diagram package ESurfaceType
java.lang.Object
  extended by java.lang.Enum<ESurfaceType>
      extended by cz.cuni.amis.pogamut.ut2004.t3dgenerator.datatypes.ESurfaceType
All Implemented Interfaces:
Serializable, Comparable<ESurfaceType>

public enum ESurfaceType
extends Enum<ESurfaceType>

Author:
Martin Cerny

Enum Constant Summary
Default
           
Dirt
           
Flesh
           
Glass
           
Ice
           
Metal
           
Plant
           
Rock
           
Snow
           
Water
           
Wood
           
 
Method Summary
static ESurfaceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ESurfaceType[] 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

Default

public static final ESurfaceType Default

Rock

public static final ESurfaceType Rock

Dirt

public static final ESurfaceType Dirt

Metal

public static final ESurfaceType Metal

Wood

public static final ESurfaceType Wood

Plant

public static final ESurfaceType Plant

Flesh

public static final ESurfaceType Flesh

Ice

public static final ESurfaceType Ice

Snow

public static final ESurfaceType Snow

Water

public static final ESurfaceType Water

Glass

public static final ESurfaceType Glass
Method Detail

values

public static ESurfaceType[] 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 (ESurfaceType c : ESurfaceType.values())
    System.out.println(c);

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

valueOf

public static ESurfaceType 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


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.