to top
Datalogic APIs
public final enum

ScreensaverAnimation

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.configuration.ScreensaverAnimation

Class Overview

Enum representing the different types of screensaver animations used by `Datalogic Screensaver` application when when configured as the screensver manager.

This enum provides various animation styles that can be used for a screensaver.

Summary

Enum Values
ScreensaverAnimation  PING_PONG  The screensaver will bounce back and forth across the screen. 
ScreensaverAnimation  REPOSITIONING  The screensaver will move to different positions on the screen. 
ScreensaverAnimation  UNDEFINED  Default value used when no specific animation is set. 
ScreensaverAnimation  ZIG_ZAG  The screensaver will move in a zig-zag pattern across the screen. 
Public Methods
static ScreensaverAnimation fromInt(int value)
Retrieves the corresponding ScreensaverAnimation value, from a valid integer.
static ScreensaverAnimation fromString(String name)
Retrieves the corresponding ScreensaverAnimation value, from a valid string.
int toInt()
Converts the ScreensaverAnimation enum to its integer representing value.
String toString()
Converts the ScreensaverAnimation enum to its string representing value.
static ScreensaverAnimation valueOf(String name)
final static ScreensaverAnimation[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ScreensaverAnimation PING_PONG

Added in revision 44

The screensaver will bounce back and forth across the screen.

This animation style makes the screensaver move in a "ping-pong" motion, bouncing between the edges of the screen.

public static final ScreensaverAnimation REPOSITIONING

Added in revision 44

The screensaver will move to different positions on the screen.

This animation style repositions the screensaver periodically.

public static final ScreensaverAnimation UNDEFINED

Added in revision 44

Default value used when no specific animation is set.

This value indicates that no animation type has been defined.

public static final ScreensaverAnimation ZIG_ZAG

Added in revision 44

The screensaver will move in a zig-zag pattern across the screen.

This animation style creates a dynamic zig-zag movement for the screensaver.

Public Methods

public static ScreensaverAnimation fromInt (int value)

Added in revision 44

Retrieves the corresponding ScreensaverAnimation value, from a valid integer.

Parameters
value int
Returns
  • Type the corresponding one.

public static ScreensaverAnimation fromString (String name)

Added in revision 44

Retrieves the corresponding ScreensaverAnimation value, from a valid string.

Parameters
name String
Returns
  • Type the corresponding one.

public int toInt ()

Added in revision 44

Converts the ScreensaverAnimation enum to its integer representing value.

Returns
  • int

public String toString ()

Converts the ScreensaverAnimation enum to its string representing value.

Returns
  • String

public static ScreensaverAnimation valueOf (String name)

Added in revision 44

public static final ScreensaverAnimation[] values ()

Added in revision 44