class RegisteredComponents extends AnyRef
A class keeping track of all the active components and the handlers for their interactions. By default, the global GlobalRegisteredComponents is used, but you can also make and use your own.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- RegisteredComponents
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RegisteredComponents()
Value Members
- def addHandler(identifier: String, handler: ComponentHandler[_, _]): Unit
Adds a new component handler.
Adds a new component handler.
- identifier
The identifier to associate with the handler.
- handler
The handler.
- def handlerForIdentifier(identifier: String): Option[ComponentHandler[_, _]]
Try to get the handler for a given identifier.
- def removeHandler(handler: ComponentHandler[_, _]): Unit
Remove all handling of the specified handler.
Remove all handling of the specified handler.
- handler
The handler to completely unregister.
- def removeHandler(identifier: String): Unit
Remove the handler associated with an identifier.
Remove the handler associated with an identifier.
- identifier
The identifier to remove the handler for.