Enum GraphicsBase.LassoSelectionBehaviour

java.lang.Object
java.lang.Enum<GraphicsBase.LassoSelectionBehaviour>
com.flexganttfx.view.graphics.GraphicsBase.LassoSelectionBehaviour
All Implemented Interfaces:
Serializable, Comparable<GraphicsBase.LassoSelectionBehaviour>
Enclosing class:
GraphicsBase<R extends Row<?,​?,​?>>

public static enum GraphicsBase.LassoSelectionBehaviour
extends Enum<GraphicsBase.LassoSelectionBehaviour>
An enumerator used to control the selection behaviour of the lasso. In some applications it is sufficient when the bounds of an activity intersect with the bounds of the lasso, in others the activities need to be completely contained within the lasso bounds.
Since:
1.0
See Also:
GraphicsBase.setLassoSelectionBehaviour(LassoSelectionBehaviour)
  • Enum Constant Details

    • INTERSECTION

      public static final GraphicsBase.LassoSelectionBehaviour INTERSECTION
      A value indicating to the lasso selection that a simple intersection of the bounds of an activity with the bounds of the lasso is sufficient for the selection of the activity.
      Since:
      1.0
    • TIME_INTERVAL_CONTAINMENT

      public static final GraphicsBase.LassoSelectionBehaviour TIME_INTERVAL_CONTAINMENT
      A value indicating to the lasso selection that the time interval of an activity has to be completely contained within the time interval defined by the lasso in order for the activity to become selected.
      Since:
      1.0
    • BOUNDS_CONTAINMENT

      public static final GraphicsBase.LassoSelectionBehaviour BOUNDS_CONTAINMENT
      A value indicating to the lasso selection that the bounds of an activity need to be completely contained within the bounds of the lasso in order for the activity to become selected.
      Since:
      1.0
  • Method Details

    • values

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

      public static GraphicsBase.LassoSelectionBehaviour valueOf​(String name)
      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 name
      NullPointerException - if the argument is null