Top Description Fields Constructors Methods
com.dlsc.preferencesfx

public Class PreferencesFxEvent

extends Event
Class Inheritance
Imports
javafx.event.Event, .EventType

Identifies events triggered by PreferencesFx when the dialog is closed.
Author
Andres Almiray

Field Summary

Modifier and TypeField and Description
public static final EventType<PreferencesFxEvent>
EVENT_PREFERENCES_NOT_SAVED

When preferences are not saved (dialog was cancelled).

public static final EventType<PreferencesFxEvent>
EVENT_PREFERENCES_SAVED

When preferences are saved (dialog was closed).

Inherited from javafx.event.Event:
ANYconsumedeventTypeNULL_SOURCE_TARGETtarget

Constructor Summary

AccessConstructor and Description
private
PreferencesFxEvent(EventType<? extends Event> eventType)

Method Summary

Modifier and TypeMethod and Description
public static PreferencesFxEvent

Returns:

the newly created PreferencesFxEvent.
preferencesNotSavedEvent
()

Creates a new instance of PreferencesFxEvent with event type set to EVENT_PREFERENCES_NOT_SAVED.

public static PreferencesFxEvent

Returns:

the newly created PreferencesFxEvent.
preferencesSavedEvent
()

Creates a new instance of PreferencesFxEvent with event type set to EVENT_PREFERENCES_SAVED.

Inherited from javafx.event.Event:
cloneconsumecopyForfireEventgetEventTypegetTargetisConsumed

Field Detail

EVENT_PREFERENCES_NOT_SAVEDback to summary
public static final EventType<PreferencesFxEvent> EVENT_PREFERENCES_NOT_SAVED

When preferences are not saved (dialog was cancelled).

EVENT_PREFERENCES_SAVEDback to summary
public static final EventType<PreferencesFxEvent> EVENT_PREFERENCES_SAVED

When preferences are saved (dialog was closed).

Constructor Detail

PreferencesFxEventback to summary
private PreferencesFxEvent(EventType<? extends Event> eventType)

Method Detail

preferencesNotSavedEventback to summary
public static PreferencesFxEvent preferencesNotSavedEvent()

Creates a new instance of PreferencesFxEvent with event type set to EVENT_PREFERENCES_NOT_SAVED.

Returns:PreferencesFxEvent

the newly created PreferencesFxEvent.

preferencesSavedEventback to summary
public static PreferencesFxEvent preferencesSavedEvent()

Creates a new instance of PreferencesFxEvent with event type set to EVENT_PREFERENCES_SAVED.

Returns:PreferencesFxEvent

the newly created PreferencesFxEvent.