Package jmri
Interface ModifiedFlag
-
- All Known Implementing Classes:
AbstractAudioFrame
,AbstractMonFrame
,AbstractPacketGenFrame
,AbstractRouteAddEditFrame
,AcelaMonFrame
,AcelaPacketGenFrame
,ActivateTrainFrame
,AddEditSingleLightControlFrame
,AddEntryExitPairFrame
,AddNodeFrame
,AddSignalMastJFrame
,AlignTableFrame
,AlternateTrackFrame
,AnalogClockFrame
,AppsLaunchFrame
,AssociateFrame
,AudioBufferFrame
,AudioListenerFrame
,AudioSourceFrame
,AudioTableFrame
,AutomationCopyFrame
,AutomationsTableFrame
,AutomationStartupFrame
,AutomationTableFrame
,AutomatTableFrame
,AutoTrainsFrame
,BeanTableFrame
,BlockBossFrame
,BlockPathEditFrame
,BuildReportOptionFrame
,CarAttributeEditFrame
,CarEditFrame
,CarLoadEditFrame
,CarSetFrame
,CarsSetFrame
,CarsTableFrame
,CbusEventHighlightFrame
,CbusFilterFrame
,CbusNodeEditEventFrame
,CbusNodeRestoreFcuFrame
,ChangeDepartureTimesFrame
,ChangeTrackFrame
,ChangeTracksFrame
,CircuitBuilder.CBFrame
,ClipboardEditor
,CMRInetManagerFrame
,CMRInetMetricsFrame
,ConditionalCopyFrame
,ConditionalEditFrame
,ConditionalFrame
,ConditionalNGDebugger
,ConditionalNGEditor
,ConfigBaseStationFrame
,ConsistToolFrame
,ControllerFilterFrame
,ControlPanelEditor
,CoordinateEdit
,DataSource
,DCCppMonFrame
,DebuggerFrame
,DecoderPro3Window
,DiagnosticFrame
,DispatcherFrame
,DisplayFrame
,DivisionEditFrame
,DmiFrame
,DrawCircle
,DrawEllipse
,DrawFrame
,DrawPolygon
,DrawRectangle
,DrawRoundRect
,DualDecoderSelectFrame
,EasyDccMonFrame
,EasyDccPacketGenFrame
,EditCircuitFrame
,EditCircuitPaths
,EditFrame
,EditManifestHeaderTextFrame
,EditManifestTextFrame
,EditNodeFrame
,Editor
,Editor.JFrameItem
,EditorFrame
,EditPortalDirection
,EditPortalFrame
,EditSignalFrame
,EditSwitchListTextFrame
,EngineAttributeEditFrame
,EngineEditFrame
,EngineSetFrame
,EnginesSetFrame
,EnginesTableFrame
,FollowerFrame
,HexFileFrame
,IconDialog
,IgnoreUsedTrackFrame
,ImageIndexEditor
,ImportLogixFrame
,IndicatorTOIconDialog
,InlineLogixNGsFrame
,InterchangeEditFrame
,ItemDialog
,ItemPalette
,JmriJFrame
,JmriJFrameWithPermissions
,JmriServerFrame
,JmriSRCPServerFrame
,LayoutEditor
,LcdClockFrame
,LearnThrottleFrame
,LI101Frame
,ListedTableFrame
,ListFrame
,ListFrame
,LIUSBConfigFrame
,LnTcpServerFrame
,LoaderFrame
,LocationCopyFrame
,LocationEditFrame
,LocationsByCarLoadFrame
,LocationsByCarTypeFrame
,LocationsTableFrame
,LocationTrackBlockingOrderFrame
,LogFrame
,LogixNGBrowseWindow
,LogixNGInitializationTable
,LV102Frame
,LZ100Frame
,LZV100Frame
,ManageLocationsFrame
,MastBuilderPane
,MdiMainFrame
,MemoryIconCoordinateEdit
,MeterFrame
,ModuleEditor
,MonitorFrame
,MultiPaneWindow
,MultiSensorIconDialog
,MultiSensorIconFrame
,NixieClockFrame
,NodeConfigFrame
,NodeConfigFrame
,NodeConfigFrame
,NodeConfigFrame
,NodeConfigFrame
,NodeConfigFrame
,NodeConfigManagerFrame
,NodeIOListFrame
,NodeSpecificFrame
,NodeTableFrame
,NXFrame
,OBlockTableFrame
,OperationsFrame
,OperationsSettingsFrame
,OptionFrame
,OsIndicatorFrame
,PacketGenFrame
,PacketGenFrame
,PacketGenFrame
,PacketGenFrame
,PacketGenFrame
,PacketGenFrame
,PacketGenFrame
,PacketGenFrame
,PacketTableFrame
,PanelEditor
,PanelProFrame
,PaneOpsProgFrame
,PaneProgFrame
,PaneServiceProgFrame
,PickFrame
,PollTableFrame
,PoolTrackFrame
,PortalEditFrame
,PowerPanelFrame
,PragotronClockFrame
,PreferencesFrame
,PrintCarRosterFrame
,PrintEngineRosterFrame
,PrintLocationsFrame
,PrintMoreOptionFrame
,PrintOptionFrame
,PrintTrainsFrame
,ProtocolOptionsFrame
,QsiMonFrame
,RenumberFrame
,ReportFrame
,RollingStockAttributeEditFrame
,RollingStockEditFrame
,RollingStockSetFrame
,RosterFrame
,RosterGroupTableFrame
,RouteAddFrame
,RouteBlockingOrderEditFrame
,RouteCopyFrame
,RouteEditFrame
,RouteEditFrame
,RoutesTableFrame
,RpsMonFrame
,RpsTrackingFrame
,ScheduleCopyFrame
,ScheduleEditFrame
,ScheduleOptionsFrame
,SchedulesAndStagingFrame
,SchedulesByLoadFrame
,SchedulesTableFrame
,SendPacketFrame
,SensorGroupFrame
,SensorTextEdit
,SerialFilterFrame
,SerialMonFrame
,SerialMonFrame
,SerialMonFrame
,SerialMonFrame
,SerialMonFrame
,SerialMonFrame
,SerialPacketGenFrame
,SerialPacketGenFrame
,SerialPacketGenFrame
,SerialPacketGenFrame
,SerialPacketGenFrame
,SerialPacketGenFrame
,SerialPacketGenFrame
,ServerFrame
,SetPhysicalLocationFrame
,SetTrainIconPositionFrame
,SetTrainIconRouteFrame
,SetupExcelProgramFrame
,SetupExcelProgramManifestFrame
,SetupExcelProgramSwitchListFrame
,ShowCarsInTrainFrame
,ShowRoutesServingLocationFrame
,ShowTrainsServingLocationFrame
,SignalEditFrame
,SignalHeadAddEditFrame
,SignalHeadIconDialog
,SignallingFrame
,SignallingSourceFrame
,SignalMastRepeaterJFrame
,SimpleClockFrame
,SimpleLightCtrlFrame
,SimpleProgFrame
,SimpleServerFrame
,SimpleTurnoutCtrlFrame
,SlipTurnoutTextEdit
,SoundSetFrame
,SpeedoConsoleFrame
,SpeedometerFrame
,SpeedProfileFrame
,SpeedProfileTable
,SprogCbusModeSwitcherFrame
,SprogCbusSimpleModeSwitcherFrame
,SprogCbusSprog3PlusModeSwitcherFrame
,SprogConsoleFrame
,SprogHexFile
,SprogIIUpdateFrame
,SprogMonFrame
,SprogPacketGenFrame
,SprogSlotMonFrame
,SprogUpdateFrame
,SprogVersionFrame
,SpurEditFrame
,StackMonFrame
,StagingEditFrame
,StatusFrame
,SwitchboardEditor
,SystemInfoFrame
,TabbedPreferencesFrame
,ThreePaneTLRWindow
,ThrottlesPreferencesWindow
,ThrottleWindow
,TieToolFrame
,TimeTableFrame
,TrackCopyFrame
,TrackDestinationEditFrame
,TrackEditCommentsFrame
,TrackEditFrame
,TrackerTableAction.TableFrame
,TrackLoadEditFrame
,TrackRoadEditFrame
,TrainByCarTypeFrame
,TrainConductorFrame
,TrainCopyFrame
,TrainEditBuildOptionsFrame
,TrainEditFrame
,TrainLoadOptionsFrame
,TrainManifestOptionFrame
,TrainRoadOptionsFrame
,TrainsByCarTypeFrame
,TrainScriptFrame
,TrainsScheduleEditFrame
,TrainsScheduleTableFrame
,TrainsScriptFrame
,TrainsTableFrame
,TrainsTableSetColorFrame
,TrainSwitchListEditFrame
,TrainSwitchListEditFrame.TrainSwitchListCommentFrame
,TreeEditor
,TreeFrame
,TreeViewer
,TwoPaneTBWindow
,UsbBrowserFrame
,UserInterface
,UserInterface
,VirtualLCDFrame
,VSDManagerFrame
,WarrantFrame
,WarrantRoute
,WarrantTableFrame
,WhereUsedFrame
,WhereUsedFrame
,XBeeAddNodeFrame
,XBeeEditNodeFrame
,XBeeNodeConfigFrame
,XpaConfigureFrame
,XpaPacketGenFrame
,YardEditFrame
,YardmasterByTrackFrame
,YardmasterFrame
,Z21ConfigFrame
public interface ModifiedFlag
Tags objects that remember whether they've been modified and need to be (optionally) stored, for example before the program terminates or when a window closes.The default state of an object is undefined.
The modified flag is not a bound parameter
This file is part of JMRI.JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- Since:
- 2.1.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getModifiedFlag()
Get the current value of the modified flag.void
setModifiedFlag(boolean flag)
Set the modified flag to a specific value
-
-
-
Method Detail
-
setModifiedFlag
void setModifiedFlag(boolean flag)
Set the modified flag to a specific value- Parameters:
flag
- true if the object has been modified
-
getModifiedFlag
boolean getModifiedFlag()
Get the current value of the modified flag.- Returns:
- true if the object has been modified and needs to be stored
-
-