Interface SmartEventSupport
-
@OpenApi public interface SmartEventSupport
Defines an interface form registering smart listeners.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
registerConfig(java.lang.Class<? extends Element> aClass, java.util.Collection<SmartListenerConfig> configs, java.beans.PropertyChangeListener listener)
Registers smart listener configurations to the specified type objects.void
unregisterConfig(java.lang.Class<? extends Element> aClass, java.util.Collection<SmartListenerConfig> configs, java.beans.PropertyChangeListener listener)
Unregisters smart listener configurations from the specified type of objects.
-
-
-
Method Detail
-
registerConfig
@OpenApi void registerConfig(java.lang.Class<? extends Element> aClass, java.util.Collection<SmartListenerConfig> configs, java.beans.PropertyChangeListener listener)
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 void unregisterConfig(java.lang.Class<? extends Element> aClass, java.util.Collection<SmartListenerConfig> configs, java.beans.PropertyChangeListener listener)
Unregisters smart listener configurations from the specified type of objects.- Parameters:
aClass
- type of object.configs
- smart listener configurations.listener
- property change listener.
-
-