Top Description Fields Constructors Methods
com.dlsc.formsfx.model.event

public final Class FormEvent

extends Event
Class Inheritance
Imports
com.dlsc.formsfx.model.structure.Form, javafx.event.Event, .EventType

Identifies events triggered by a Form.
Author
Andres Almiray

Field Summary

Modifier and TypeField and Description
public static final EventType<FormEvent>
EVENT_FORM_PERSISTED

When a Form is persisted.

public static final EventType<FormEvent>
EVENT_FORM_RESET

When a Form is reset.

private final Form
Inherited from javafx.event.Event:
ANYconsumedeventTypeNULL_SOURCE_TARGETtarget

Constructor Summary

AccessConstructor and Description
private
FormEvent(EventType<? extends Event> eventType, Form form)

Method Summary

Modifier and TypeMethod and Description
public static FormEvent
formPersistedEvent(Form form)

Creates a new instance of FormEvent with event type set to EVENT_FORM_PERSISTED.

public static FormEvent
formResetEvent(Form form)

Creates a new instance of FormEvent with event type set to EVENT_FORM_RESET.

public final Form
Inherited from javafx.event.Event:
cloneconsumecopyForfireEventgetEventTypegetTargetisConsumed

Field Detail

EVENT_FORM_PERSISTEDback to summary
public static final EventType<FormEvent> EVENT_FORM_PERSISTED

When a Form is persisted.

EVENT_FORM_RESETback to summary
public static final EventType<FormEvent> EVENT_FORM_RESET

When a Form is reset.

formback to summary
private final Form form

Constructor Detail

FormEventback to summary
private FormEvent(EventType<? extends Event> eventType, Form form)

Method Detail

formPersistedEventback to summary
public static FormEvent formPersistedEvent(Form form)

Creates a new instance of FormEvent with event type set to EVENT_FORM_PERSISTED.

formResetEventback to summary
public static FormEvent formResetEvent(Form form)

Creates a new instance of FormEvent with event type set to EVENT_FORM_RESET.

getFormback to summary
public final Form getForm()