Sweet Home 3D 4.1

com.eteks.sweethome3d.model
Enum HomeRecorder.Type

java.lang.Object
  extended by java.lang.Enum<HomeRecorder.Type>
      extended by com.eteks.sweethome3d.model.HomeRecorder.Type
All Implemented Interfaces:
Serializable, Comparable<HomeRecorder.Type>
Enclosing interface:
HomeRecorder

public static enum HomeRecorder.Type
extends Enum<HomeRecorder.Type>

Recorder type used as a hint to select a home recorder.

Since:
1.8

Enum Constant Summary
COMPRESSED
          A recorder type able to compress home data.
DEFAULT
          The default recorder type.
 
Method Summary
static HomeRecorder.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HomeRecorder.Type[] 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 HomeRecorder.Type DEFAULT
The default recorder type.


COMPRESSED

public static final HomeRecorder.Type COMPRESSED
A recorder type able to compress home data.

Method Detail

values

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

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

valueOf

public static HomeRecorder.Type 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

Sweet Home 3D 4.1

© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License