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

public final Class GroupEvent

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

Identifies events triggered by a Group.
Author
Andres Almiray

Field Summary

Modifier and TypeField and Description
public static final EventType<GroupEvent>
EVENT_GROUP_PERSISTED

When a Group is persisted.

public static final EventType<GroupEvent>
EVENT_GROUP_RESET

When a Group is reset.

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

Constructor Summary

AccessConstructor and Description
private
GroupEvent(EventType<? extends Event> eventType, Group group)

Method Summary

Modifier and TypeMethod and Description
public final Group
public static GroupEvent
groupPersistedEvent(Group group)

Creates a new instance of GroupEvent with event type set to EVENT_GROUP_PERSISTED.

public static GroupEvent
groupResetEvent(Group group)

Creates a new instance of GroupEvent with event type set to EVENT_GROUP_RESET.

Inherited from javafx.event.Event:
cloneconsumecopyForfireEventgetEventTypegetTargetisConsumed

Field Detail

EVENT_GROUP_PERSISTEDback to summary
public static final EventType<GroupEvent> EVENT_GROUP_PERSISTED

When a Group is persisted.

EVENT_GROUP_RESETback to summary
public static final EventType<GroupEvent> EVENT_GROUP_RESET

When a Group is reset.

groupback to summary
private final Group group

Constructor Detail

GroupEventback to summary
private GroupEvent(EventType<? extends Event> eventType, Group group)

Method Detail

getGroupback to summary
public final Group getGroup()
groupPersistedEventback to summary
public static GroupEvent groupPersistedEvent(Group group)

Creates a new instance of GroupEvent with event type set to EVENT_GROUP_PERSISTED.

groupResetEventback to summary
public static GroupEvent groupResetEvent(Group group)

Creates a new instance of GroupEvent with event type set to EVENT_GROUP_RESET.