Package uk.co.caprica.vlcj.player.base
Enum MarqueePosition
- java.lang.Object
-
- java.lang.Enum<MarqueePosition>
-
- uk.co.caprica.vlcj.player.base.MarqueePosition
-
- All Implemented Interfaces:
Serializable
,Comparable<MarqueePosition>
public enum MarqueePosition extends Enum<MarqueePosition>
Enumeration of marquee positions.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM
BOTTOM_LEFT
BOTTOM_RIGHT
CENTRE
LEFT
RIGHT
TOP
TOP_LEFT
TOP_RIGHT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
intValue()
static MarqueePosition
position(int intValue)
static MarqueePosition
valueOf(String name)
Returns the enum constant of this type with the specified name.static MarqueePosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENTRE
public static final MarqueePosition CENTRE
-
LEFT
public static final MarqueePosition LEFT
-
RIGHT
public static final MarqueePosition RIGHT
-
TOP
public static final MarqueePosition TOP
-
TOP_LEFT
public static final MarqueePosition TOP_LEFT
-
TOP_RIGHT
public static final MarqueePosition TOP_RIGHT
-
BOTTOM
public static final MarqueePosition BOTTOM
-
BOTTOM_LEFT
public static final MarqueePosition BOTTOM_LEFT
-
BOTTOM_RIGHT
public static final MarqueePosition BOTTOM_RIGHT
-
-
Method Detail
-
values
public static MarqueePosition[] 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 (MarqueePosition c : MarqueePosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MarqueePosition 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 nameNullPointerException
- if the argument is null
-
position
public static MarqueePosition position(int intValue)
-
intValue
public int intValue()
-
-