Klasse LassoEvent
java.lang.Object
java.util.EventObject
javafx.event.Event
javafx.scene.input.InputEvent
com.flexganttfx.view.graphics.LassoEvent
- Alle implementierten Schnittstellen:
Serializable,Cloneable
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));
- Seit:
- 1.0
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic final classStores information about the last lasso operation performed by the user. -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final EventType<LassoEvent> The parent event type of all other lasso event types.static final EventType<LassoEvent> An event type used when the user finishes a selection with the lasso.static final EventType<LassoEvent> An event type used while the user is using the lasso to perform a selection.static final EventType<LassoEvent> An event type used when the user starts a selection with the lasso.Von Klasse geerbte Felder javafx.scene.input.InputEvent
ANYVon Klasse geerbte Felder javafx.event.Event
consumed, eventType, NULL_SOURCE_TARGET, targetVon Klasse geerbte Felder java.util.EventObject
source -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungLassoEvent(GraphicsBase<?> target, EventType<? extends LassoEvent> eventType, LassoEvent.LassoInfo info) Constructs a new event object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal LassoEvent.LassoInfogetInfo()Returns the detailed information about the lasso operation (selected rows, selected time interval, etc...).toString()Von Klasse geerbte Methoden javafx.scene.input.InputEvent
getEventTypeVon Klasse geerbte Methoden javafx.event.Event
clone, consume, copyFor, fireEvent, getTarget, isConsumedVon Klasse geerbte Methoden java.util.EventObject
getSource
-
Felddetails
-
ALL
The parent event type of all other lasso event types. Gets fired whenever anything changes.- Seit:
- 1.0
-
SELECTION_STARTED
An event type used when the user starts a selection with the lasso.- Seit:
- 1.0
-
SELECTION_FINISHED
An event type used when the user finishes a selection with the lasso.- Seit:
- 1.0
-
SELECTION_ONGOING
An event type used while the user is using the lasso to perform a selection.- Seit:
- 1.0
-
-
Konstruktordetails
-
LassoEvent
public LassoEvent(GraphicsBase<?> target, EventType<? extends LassoEvent> eventType, LassoEvent.LassoInfo info) Constructs a new event object.- Parameter:
target- the graphics control where the event originatedeventType- the type of the eventinfo- detailed information about the lasso operation (selected rows, selected time interval, etc...)
-
-
Methodendetails
-
getInfo
Returns the detailed information about the lasso operation (selected rows, selected time interval, etc...).- Gibt zurück:
- the lasso event information
-
toString
- Setzt außer Kraft:
toStringin KlasseEventObject
-