Package jmri.beans
Interface SilenceablePropertyChangeProvider
-
- All Superinterfaces:
PropertyChangeProvider
- All Known Subinterfaces:
AnalogActionManager
,AnalogExpressionManager
,AnalogIOManager
,AudioManager
,AudioSourceManager
,BaseManager<E>
,CatalogTreeManager
,ConditionalManager
,ConditionalNG_Manager
,DigitalActionManager
,DigitalBooleanActionManager
,DigitalExpressionManager
,GlobalVariableManager
,IdTagManager
,LightManager
,LogixManager
,LogixNG_Manager
,Manager<E>
,MemoryManager
,MeterManager
,ModuleManager
,NamedTableManager
,ProvidingManager<E>
,ProxyManager<B>
,RailComManager
,ReporterManager
,RouteManager
,SectionManager
,SensorManager
,SignalGroupManager
,SignalHeadManager
,SignalMastLogicManager
,SignalMastManager
,SignalSystemManager
,StringActionManager
,StringExpressionManager
,StringIOManager
,TransitManager
,TurnoutManager
,VariableLightManager
- All Known Implementing Classes:
AbstractAnalogIOManager
,AbstractAudioManager
,AbstractBaseManager
,AbstractLightManager
,AbstractManager
,AbstractMemoryManager
,AbstractMeterManager
,AbstractProvidingProxyManager
,AbstractProxyManager
,AbstractReporterManager
,AbstractSensorManager
,AbstractSignalHeadManager
,AbstractStringIOManager
,AbstractTurnoutManager
,AcelaLightManager
,AcelaSensorManager
,AcelaTurnoutManager
,BiDiBLightManager
,BiDiBReporterManager
,BiDiBSensorManager
,BiDiBTurnoutManager
,BlockManager
,CbusLightManager
,CbusReporterManager
,CbusSensorManager
,CbusTurnoutManager
,ConcentratorReporterManager
,ConcentratorSensorManager
,Dcc4PcReporterManager
,Dcc4PcSensorManager
,DCCppLightManager
,DCCppSensorManager
,DCCppTurnoutManager
,DefaultAnalogActionManager
,DefaultAnalogExpressionManager
,DefaultAudioManager
,DefaultAudioSourceManager
,DefaultCatalogTreeManager
,DefaultConditionalManager
,DefaultConditionalNGManager
,DefaultDigitalActionManager
,DefaultDigitalBooleanActionManager
,DefaultDigitalExpressionManager
,DefaultGlobalVariableManager
,DefaultIdTagManager
,DefaultLogixManager
,DefaultLogixNGManager
,DefaultMemoryManager
,DefaultModuleManager
,DefaultNamedTableManager
,DefaultRailComManager
,DefaultRouteManager
,DefaultSectionManager
,DefaultSignalGroupManager
,DefaultSignalMastLogicManager
,DefaultSignalMastManager
,DefaultSignalSystemManager
,DefaultStringActionManager
,DefaultStringExpressionManager
,DefaultTransitManager
,DefaultVariableLightManager
,EasyDccTurnoutManager
,EcosLocoAddressManager
,EcosReporterManager
,EcosSensorManager
,EcosTurnoutManager
,EliteXNetTurnoutManager
,EntryExitPairs
,InternalAnalogIOManager
,InternalLightManager
,InternalMeterManager
,InternalReporterManager
,InternalSensorManager
,InternalStringIOManager
,InternalTurnoutManager
,IpocsLightManager
,IpocsSensorManager
,IpocsTurnoutManager
,JMRIClientLightManager
,JMRIClientReporterManager
,JMRIClientSensorManager
,JMRIClientTurnoutManager
,LayoutBlockManager
,LnLightManager
,LnReporterManager
,LnSensorManager
,LnSensorManager
,LnStringIOManager
,LnTurnoutManager
,MarklinSensorManager
,MarklinTurnoutManager
,MqttLightManager
,MqttReporterManager
,MqttSensorManager
,MqttTurnoutManager
,MrcTurnoutManager
,Mx1TurnoutManager
,NamedBeanHandleManager
,NceLightManager
,NceSensorManager
,NceTurnoutManager
,OBlockManager
,OlcbLightManager
,OlcbReporterManager
,OlcbSensorManager
,OlcbTurnoutManager
,ProxyAnalogIOManager
,ProxyIdTagManager
,ProxyLightManager
,ProxyMeterManager
,ProxyReporterManager
,ProxySensorManager
,ProxyStringIOManager
,ProxyTurnoutManager
,RaspberryPiSensorManager
,RaspberryPiTurnoutManager
,RfidReporterManager
,RfidSensorManager
,RpsReporterManager
,RpsSensorManager
,SerialLightManager
,SerialLightManager
,SerialLightManager
,SerialLightManager
,SerialLightManager
,SerialLightManager
,SerialSensorManager
,SerialSensorManager
,SerialSensorManager
,SerialSensorManager
,SerialSensorManager
,SerialSensorManager
,SerialTurnoutManager
,SerialTurnoutManager
,SerialTurnoutManager
,SerialTurnoutManager
,SerialTurnoutManager
,SerialTurnoutManager
,SerialTurnoutManager
,SpecificLightManager
,SpecificLightManager
,SpecificLightManager
,SpecificLightManager
,SpecificLightManager
,SpecificSensorManager
,SpecificSensorManager
,SpecificSensorManager
,SpecificSensorManager
,SprogTurnoutManager
,SRCPSensorManager
,SRCPTurnoutManager
,StandaloneReporterManager
,StandaloneSensorManager
,TamsSensorManager
,TamsTurnoutManager
,TranspondingTagManager
,UsbLightManager
,WarrantManager
,XBeeLightManager
,XBeeSensorManager
,XBeeTurnoutManager
,XNetLightManager
,XNetSensorManager
,XNetTurnoutManager
,XpaTurnoutManager
,Z21ReporterManager
,Z21SensorManager
,Z21XNetTurnoutManager
,ZTC611XNetTurnoutManager
public interface SilenceablePropertyChangeProvider extends PropertyChangeProvider
Sometimes an external object needs to be able to mute property changes to prevent bottlenecks in constrained systems (e.g. when reading a file that may add a large number of Turnouts or Sensors to JMRI's internal representation of the model railroad).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setPropertyChangesSilenced(java.lang.String propertyName, boolean silenced)
Suppress sendingPropertyChangeEvent
s for the named property.-
Methods inherited from interface jmri.beans.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Method Detail
-
setPropertyChangesSilenced
void setPropertyChangesSilenced(@Nonnull java.lang.String propertyName, boolean silenced)
Suppress sendingPropertyChangeEvent
s for the named property.Stopping the suppression of sending change events may send a PropertyChangeEvent if the property changed while silenced, but otherwise should not fire a PropertyChangeEvent.
- Parameters:
propertyName
- the name of the property to mutesilenced
- true if events are to be suppressed; false otherwise- Throws:
java.lang.IllegalArgumentException
- if propertyName represents a property that should not be silenced
-
-