public abstract class AbstractEvent extends Object implements IEvent
ABOUT_MODE, ABOUT_REQUEST_EVENT, ACTION_EVENT, AFTER_CONTENT_EVENT, BEFORE_CONTENT_EVENT, COMPONENT_EVENT, COMPONENT_NODE, DEFAULT_MODE, EDIT_ACKNOWLEDGE_EVENT, EDIT_MODE, EDIT_REQUEST_EVENT, HELP_MODE, HELP_REQUEST_EVENT, LOGON_EVENT, LOGON_MODE, LOGOUT_EVENT, ON_NODE_READY_EVENT, ON_NODE_REMOVE_EVENT, ON_POM_READY_EVENT, PORTAL_NODE, PREVIEW_MODE, PREVIEW_REQUEST_EVENT, REFRESH_MODE, REFRESH_REQUEST_EVENT, REQUEST_EVENT, TEST_MODE| Constructor and Description |
|---|
AbstractEvent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBubbles()
Finds out whether this event bubbles
|
boolean |
getCancelable()
Finds out wether this event's bubbling can be canceled
|
INode |
getCurrentTarget()
Gets the current target node of this event
|
INode |
getTarget()
Gets the original target of the event.
|
EventType |
getType()
Retrieves the type of the event.
|
protected void |
setBubbles(boolean bubbles)
Sets wether this event is supposed to bubble
|
protected void |
setCancelable(boolean cancelable)
Sets wether the bubbling can be canceled
|
void |
setCurrentTarget(INode eventTarget)
Sets the current target of the event, i.e. the one those listener will have
this event dispatched to.
|
void |
setTarget(INode target)
Defines the original target of the event, i.e. the target the event was
originally fired on
Note: This method should not be called directly, instead the portal implementation will use it to indicate the event's target. |
protected void |
setType(EventType type)
Sets the type of this event
|
void |
stopPropagation()
Stops the propagation (for now only bubbling) of the event
|
public EventType getType()
public boolean getBubbles()
getBubbles in interface IEventpublic INode getCurrentTarget()
getCurrentTarget in interface IEventpublic INode getTarget()
getCurrentTargetMethod.public boolean getCancelable()
getCancelable in interface IEventpublic void stopPropagation()
stopPropagation in interface IEventpublic void setCurrentTarget(INode eventTarget)
setCurrentTarget in interface IEventeventTarget - public void setTarget(INode target)
protected void setType(EventType type)
type - protected void setBubbles(boolean bubbles)
bubbles - protected void setCancelable(boolean cancelable)
cancelable - | Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice