public enum EffectAllowed extends Enum<EffectAllowed>
Enum Constant and Description |
---|
ALL
All operations are permitted.
|
COPY
A copy of the source item may be made at the new location.
|
COPY_LINK
A copy or link operation is permitted.
|
COPY_MOVE
A copy or move operation is permitted.
|
LINK
A link may be established to the source at the new location.
|
LINK_MOVE
A link or move operation is permitted.
|
MOVE
An item may be moved to a new location.
|
NONE
The item may not be dropped.
|
UNINITIALIZED
Default state, equivalent to ALL.
|
Modifier and Type | Method and Description |
---|---|
String |
getClientPropertyValue()
Get the lower case string value that is accepted by the client side drag
event.
|
static EffectAllowed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EffectAllowed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EffectAllowed NONE
public static final EffectAllowed COPY
public static final EffectAllowed MOVE
public static final EffectAllowed LINK
public static final EffectAllowed COPY_MOVE
public static final EffectAllowed COPY_LINK
public static final EffectAllowed LINK_MOVE
public static final EffectAllowed ALL
public static final EffectAllowed UNINITIALIZED
public static EffectAllowed[] values()
for (EffectAllowed c : EffectAllowed.values()) System.out.println(c);
public static EffectAllowed valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getClientPropertyValue()
Copyright © 2020. All rights reserved.