org.openstreetmap.josm.tools
Interface Destroyable

All Known Implementing Classes:
AboutAction, AbstractInfoAction, AbstractMergeAction, AddImageryLayerAction, AddNodeAction, AlignInCircleAction, AlignInLineAction, AudioBackAction, AudioFasterAction, AudioFastSlowAction, AudioFwdAction, AudioNextAction, AudioPlayPauseAction, AudioPrevAction, AudioSlowerAction, AutoScaleAction, ChangesetManagerToggleAction, CloseChangesetAction, CombineWayAction, CopyAction, CopyCoordinatesAction, CreateCircleAction, CreateMultipolygonAction, DeleteAction, DeleteAction, DiskAccessAction, DistributeAction, DownloadAction, DownloadPrimitiveAction, DownloadReferrersAction, DrawAction, DrawAction.SnapChangeAction, DuplicateAction, ExitAction, ExpertToggleAction, ExtrudeAction, FollowLineAction, FullscreenToggleAction, GeoImageLayer, GpxExportAction, GpxLayer, HistoryInfoAction, HistoryInfoWebAction, IconToggleButton, ImageryAdjustAction, ImageryLayer, ImproveWayAccuracyAction, InfoAction, InfoWebAction, JoinAreasAction, JoinNodeWayAction, JosmAction, JumpToAction, LassoModeAction, Layer, MainApplet.UploadPreferencesAction, Map_Rectifier_WMSmenuAction, MapFrame, MapMode, MapMover, MapPaintMenu.MapPaintAction, MarkerLayer, MergeLayerAction, MergeNodesAction, MergeSelectionAction, MirrorAction, MoveAction, MoveNodeAction, NewAction, OpenFileAction, OpenLocationAction, OrthogonalizeAction, OrthogonalizeAction.Undo, OsmDataLayer, ParallelWayAction, PasteAction, PasteTagsAction, PlayHeadDragMode, PreferencesAction, PreferenceToggleAction, PropertiesDialog.AddAction, PropertiesDialog.DeleteAction, PropertiesDialog.EditAction, PurgeAction, RedoAction, ReverseWayAction, SaveAction, SaveActionBase, SaveAsAction, SearchAction, SelectAction, SelectAllAction, SessionLoadAction, SessionSaveAsAction, ShowStatusReportAction, SideButton, SimplifyWayAction, SplitWayAction, TaggingPresetSearchAction, TMSLayer, ToggleDialog.ToggleDialogAction, ToggleGPXLinesAction, ToggleUploadDiscouragedLayerAction, UndoAction, UnGlueAction, UnselectAllAction, UpdateDataAction, UpdateModifiedAction, UpdateSelectionAction, UploadAction, UploadSelectionAction, UserListDialog.ShowUserInfoAction, ValidateAction, ValidatorLayer, VersionTable.ChangesetInfoAction, ViewportFollowToggleAction, WireframeToggleAction, WMSLayer, ZoomAction, ZoomInAction, ZoomOutAction

public interface Destroyable

Some objects like layers (when they are removed) or the whole map frame (when the last layer has been removed) have an definite set of actions to execute. This is the "destructor" interface called on those objects.


Method Summary
 void destroy()
          Called when the object has been destroyed.
 

Method Detail

destroy

void destroy()
Called when the object has been destroyed.



JOSM