org.jmythapi.protocol.request
Enum EChannelBrowseDirection

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

public enum EChannelBrowseDirection
extends Enum<EChannelBrowseDirection>

Specifies the direction used for channel browsing.

See Also:
Recorder.getNextProgramInfo(String, Integer, EChannelBrowseDirection, Date), tv.h

Enum Constant Summary
DOWN
          Next channel.
FAVORITE
          Next favorite channel.
LEFT
          Same channel in the past.
RIGHT
          Same channel in the future.
SAME
          Same channel and time.
UP
          Previous channel.
 
Method Summary
static EChannelBrowseDirection valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EChannelBrowseDirection[] 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

SAME

public static final EChannelBrowseDirection SAME
Same channel and time.

Fetch browse information on current channel and time.


UP

public static final EChannelBrowseDirection UP
Previous channel.

Fetch information on previous channel.


DOWN

public static final EChannelBrowseDirection DOWN
Next channel.

Fetch information on next channel.


LEFT

public static final EChannelBrowseDirection LEFT
Same channel in the past.

Fetch information on current channel in the past.


RIGHT

public static final EChannelBrowseDirection RIGHT
Same channel in the future.

Fetch information on current channel in the future.


FAVORITE

public static final EChannelBrowseDirection FAVORITE
Next favorite channel.

Fetch information on the next favorite channel.

Method Detail

values

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

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

valueOf

public static EChannelBrowseDirection 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.