Interface SmartEventSupport
-
@OpenApi public interface SmartEventSupport
Defines an interface form registering smart listeners.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
register(Registration registration)
Registers smart listener configurations to the specified type objects.void
registerConfig(java.lang.Class<? extends Element> aClass, java.util.Collection<SmartListenerConfig> configs, java.beans.PropertyChangeListener listener)
Deprecated, for removal: This API element is subject to removal in a future version.register(Registration)
method should be used instead of this method.default void
unregister(Registration registration)
Unregisters smart listener configurations from the specified type of objects.void
unregisterConfig(java.lang.Class<? extends Element> aClass, java.util.Collection<SmartListenerConfig> configs, java.beans.PropertyChangeListener listener)
Deprecated, for removal: This API element is subject to removal in a future version.unregister(Registration)
method should be used instead of this method.
-
-
-
Method Detail
-
register
@OpenApi default void register(Registration registration)
Registers smart listener configurations to the specified type objects. Creates smart listeners for all existing model elements of the specified type.- Parameters:
registration
- registration object.
-
unregister
@OpenApi default void unregister(Registration registration)
Unregisters smart listener configurations from the specified type of objects.- Parameters:
registration
- registration.
-
registerConfig
@OpenApi @Deprecated(since="2022x Refresh1", forRemoval=true) void registerConfig(java.lang.Class<? extends Element> aClass, java.util.Collection<SmartListenerConfig> configs, java.beans.PropertyChangeListener listener)
Deprecated, for removal: This API element is subject to removal in a future version.register(Registration)
method should be used instead of this method.Registers smart listener configurations to the specified type objects. Creates smart listeners for all existing model elements of the specified type.- Parameters:
aClass
- type of objects to that the smart listener configurations must be registered.configs
- smart listener configurations.listener
- property change listener that will receive property change events according to specified smart listener configurations.
-
unregisterConfig
@OpenApi @Deprecated(since="2022x Refresh1", forRemoval=true) void unregisterConfig(java.lang.Class<? extends Element> aClass, java.util.Collection<SmartListenerConfig> configs, java.beans.PropertyChangeListener listener)
Deprecated, for removal: This API element is subject to removal in a future version.unregister(Registration)
method should be used instead of this method.Unregisters smart listener configurations from the specified type of objects.- Parameters:
aClass
- type of object.configs
- smart listener configurations.listener
- property change listener.
-
-