Enum GraphicsBase.DragAndDropFeedback
java.lang.Object
java.lang.Enum<GraphicsBase.DragAndDropFeedback>
com.flexganttfx.view.graphics.GraphicsBase.DragAndDropFeedback
- Alle implementierten Schnittstellen:
Serializable,Comparable<GraphicsBase.DragAndDropFeedback>
- Umschließende Klasse:
GraphicsBase<R extends Row<?,?, ?>>
An enumerator used to define how to visuzalize the dragged activity
during a drag and drop operation.
- Seit:
- 1.1
- Siehe auch:
-
Enum-Konstanten - Übersicht
Enum-KonstantenEnum-KonstanteBeschreibungA snapshot image of the activity will be taken and placed below the mouse cursor.The dragged activity will be constantly rendered on a separate canvas on top of the graphics area.The dragged activity will be constantly rendered on a separate canvas on top of the graphics area. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGibt die Enumerationskonstante dieses Typs mit dem angegebenen Namen zurück.static GraphicsBase.DragAndDropFeedback[]values()Gibt ein Array mit den Konstanten dieses Enum-Typs in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - Details
-
NATIVE
A snapshot image of the activity will be taken and placed below the mouse cursor. The image will be set at the moment the drag gesture gets recognized. Optionally a drag image provider can be used. Note: the size of the image might be different than the size of the activity (platform-specific).- Seit:
- 1.1
- Siehe auch:
-
RENDERED
The dragged activity will be constantly rendered on a separate canvas on top of the graphics area. The activity is guaranteed to keep its original size.- Seit:
- 1.1
-
RENDERED_GRID_SNAPPED
The dragged activity will be constantly rendered on a separate canvas on top of the graphics area. The activity is guaranteed to keep its original size. The currently activeVirtualGridwill be used to make the dragged activity snap to the grid locations.- Seit:
- 1.1
-
-
Methodendetails
-
values
Gibt ein Array mit den Konstanten dieses Enum-Typs in der Reihenfolge ihrer Deklaration zurück.- Gibt zurück:
- ein Array mit den Konstanten dieses Enumerationstyps in der Reihenfolge ihrer Deklaration
-
valueOf
Gibt die Enumerationskonstante dieses Typs mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enumerationskonstante in diesem Typ deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)- Parameter:
name- Name der zurückzugebenden Enumerationskonstante.- Gibt zurück:
- Enumerationskonstante mit dem angegebenen Namen
- Löst aus:
IllegalArgumentException- wenn dieser Enumerationstyp keine Konstante mit dem angegebenen Namen enthältNullPointerException- wenn das Argument nicht angegeben wird
-