org.salespointframework.core.events
Class FormSheetEvent
java.lang.Object
java.util.EventObject
org.salespointframework.core.events.FormSheetEvent
- All Implemented Interfaces:
- java.io.Serializable
public class FormSheetEvent
- extends java.util.EventObject
An EventObject describing a FormSheet that was set or closed at a Display.
- Since:
- v2.0
- Version:
- 2.0 27/05/1999
- Author:
- Steffen Zschaler
- See Also:
FormSheet
,
Display
,
Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
FormSheet |
getFormSheet()
Get the affected FormSheet. |
boolean |
isExplicit()
Was the event caused by a direct call to the originating method or indirectly? |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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.