jmri
Interface ModifiedFlag

All Known Implementing Classes:
AbstractAudioFrame, AbstractBoardProgFrame, AbstractMonFrame, AcelaMonFrame, AcelaPacketGenFrame, ActivateTrainFrame, AlignTableFrame, AlmBrowserFrame, AnalogClockFrame, AudioBufferFrame, AudioListenerFrame, AudioSourceFrame, AudioTableFrame, AutomatTableFrame, BackupFrame, BDL16Frame, BeanTableFrame, BlockBossFrame, BoosterProgFrame, CanSendFrame, CarAttributeEditFrame, CarEditFrame, CarLoadEditFrame, CarSetFrame, CarsTableFrame, CbusConsoleFrame, CbusEventFilterFrame, CbusEventTableFrame, ClockMonFrame, ClockMonFrame, CmdStnConfigFrame, ConfigToolFrame, ConsistToolFrame, CoordinateEdit, DataSource, DebuggerFrame, DiagnosticFrame, DispatcherFrame, DS64Frame, DualDecoderSelectFrame, EasyDccMonFrame, EasyDccPacketGenFrame, EcosLocoTableFrame, EditorFrame, EditorFrame, EliteFrame, EngineAttributeEditFrame, EngineEditFrame, EngineSetFrame, EnginesTableFrame, FixedSizeEdit, FollowerFrame, HexFileFrame, ImageIndexEditor, InterchangeEditFrame, JmriJFrame, LayoutEditor, LcdClockFrame, LearnThrottleFrame, LI100Frame, LI100Frame, LI101Frame, LI101PortFrame, ListFrame, ListFrame, LIUSBConfigFrame, LIUSBFrame, LIUSBServerFrame, LnTcpDriverFrame, LoaderFrame, LoaderFrame, LoaderFrame, LocationEditFrame, LocationsByCarTypeFrame, LocationsTableFrame, LocoBufferFrame, LocoGenFrame, LocoIdFrame, LocoIOFrame, LocoMonFrame, LocoStatsFrame, LogFrame, LV102Frame, LZ100Frame, LZV100Frame, MessageFrame, MonFrame, MonitorFrame, MonitorFrame, MrcMonFrame, MS100Frame, MultiSensorIconFrame, Mx1MonFrame, NceConsistEditFrame, NceMacroEditFrame, NceMacroGenFrame, NceMonFrame, NcePacketGenFrame, NcePacketMonitorFrame, NceShowCabFrame, NetworkDriverFrame, NetworkDriverFrame, NetworkDriverFrame, NetworkDriverFrame, NetworkPortFrame, NixieClockFrame, NodeConfigFrame, NodeConfigFrame, NodeConfigFrame, NodeConfigFrame, NodeConfigFrame, NodeConfigFrame, NodeTableFrame, OperationsFrame, OperationsSetupFrame, OsIndicatorFrame, PacketGenFrame, PacketGenFrame, PacketGenFrame, PacketGenFrame, PacketTableFrame, PanelEditor, PanelEditor.JFrameItem, PaneOpsProgFrame, PaneProgFrame, PaneServiceProgFrame, PM4Frame, PollTableFrame, PowerPanelFrame, PreferencesFrame, QsiMonFrame, RenumberFrame, ReportFrame, RestoreFrame, RosterGroupTableFrame, RouteCopyFrame, RouteEditFrame, RoutesTableFrame, RpsMonFrame, RpsTrackingFrame, ScheduleEditFrame, SchedulesTableFrame, SE8Frame, SendPacketFrame, SensorGroupFrame, SensorTextEdit, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialDriverFrame, SerialMonFrame, SerialMonFrame, SerialMonFrame, SerialMonFrame, SerialMonFrame, SerialMonFrame, SerialMonFrame, SerialPacketGenFrame, SerialPacketGenFrame, SerialPacketGenFrame, SerialPacketGenFrame, SerialPacketGenFrame, SerialPacketGenFrame, SerialPacketGenFrame, SerialPortFrame, SerialSensorFrame, ServerFrame, SidingEditFrame, SimpleClockFrame, SimpleLightCtrlFrame, SimpleProgFrame, SimpleTurnoutCtrlFrame, SlotMonFrame, SoundSetFrame, SpeedometerFrame, SplashWindow, SprogConsoleFrame, SprogHexFile, SprogIIUpdateFrame, SprogMonFrame, SprogPacketGenFrame, SprogSlotMonFrame, SprogUpdateFrame, Sprogv4UpdateFrame, SprogVersionFrame, SRCPMonFrame, StackMonFrame, StagingEditFrame, StatusFrame, StatusFrame, SymbolicProgFrame, SystemInfoFrame, TextBorderSizeEdit, TextMarginSizeEdit, ThrottleWindow, TrackEditFrame, TrainEditFrame, TrainsByCarTypeFrame, TrainsTableFrame, TrainSwitchListEditFrame, TreeFrame, UsbDriverFrame, WarrantFrame, XNetMonFrame, XNetSimulatorFrame, XnTcpFrame, XpaConfigureFrame, XpaMonFrame, XpaPacketGenFrame, YardEditFrame, ZimoPacketGenFrame, ZTC640Frame

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
Author:
Bob Jacobsen Copyright (C) 2008

Method Summary
 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


Copyright © 1997 - 2009 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads