sale.events
Class FormSheetEvent
java.lang.Object
java.util.EventObject
sale.events.FormSheetEvent
- All Implemented Interfaces:
- Serializable
public class FormSheetEvent
- extends EventObject
An EventObject describing a FormSheet that was set or closed at a Display.
- Since:
- v2.0
- Author:
- Steffen Zschaler
- See Also:
FormSheet
,
Display
,
Serialized Form
Method Summary |
FormSheet |
getFormSheet()
Get the affected FormSheet. |
boolean |
isExplicit()
Was the event caused by a direct call to the originating method or indirectly? |
FormSheetEvent
public FormSheetEvent(Display src,
FormSheet fs,
boolean fExplicit)
- Create a new FormSheetEvent.
- Parameters:
src
- the Display originating the event.fs
- the FormSheet that was affected by the event.fExplicit
- was the event caused by a direct call to the originating method or indirectly?
getFormSheet
public FormSheet getFormSheet()
- Get the affected FormSheet.
- Override:
- Never
isExplicit
public boolean isExplicit()
- Was the event caused by a direct call to the originating method or indirectly?
formSheetSet
events are always considered explicit. In contrast,
formSheetRemoved
events are explicit only if they were originated as the consequence
of a call to closeFormSheet
or setFormSheet (null)
. FormSheet
removals that were caused by setting another FormSheet are not considered explicit.
- Override:
- Never