Uses of Enum Class
nl.tudelft.simulation.naming.context.event.ContextScope
Package
Description
The naming.context.event package contains specific classes for contexts that can notify listeners about changes in the
context tree or in its objects, based on a provided scope.
-
Uses of ContextScope in nl.tudelft.simulation.naming.context.event
Modifier and TypeMethodDescriptionstatic ContextScope
Returns the enum constant of this class with the specified name.static ContextScope[]
ContextScope.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
ContextEventProducerImpl.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope) Add a listener for the provided scope as strong reference to the BEGINNING of a queue of listeners.boolean
ContextEventProducerImpl.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, int position) Add a listener for the provided scope as strong reference to the specified position of a queue of listeners.boolean
ContextEventProducerImpl.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, int position, org.djutils.event.reference.ReferenceType referenceType) Add a listener for the provided scope to the specified position of a queue of listeners.boolean
ContextEventProducerImpl.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, org.djutils.event.reference.ReferenceType referenceType) Add a listener for the provided scope to the BEGINNING of a queue of listeners.boolean
EventContextInterface.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope) Add a listener for the provided scope as strong reference to the BEGINNING of a queue of listeners.boolean
EventContextInterface.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, int position) Add a listener for the provided scope as strong reference to the specified position of a queue of listeners.boolean
EventContextInterface.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, int position, org.djutils.event.reference.ReferenceType referenceType) Add a listener for the provided scope to the specified position of a queue of listeners.boolean
EventContextInterface.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, org.djutils.event.reference.ReferenceType referenceType) Add a listener for the provided scope to the BEGINNING of a queue of listeners.boolean
InitialEventContext.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope) Add a listener for the provided scope as strong reference to the BEGINNING of a queue of listeners.boolean
InitialEventContext.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, int position) Add a listener for the provided scope as strong reference to the specified position of a queue of listeners.boolean
InitialEventContext.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, int position, org.djutils.event.reference.ReferenceType referenceType) Add a listener for the provided scope to the specified position of a queue of listeners.boolean
InitialEventContext.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, org.djutils.event.reference.ReferenceType referenceType) Add a listener for the provided scope to the BEGINNING of a queue of listeners.boolean
RemoteEventContext.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope) Add a listener for the provided scope as strong reference to the BEGINNING of a queue of listeners.boolean
RemoteEventContext.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, int position) Add a listener for the provided scope as strong reference to the specified position of a queue of listeners.boolean
RemoteEventContext.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, int position, org.djutils.event.reference.ReferenceType referenceType) Add a listener for the provided scope to the specified position of a queue of listeners.boolean
RemoteEventContext.addListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope, org.djutils.event.reference.ReferenceType referenceType) Add a listener for the provided scope to the BEGINNING of a queue of listeners.protected String
ContextEventProducerImpl.makeRegex
(String absolutePath, ContextScope contextScope) Make a regular expression that matches the right paths to be matched.protected String
ContextEventProducerImpl.makeRegistryKey
(String absolutePath, ContextScope contextScope) Make a key consisting of the full path of the subcontext (without the trailing slash) or object in the context tree, followed by a hash code (#) and the context scope string (OBJECT_SCOPE, LEVEL_SCOPE, LEVEL_OBJECT_SCOPE, or SUBTREE_SCOPE).boolean
ContextEventProducerImpl.removeListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope) Remove the subscription of a listener for the provided scope for a specific event.boolean
EventContextInterface.removeListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope) Remove the subscription of a listener for the provided scope for a specific event.boolean
InitialEventContext.removeListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope) Remove the subscription of a listener for the provided scope for a specific event.boolean
RemoteEventContext.removeListener
(org.djutils.event.EventListener listener, String absolutePath, ContextScope contextScope) Remove the subscription of a listener for the provided scope for a specific event.