Package jmri.beans

Interface PropertyChangeFirer

All Known Implementing Classes:
AbstractAnalogIOManager, AbstractAudioManager, AbstractLightManager, AbstractManager, AbstractMemoryManager, AbstractMeterManager, AbstractPowerManager, AbstractPreferencesManager, AbstractProgrammer, AbstractProvidingProxyManager, AbstractProxyManager, AbstractReporterManager, AbstractSensorManager, AbstractServerPreferences, AbstractSignalHeadManager, AbstractStringIOManager, AbstractThrottle, AbstractTurnoutManager, AcelaLightManager, AcelaSensorManager, AcelaSystemConnectionMemo, AcelaTurnoutManager, Action, ActivateTrainScheduleAction, AnymaDMX_SystemConnectionMemo, ApplyTrainScheduleAction, ArbitraryBean, Automation, AutomationItem, AutomationManager, Bean, BeanSetting, BlockManager, BugReport, BuildTrainAction, BuildTrainIfSelectedAction, CanSystemConnectionMemo, Car, CarColors, CarLengths, CarLoads, CarManager, CarOwners, CarRoads, CarTypes, CbusDccOpsModeProgrammer, CbusDccProgrammer, CbusDccProgrammerManager, CbusLightManager, CbusPowerManager, CbusPreferences, CbusProgrammer, CbusProgrammerManager, CbusReporterManager, CbusSensorManager, CbusThrottle, CbusTurnoutManager, CMRISystemConnectionMemo, CommonTurnoutOperation, ConcentratorReporterManager, ConcentratorSensorManager, ConcentratorSystemConnectionMemo, ConflictingSystemConnectionMemo, ConnectionConfigManager, Consist, ConsistPreferencesManager, ConstrainedArbitraryBean, ConstrainedBean, Dcc4PcOpsModeProgrammer, Dcc4PcProgrammerManager, Dcc4PcReporterManager, Dcc4PcSensorManager, Dcc4PcSystemConnectionMemo, DCCppLightManager, DCCppOpsModeProgrammer, DCCppPowerManager, DCCppProgrammer, DCCppProgrammerManager, DCCppSensorManager, DCCppSystemConnectionMemo, DCCppThrottle, DCCppTurnoutManager, DebugProgrammerManager, DebugThrottle, DefaultAudioManager, DefaultCatalogTreeManager, DefaultConditionalManager, DefaultIdTagManager, DefaultLogixManager, DefaultMemoryManager, DefaultPowerManager, DefaultProgrammerManager, DefaultRailComManager, DefaultRouteManager, DefaultShutDownManager, DefaultSignalGroupManager, DefaultSignalMastLogicManager, DefaultSignalMastManager, DefaultSignalSystemManager, DefaultSystemConnectionMemo, DefaultVariableLightManager, DeferringProgrammerManager, DeselectTrainAction, DirectSystemConnectionMemo, EasyDccOpsModeProgrammer, EasyDccPowerManager, EasyDccProgrammer, EasyDccProgrammerManager, EasyDccSystemConnectionMemo, EasyDccThrottle, EasyDccTurnoutManager, EcosDccThrottle, EcosLocoAddress, EcosLocoAddressManager, EcosOpsModeProgrammer, EcosPowerManager, EcosProgrammer, EcosProgrammerManager, EcosReporterManager, EcosSensorManager, EcosSystemConnectionMemo, EcosTurnoutManager, EditorManager, EliteXNetProgrammer, EliteXNetSystemConnectionMemo, EliteXNetThrottle, EliteXNetTurnoutManager, Engine, EngineLengths, EngineManager, EngineModels, EngineTypes, EnhancementRequest, EntryExitPairs, FileLocationsPreferences, FileUtilSupport, GenerateSwitchListAction, GenerateSwitchListChangesAction, GotoAction, GotoFailureAction, GotoSuccessAction, GrapevineSystemConnectionMemo, GuiLafPreferencesManager, GuiLafPreferencesManager, HaltAction, HexFileSystemConnectionMemo, Ib1Throttle, Ib2Throttle, IEEE802154SystemConnectionMemo, InternalAnalogIOManager, InternalLightManager, InternalMeterManager, InternalReporterManager, InternalSensorManager, InternalStringIOManager, InternalSystemConnectionMemo, InternalTurnoutManager, IpocsLightManager, IpocsSensorManager, IpocsSystemConnectionMemo, IpocsTurnoutManager, IssueReport, IsTrainEnRouteAction, JMRIClientLightManager, JMRIClientPowerManager, JMRIClientReporterManager, JMRIClientSensorManager, JMRIClientSystemConnectionMemo, JMRIClientTurnoutManager, JmriJTablePersistenceManager, JmriSRCPServerPreferences, JmriUserPreferencesManager, JsonConsistManager, JsonServerPreferences, JsonServerPreferences, Kernel, LayoutBlockManager, LayoutTrackExpectedState, LI100XNetProgrammer, LnLightManager, LnOpsModeProgrammer, LnPowerManager, LnPr2PowerManager, LnProgrammerManager, LnReporterManager, LnSensorManager, LnSensorManager, LnTcpPreferences, LnTurnoutManager, Location, LocationManager, LocoIOData, LocoNetSystemConnectionMemo, LocoNetThrottle, ManagerDefaultSelector, MapleSystemConnectionMemo, MarklinPowerManager, MarklinSensorManager, MarklinSystemConnectionMemo, MarklinThrottle, MarklinTurnoutManager, MessageYesNoAction, MoveTrainAction, MqttLightManager, MqttSensorManager, MqttSystemConnectionMemo, MqttTurnoutManager, MrcOpsModeProgrammer, MrcPowerManager, MrcProgrammer, MrcProgrammerManager, MrcSystemConnectionMemo, MrcThrottle, MrcTurnoutManager, Mx1PowerManager, Mx1Programmer, Mx1ProgrammerManager, Mx1SystemConnectionMemo, Mx1Throttle, Mx1TurnoutManager, NamedBeanExpectedState, NamedBeanExpectedValue, NamedBeanHandleManager, NceLightManager, NceOpsModeProgrammer, NcePowerManager, NceProgrammer, NceProgrammerManager, NceSensorManager, NceSystemConnectionMemo, NceThrottle, NceTurnoutManager, NoAction, NoFeedbackTurnoutOperation, OakTreeSystemConnectionMemo, OBlockManager, OlcbLightManager, OlcbProgrammer, OlcbProgrammerManager, OlcbSensorManager, OlcbSystemConnectionMemo, OlcbThrottle, OlcbTurnoutManager, Pool, PR2SystemConnectionMemo, Pr2Throttle, PR3SystemConnectionMemo, PR4SystemConnectionMemo, PreferencesBean, PrintSwitchListAction, PrintSwitchListChangesAction, PrintTrainManifestAction, PrintTrainManifestIfSelectedAction, ProfileManager, ProgDebugger, ProgrammerConfigManager, PropertyChangeSupport, ProxyAnalogIOManager, ProxyIdTagManager, ProxyLightManager, ProxyMeterManager, ProxyReporterManager, ProxySensorManager, ProxyStringIOManager, ProxyTurnoutManager, QsiProgrammer, QsiSystemConnectionMemo, RaspberryPiSensorManager, RaspberryPiSystemConnectionMemo, RaspberryPiTurnoutManager, RawTurnoutOperation, ResetTrainAction, ResumeAutomationAction, RfidReporterManager, RfidSensorManager, RfidSystemConnectionMemo, RocoXNetThrottle, RollingStock, RollingStockAttribute, RollingStockGroup, RollingStockManager, RosterConfigManager, RosterEntry, RosterGroup, Route, RouteLocation, RouteManager, RpsReporterManager, RpsSensorManager, RpsSystemConnectionMemo, RunAutomationAction, RunSwitchListAction, RunSwitchListChangesAction, RunTrainAction, Scale, Schedule, ScheduleItem, ScheduleManager, SecsiSystemConnectionMemo, SectionManager, SelectTrainAction, SensorTurnoutOperation, SerialLightManager, SerialLightManager, SerialLightManager, SerialLightManager, SerialLightManager, SerialLightManager, SerialSensorManager, SerialSensorManager, SerialSensorManager, SerialSensorManager, SerialSensorManager, SerialSensorManager, SerialSystemConnectionMemo, SerialSystemConnectionMemo, SerialThrottle, SerialTurnoutManager, SerialTurnoutManager, SerialTurnoutManager, SerialTurnoutManager, SerialTurnoutManager, SerialTurnoutManager, SerialTurnoutManager, Setup, SignalSpeedMap, SimpleServerPreferences, SlotManager, SpecificLightManager, SpecificLightManager, SpecificLightManager, SpecificLightManager, SpecificSensorManager, SpecificSensorManager, SpecificSensorManager, SpecificSensorManager, SpecificSystemConnectionMemo, SpecificSystemConnectionMemo, SpecificSystemConnectionMemo, SpecificSystemConnectionMemo, SpeedoSystemConnectionMemo, SprogCSThrottle, SprogOpsModeProgrammer, SprogPowerManager, SprogProgrammer, SprogProgrammerManager, SprogSystemConnectionMemo, SprogThrottle, SprogTurnoutManager, SRCPBusConnectionMemo, SRCPPowerManager, SRCPProgrammer, SRCPProgrammerManager, SRCPSensorManager, SRCPSystemConnectionMemo, SRCPThrottle, SRCPTurnoutManager, StandaloneReporterManager, StandaloneSensorManager, StandaloneSystemConnectionMemo, StartupActionModelUtil, StartupActionsManager, StartupActionsManager, StopAutomationAction, SystemConnectionMemoManager, SystemConsolePreferencesManager, TamsOpsModeProgrammer, TamsPowerManager, TamsProgrammer, TamsProgrammerManager, TamsSensorManager, TamsSystemConnectionMemo, TamsThrottle, TamsTurnoutManager, TerminateTrainAction, Throttle, TmccSystemConnectionMemo, Track, Train, TrainManager, TrainSchedule, TrainScheduleManager, TransitManager, TranspondingTagManager, TurnoutOperation, UhlenbrockProgrammerManager, UhlenbrockSlotManager, UhlenbrockSystemConnectionMemo, UpdateSwitchListAction, UsbDcs240SystemConnectionMemo, UsbDcs52SystemConnectionMemo, UsbLightManager, VetoableChangeSupport, WaitSwitchListAction, WaitTrainAction, WaitTrainTerminatedAction, WarrantManager, WarrantPreferences, WebAppManager, WebServerPreferences, XBeeConnectionMemo, XBeeLightManager, XBeeSensorManager, XBeeTurnoutManager, XNetLightManager, XNetOpsModeProgrammer, XNetPowerManager, XNetProgrammer, XNetProgrammerManager, XNetSensorManager, XNetSystemConnectionMemo, XNetThrottle, XNetTurnoutManager, XpaPowerManager, XpaSystemConnectionMemo, XpaThrottle, XpaTurnoutManager, Z21ReporterManager, Z21SensorManager, Z21SystemConnectionMemo, Z21XNetOpsModeProgrammer, Z21XNetProgrammer, Z21XNetProgrammerManager, Z21XNetThrottle, Z21XNetTurnoutManager, ZeroConfPreferences, ZTC611XNetTurnoutManager

public interface PropertyChangeFirer
Interface that defines the methods needed to fire property changes.
  • Method Details

    • fireIndexedPropertyChange

      void fireIndexedPropertyChange​(String propertyName, int index, boolean oldValue, boolean newValue)
      Fire an indexed property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
      Parameters:
      propertyName - the programmatic name of the property that was changed
      index - the index of the property element that was changed
      oldValue - the old value of the property
      newValue - the new value of the property
    • fireIndexedPropertyChange

      void fireIndexedPropertyChange​(String propertyName, int index, int oldValue, int newValue)
      Fire an indexed property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
      Parameters:
      propertyName - the programmatic name of the property that was changed
      index - the index of the property element that was changed
      oldValue - the old value of the property
      newValue - the new value of the property
    • fireIndexedPropertyChange

      void fireIndexedPropertyChange​(String propertyName, int index, Object oldValue, Object newValue)
      Fire an indexed property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
      Parameters:
      propertyName - the programmatic name of the property that was changed
      index - the index of the property element that was changed
      oldValue - the old value of the property
      newValue - the new value of the property
    • firePropertyChange

      void firePropertyChange​(String propertyName, boolean oldValue, boolean newValue)
      Fire a property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
      Parameters:
      propertyName - the programmatic name of the property that was changed
      oldValue - the old value of the property
      newValue - the new value of the property
    • firePropertyChange

      Fire a property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
      Parameters:
      event - the PropertyChangeEvent to be fired
    • firePropertyChange

      void firePropertyChange​(String propertyName, int oldValue, int newValue)
      Fire a property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
      Parameters:
      propertyName - the programmatic name of the property that was changed
      oldValue - the old value of the property
      newValue - the new value of the property
    • firePropertyChange

      void firePropertyChange​(String propertyName, Object oldValue, Object newValue)
      Fire a property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
      Parameters:
      propertyName - the programmatic name of the property that was changed
      oldValue - the old value of the property
      newValue - the new value of the property