public class LassoEvent extends InputEvent
GanttChart gantt = new GanttChart(); GraphicsView graphics = gantt.getGraphics(); graphics.setOnLassoSelectionStarted(evt -> handleChange(evt));
GanttChart gantt = new GanttChart(); GraphicsView graphics = gantt.getGraphics(); graphics.addEventHandler(LassoEvent.SELECTION_STARTED, evt -> handleChange(evt));
GraphicsBase.setOnLassoSelectionStarted(javafx.event.EventHandler),
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
LassoEvent.LassoInfo |
| Modifier and Type | Field and Description |
|---|---|
static EventType<LassoEvent> |
ALL
The parent event type of all other lasso event types.
|
static EventType<LassoEvent> |
SELECTION_FINISHED
An event type used when the user finishes a selection with the lasso.
|
static EventType<LassoEvent> |
SELECTION_ONGOING
An event type used while the user is using the lasso to perform a
selection.
|
static EventType<LassoEvent> |
SELECTION_STARTED
An event type used when the user starts a selection with the lasso.
|
ANYconsumed, eventType, NULL_SOURCE_TARGET, targetsource| Constructor and Description |
|---|
LassoEvent(GraphicsBase<?> target,
EventType<? extends LassoEvent> eventType,
LassoEvent.LassoInfo info) |
| Modifier and Type | Method and Description |
|---|---|
LassoEvent.LassoInfo |
getInfo() |
String |
toString() |
getEventTypeclone, consume, copyFor, fireEvent, getTarget, isConsumedgetSourcepublic static final EventType<LassoEvent> ALL
public static final EventType<LassoEvent> SELECTION_STARTED
public static final EventType<LassoEvent> SELECTION_FINISHED
public static final EventType<LassoEvent> SELECTION_ONGOING
public LassoEvent(GraphicsBase<?> target, EventType<? extends LassoEvent> eventType, LassoEvent.LassoInfo info)
public final LassoEvent.LassoInfo getInfo()
public String toString()
toString in class EventObjectCopyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.