org.jmythapi.protocol.request
Enum EChannelChangeDirection

java.lang.Object
  extended by java.lang.Enum<EChannelChangeDirection>
      extended by org.jmythapi.protocol.request.EChannelChangeDirection
All Implemented Interfaces:
Serializable, Comparable<EChannelChangeDirection>

public enum EChannelChangeDirection
extends Enum<EChannelChangeDirection>

Specifies the direction used for channel switching.

See Also:
Recorder.changeChannel(EChannelChangeDirection), tv.h

Enum Constant Summary
DOWN
          Down.
FAVORITE
          Favorite.
SAME
          Same.
UP
          Up.
 
Method Summary
static EChannelChangeDirection valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EChannelChangeDirection[] 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

UP

public static final EChannelChangeDirection UP
Up.

Browse to the previous channel.


DOWN

public static final EChannelChangeDirection DOWN
Down.

Browse to the next channel.


FAVORITE

public static final EChannelChangeDirection FAVORITE
Favorite.

Browse to the next favorite channel.


SAME

public static final EChannelChangeDirection SAME
Same.

Use the current channel.

Method Detail

values

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

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

valueOf

public static EChannelChangeDirection 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 © 2008-2013. All Rights Reserved.