Package org.openstreetmap.josm.tools
Interface Destroyable
-
- All Known Implementing Classes:
AboutAction,AbstractAudioAction,AbstractCachedTileSourceLayer,AbstractIdTextField,AbstractInfoAction,AbstractMergeAction,AbstractModifiableLayer,AbstractOsmDataLayer,AbstractPasteAction,AbstractRelationAction,AbstractTileSourceLayer,AbstractUploadAction,ActivateLayerAction,AddImageryLayerAction,AddNodeAction,AddNoteAction,AddSelectionToRelations,AdvancedPreference.UnclearableOsmDataLayer,AlignInCircleAction,AlignInLineAction,AudioBackAction,AudioFasterAction,AudioFastSlowAction,AudioFwdAction,AudioMarker,AudioNextAction,AudioPlayPauseAction,AudioPrevAction,AudioSlowerAction,AutoCompletingTextField,AutoCompTextField,AutoScaleAction,ButtonMarker,ChangesetDetailPanel,ChangesetDialog,ChangesetDialog.CloseOpenChangesetsAction,ChangesetDialog.LaunchChangesetManagerAction,ChangesetDialog.ReadChangesetsAction,ChangesetDialog.SelectObjectsAction,ChangesetDialog.ShowChangesetInfoAction,ChangesetIdTextField,ChangesetManagerToggleAction,CloseChangesetAction,CombineWayAction,CommandStackDialog,CommandStackDialog.SelectAction,CommandStackDialog.SelectAndZoomAction,CommandStackDialog.UndoRedoAction,ConflictDialog,CoordinateInfoViewer,CoordinateInfoViewer.DistanceViewer,CoordinateInfoViewer.LatLonViewer,CopyAction,CopyCoordinatesAction,CopyUrlAction,CorrelateGpxWithImages,CorrelationSupportLayer,CreateCircleAction,CreateMultipolygonAction,CycleLayerDownAction,CycleLayerUpAction,DeleteAction,DeleteAction,DeleteLayerAction,DeleteRelationsAction,DialogsPanel,DialogsToggleAction,DisableShortcutsOnFocusGainedTextField,DiskAccessAction,DistributeAction,DownloadAction,DownloadAlongAction,DownloadAlongTrackAction,DownloadAlongWayAction,DownloadMembersAction,DownloadNotesInViewAction,DownloadOsmInViewAction,DownloadPrimitiveAction,DownloadReferrersAction,DownloadRelationAction,DownloadSelectedIncompleteMembersAction,DrawAction,DrawAction.SnapChangeAction,DrawBoundariesOfDownloadedDataAction,DuplicateAction,DuplicateRelationAction,EditImagesSequenceAction,EditRelationAction,ExitAction,ExpertToggleAction,ExportRelationToGpxAction,ExtrudeAction,ExtrudeAction.DualAlignChangeAction,FilterDialog,FilterDialog.AddAction,FilterDialog.DeleteAction,FilterDialog.EditAction,FilterDialog.FilterAction,FilterDialog.MoveDownAction,FilterDialog.MoveUpAction,FilterDialog.ReverseAction,FilterDialog.SortAction,FilterField,FollowLineAction,FullscreenToggleAction,GeoImageLayer,GettingStarted.LinkGeneral,GpxExportAction,GpxLayer,GpxRouteLayer,HelpAction,HelpAwareOptionPane.HelpAction,HistoryBrowser,HistoryBrowserPanel,HistoryInfoAction,HistoryInfoWebAction,HistoryViewerPanel,IconToggleButton,ImageDisplay,ImageMarker,ImageryAdjustAction,ImageryLayer,ImageryMenu.AdjustImageryOffsetAction,ImageViewerDialog,ImageViewerDialog.ImageAction,ImageViewerDialog.ImageCenterViewAction,ImageViewerDialog.ImageCollapseAction,ImageViewerDialog.ImageCopyPathAction,ImageViewerDialog.ImageExtendedInfoAction,ImageViewerDialog.ImageFirstAction,ImageViewerDialog.ImageLastAction,ImageViewerDialog.ImageNextAction,ImageViewerDialog.ImageOpenExternalAction,ImageViewerDialog.ImagePreviousAction,ImageViewerDialog.ImageRememberAction,ImageViewerDialog.ImageRemoveAction,ImageViewerDialog.ImageRemoveFromDiskAction,ImageViewerDialog.ImageZoomAction,ImproveWayAccuracyAction,InfoAction,InfoWebAction,InvertSelectionAction,JoinAreasAction,JoinNodeWayAction,JosmAction,JosmEditorPane,JosmTextArea,JosmTextField,JumpToAction,Layer,Layer,LayerListDialog,MapFrame,MapMode,MapMover,MapPaintDialog,MapPaintDialog.MoveUpDownAction,MapPaintDialog.OnOffAction,MapPaintMenu.MapPaintAction,MapRectifierWMSmenuAction,MapSlider,MapStatus,Marker,MarkerLayer,MenuItemSearchDialog.Action,MergeLayerAction,MergeNodesAction,MergeSelectionAction,MinimapDialog,MirrorAction,MoveAction,MoveNodeAction,MVTLayer,NewAction,NodeListViewer,NoteLayer,NotesDialog,NotesDialog.AddCommentAction,NotesDialog.CloseAction,NotesDialog.NewAction,NotesDialog.OpenInBrowserAction,NotesDialog.ReopenAction,NotesDialog.SortAction,OnlineResourceMenu.ToggleOnlineResourceAction,OpenFileAction,OpenLocationAction,OrthogonalizeAction,OrthogonalizeAction.Undo,OsmDataLayer,OsmIdTextField,OsmLinkPaster.NoWarnOpenLocationAction,ParallelWayAction,PasteAction,PasteAtSourcePositionAction,PasteTagsAction,PlayHeadDragMode,PlayHeadMarker,PreferencesAction,PreferenceToggleAction,PropertiesDialog,PropertiesDialog.AddAction,PropertiesDialog.DeleteAction,PropertiesDialog.EditAction,PurgeAction,RecentRelationsAction,RedoAction,RelationListDialog,RelationListDialog.NewAction,RelationMemberListViewer,ReorderImageryLayersAction,ReportBugAction,RestartAction,ReverseWayAction,SaveAction,SaveActionBase,SaveAsAction,SaveLayersDialog.SaveSessionButtonAction,SearchAction,SearchNotesDownloadAction,SelectAction,SelectAllAction,SelectInRelationListAction,SelectionListDialog,SelectLassoAction,SelectMembersAction,SelectNonBranchingWaySequencesAction,SelectRelationAction,SelectSharedChildObjectsAction,SessionLoadAction,SessionSaveAction,SessionSaveAsAction,ShowStatusReportAction,SideButton,SimplifyWayAction,SplitMode,SplitWayAction,TaggingPresetSearchAction,TaggingPresetSearchPrimitiveDialog.Action,TaggingPresetSelector,TagInfoViewer,TiledRenderToggleAction,TMSLayer,ToggleAction,ToggleDialog,ToggleDialog.TitleBar,ToggleDialog.ToggleDialogAction,UndoAction,UnGlueAction,UnJoinNodeWayAction,UnselectAllAction,UpdateDataAction,UpdateModifiedAction,UpdateSelectionAction,UploadAction,UploadNotesAction,UploadSelectionAction,UserListDialog,UserListDialog.SelectUsersPrimitivesAction,UserListDialog.ShowUserInfoAction,ValidateAction,ValidatorDialog,ValidatorLayer,ValidatorTreePanel,VectorDataStore,VersionInfoPanel,VersionTable,VersionTable.ChangesetInfoAction,VersionTable.UserInfoAction,VersionTable.VersionTablePopupMenu,ViewportFollowToggleAction,WebMarker,WikimediaCommonsLayer,WikimediaCommonsLoader.WikimediaCommonsLoadImagesAction,WireframeToggleAction,WMSLayer,WMTSLayer,ZoomAction,ZoomInAction,ZoomOutAction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Destroyable
Some objects like layers (when they are removed) or the whole map frame (when the last layer has been removed) have a definite set of actions to execute. This is the "destructor" interface called on those objects.- Since:
- 208 (creation), 10600 (functional interface)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()Called when the object has been destroyed.
-
-
-
Method Detail
-
destroy
void destroy()
Called when the object has been destroyed.
-
-