Class LassoEvent

All Implemented Interfaces:
Serializable, Cloneable

public class LassoEvent
extends InputEvent
Lasso events are being fired whenever the user uses the lasso tool to select a time interval on one or more rows.

Code Example 1

 GanttChart gantt = new GanttChart();
 GraphicsView graphics = gantt.getGraphics();
 graphics.setOnLassoSelectionStarted(evt -> handleChange(evt));
 

Code Example 2

 GanttChart gantt = new GanttChart();
 GraphicsView graphics = gantt.getGraphics();
 graphics.addEventHandler(LassoEvent.SELECTION_STARTED,
                evt -> handleChange(evt));
 
Since:
1.0
See Also:
GraphicsBase.setOnLassoSelectionStarted(javafx.event.EventHandler), Serialized Form
  • Field Details

  • Constructor Details

    • LassoEvent

      public LassoEvent​(GraphicsBase<?> target, EventType<? extends LassoEvent> eventType, LassoEvent.LassoInfo info)
      Constructs a new event object.
      Parameters:
      target - the graphics control where the event originated
      eventType - the type of the event
      info - detailed information about the lasso operation (selected rows, selected time interval, etc...)
  • Method Details