public abstract class PresentationSpaceEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PresentationSpaceEvent.Origin
Used for listener registration as well indicating the event origin
|
Modifier and Type | Field and Description |
---|---|
protected PresentationSpaceEvent.Origin |
origin
The event origin
|
protected PresentationSpace |
ps |
Modifier | Constructor and Description |
---|---|
protected |
PresentationSpaceEvent(PresentationSpace ps,
PresentationSpaceEvent.Origin origin)
Constructor for generating a new PresentationSpaceEvent with a specific
origin.
|
Modifier and Type | Method and Description |
---|---|
PresentationSpaceEvent.Origin |
getEventOrigin()
Returns the event origin, either
PresentationSpaceListener.Origin.USER or
PresentationSpaceListener.PSEventTypeHOST
|
PresentationSpace |
getPresentationSpace()
Returns the PresentationSpace that generated the event
|
String |
toString() |
protected PresentationSpaceEvent.Origin origin
protected final PresentationSpace ps
protected PresentationSpaceEvent(PresentationSpace ps, PresentationSpaceEvent.Origin origin)
ps
- The PresentationSpace instance that generated the eventorigin
- of the eventpublic PresentationSpace getPresentationSpace()
public PresentationSpaceEvent.Origin getEventOrigin()
Copyright © 2020 Micro Focus. All rights reserved.