to top
Datalogic APIs
public final enum

ClipboardPolicy

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

Class Overview

The ClipboardPolicy enumeration defines the features which can be accessible to the user through the Clipboard.

Summary

Enum Values
ClipboardPolicy  ALL  All features are allowed to the user. 
ClipboardPolicy  NONE  No features are allowed to the user. 
ClipboardPolicy  ONLY_TEXT  Only text manipulation is allowed, such as "Copy", "Cut", "Paste" and "Select all". 
Public Methods
static ClipboardPolicy fromInt(int n)
Retrieves the corresponding ClipboardPolicy value, from a valid integer.
int toInt()
Converts the ClipboardPolicy to its integer corresponding value.
static ClipboardPolicy valueOf(String name)
final static ClipboardPolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ClipboardPolicy ALL

Added in revision 40

All features are allowed to the user.

public static final ClipboardPolicy NONE

Added in revision 40

No features are allowed to the user.

public static final ClipboardPolicy ONLY_TEXT

Added in revision 40

Only text manipulation is allowed, such as "Copy", "Cut", "Paste" and "Select all".

Public Methods

public static ClipboardPolicy fromInt (int n)

Added in revision 40

Retrieves the corresponding ClipboardPolicy value, from a valid integer.

Parameters
n int
Returns
  • ClipboardPolicy the corresponding one.

public int toInt ()

Added in revision 40

Converts the ClipboardPolicy to its integer corresponding value.

Returns
  • int

public static ClipboardPolicy valueOf (String name)

Added in revision 40

public static final ClipboardPolicy[] values ()

Added in revision 40