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<?,?,?>>

public static enum GraphicsBase.DragAndDropFeedback extends Enum<GraphicsBase.DragAndDropFeedback>
An enumerator used to define how to visuzalize the dragged activity during a drag and drop operation.
Seit:
1.1
Siehe auch:
  • Enum-Konstanten - Details

    • NATIVE

      public static final GraphicsBase.DragAndDropFeedback 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

      public static final GraphicsBase.DragAndDropFeedback 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

      public static final GraphicsBase.DragAndDropFeedback 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 active VirtualGrid will be used to make the dragged activity snap to the grid locations.
      Seit:
      1.1
  • Methodendetails

    • values

      public static GraphicsBase.DragAndDropFeedback[] 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

      public static GraphicsBase.DragAndDropFeedback valueOf(String name)
      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ält
      NullPointerException - wenn das Argument nicht angegeben wird