Package jmri.beans
Interface VetoableChangeFirer
- 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,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,OlcbMeterManager,OlcbReporterManager,OlcbSensorManager,OlcbStringIOManager,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,VetoableChangeSupport,WarrantManager,XBeeLightManager,XBeeSensorManager,XBeeTurnoutManager,XNetLightManager,XNetSensorManager,XNetTurnoutManager,XpaTurnoutManager,Z21ReporterManager,Z21SensorManager,Z21XNetTurnoutManager,ZTC611XNetTurnoutManager
interface VetoableChangeFirer
Interface that defines the methods needed to fire vetoable property changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidFire a property change.voidfireVetoableChange(String propertyName, boolean oldValue, boolean newValue) Fire a property change.voidfireVetoableChange(String propertyName, int oldValue, int newValue) Fire a property change.voidfireVetoableChange(String propertyName, Object oldValue, Object newValue) Fire a property change.
-
Method Details
-
fireVetoableChange
void fireVetoableChange(String propertyName, boolean oldValue, boolean newValue) throws PropertyVetoException Fire a property change.- Parameters:
propertyName- the programmatic name of the property that was changedoldValue- the old value of the propertynewValue- the new value of the property- Throws:
PropertyVetoException- if one of listeners vetoes the property update
-
fireVetoableChange
Fire a property change.- Parameters:
event- the PropertyChangeEvent to be fired- Throws:
PropertyVetoException- if one of listeners vetoes the property update
-
fireVetoableChange
void fireVetoableChange(String propertyName, int oldValue, int newValue) throws PropertyVetoException Fire a property change.- Parameters:
propertyName- the programmatic name of the property that was changedoldValue- the old value of the propertynewValue- the new value of the property- Throws:
PropertyVetoException- if one of listeners vetoes the property update
-
fireVetoableChange
void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws PropertyVetoException Fire a property change.- Parameters:
propertyName- the programmatic name of the property that was changedoldValue- the old value of the propertynewValue- the new value of the property- Throws:
PropertyVetoException- if one of listeners vetoes the property update
-