Package com.smartgwt.client.types
Enum DragAppearance
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<DragAppearance>
,Constable
Different types of effects for showing dragging behavior.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static DragAppearance
Returns the enum constant of this type with the specified name.static DragAppearance[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
No default drag appearance is indicated. Your custom dragging routines should implement some behavior that indicates that the user is in a dragging situation, and where the mouse is.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none". -
TRACKER
A "drag tracker" object is automatically shown and moved around with the mouse. This is generally set to an icon that represents what is being dragged. The default tracker is a 10 pixel black square, but you can customize this icon. This dragAppearance is not recommended for use with drag resizing or drag moving.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "tracker". -
TARGET
The target object is actually moved, resized, etc. in real time. This is recommended for drag repositioning, but not for drag resizing of complex objects.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "target". -
OUTLINE
An outline the size of the target object is moved, resized, etc. with the mouse. This is recommended for drag resizing, especially for objects that take a significant amount of time to draw.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "outline".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
-