Package jmri.beans
Interface VetoableChangeProvider
-
- 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
,ConstrainedArbitraryBean
,ConstrainedBean
,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
,Scale
,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
public interface VetoableChangeProvider
A set of methods that would need to be implemented to ensure the implementing class provides a complete external interface for vetoable property changes. This interface is merely a convenience for developers to ensure support for vetoable property change listening is thorough, if not complete. Developers of classes implementing this interface still need to ensure thatVetoableChangeListener
s are queried and thatPropertyChangeEvent
s are fired when properties are set.ConstrainedArbitraryBean
andConstrainedBean
provide complete implementations of this interface. This interface defines all public methods ofVetoableChangeSupport
except the methods to fire PropertyChangeEvents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Add aVetoableChangeListener
to the listener list.void
addVetoableChangeListener(java.lang.String propertyName, java.beans.VetoableChangeListener listener)
Add aVetoableChangeListener
for a specific property.java.beans.VetoableChangeListener[]
getVetoableChangeListeners()
Get allVetoableChangeListener
s currently attached to this object.java.beans.VetoableChangeListener[]
getVetoableChangeListeners(java.lang.String propertyName)
Get allVetoableChangeListener
s currently listening to changes to the specified property.void
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Remove the specified listener from this object.void
removeVetoableChangeListener(java.lang.String propertyName, java.beans.VetoableChangeListener listener)
Remove the specified listener of the specified property from this object.
-
-
-
Method Detail
-
addVetoableChangeListener
void addVetoableChangeListener(@CheckForNull java.beans.VetoableChangeListener listener)
Add aVetoableChangeListener
to the listener list.- Parameters:
listener
- The VetoableChangeListener to be added
-
addVetoableChangeListener
void addVetoableChangeListener(@CheckForNull java.lang.String propertyName, @CheckForNull java.beans.VetoableChangeListener listener)
Add aVetoableChangeListener
for a specific property.- Parameters:
propertyName
- The name of the property to listen on.listener
- The VetoableChangeListener to be added
-
getVetoableChangeListeners
@Nonnull java.beans.VetoableChangeListener[] getVetoableChangeListeners()
Get allVetoableChangeListener
s currently attached to this object.- Returns:
- An array of VetoableChangeListeners.
-
getVetoableChangeListeners
@Nonnull java.beans.VetoableChangeListener[] getVetoableChangeListeners(@CheckForNull java.lang.String propertyName)
Get allVetoableChangeListener
s currently listening to changes to the specified property.- Parameters:
propertyName
- The name of the property of interest- Returns:
- An array of VetoableChangeListeners.
-
removeVetoableChangeListener
void removeVetoableChangeListener(@CheckForNull java.beans.VetoableChangeListener listener)
Remove the specified listener from this object.- Parameters:
listener
- TheVetoableChangeListener
to remove.
-
removeVetoableChangeListener
void removeVetoableChangeListener(@CheckForNull java.lang.String propertyName, @CheckForNull java.beans.VetoableChangeListener listener)
Remove the specified listener of the specified property from this object.- Parameters:
propertyName
- The name of the property to stop listening to.listener
- TheVetoableChangeListener
to remove.
-
-