Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionUse
AbstractBuildable.getBuildables()instead.UseAbstractBuildable.getComponentsOf(Class)instead.UseAbstractToolbarItem.IconConfiginstead.use launch from the superclassUseAbstractToolbarItem.IconConfiginstead.use launch from the superclassnot replacedUseFileUtils.deleteDirectory(File)instead.To be replacedUseGameState.getAllPieces()instead.UseAbstractToolbarItem.IconConfiginstead.use launch from the superclassUsestringToPolygonfor parsing andPolygonEditor.setPolygon(Polygon)for setting the editor instead.field is not used anywhere and will be removed, modules should introduce their own fieldVASSAL.build.module.map.CounterDetailViewer.Visitor(CounterDetailViewer.Filter, Map, Point, boolean) UseAbstractToolbarItem.IconConfiginstead.use launch from the superclassuse launch from the superclassuse launch from the superclassUseAbstractToolbarItem.IconConfiginstead.use launch from the superclassUseAbstractToolbarItem.IconConfiginstead.use launch from the superclassUseAbstractToolbarItem.IconConfiginstead.use launch from the superclassUseAbstractToolbarItem.IconConfiginstead.use launch from the superclassUseAbstractToolbarItem.IconConfiginstead.use launch from the superclassUseAbstractToolbarItem.IconConfiginstead.use launch from the superclassNo replacementuse launch from the superclassuse launch from the superclassUseAbstractToolbarItem.IconConfiginstead.use launch from the superclassUseDataArchiveHTMLEditorKitinstead.UseConfigurer.setLabelVisible(boolean)instead.Replaced by #srcOp.useDeck(GameModule)UseImmobilized(String, GamePiece)instead.UseKeyBuffer.getPiecesIterator()instead.UseGamePieceOpinstead.useStack.asList()UseInfo.getBaseDir()instead.UseInfo.getConfDir()instead.UseSwingUtils.getScreenBounds(Component)instead.UseSystemUtils.IS_OS_MACinsteadUseInfo.getJavaBinPath()instead.UseArrayUtils.Use {link SwingWorker} now that we ship the JAR for it.UseSplitPaneinstead.UseErrorDialog.dataWarning(BadDataReport)instead.Moved toVASSAL.tools.concurrentpackage.UseHashCodeBuilderinstead.Use Apache HttpComponents instead. SeeBugUtilsfor an example.UseIOUtilsinstead.use try with resources or close and catch manuallyUseLoggerinstead.Use {link java.util.Collections.sort} instead.Use the natural ordering on Strings instead. see java.lang.String.compareTo(String)UseComparatorinstead.The situation where this was needed with mouse events is now handled bySwingUtils.isSelectionToggle(MouseEvent).in favor ofSwingUtils.isMainMouseButtonDown(MouseEvent)in favor ofSwingUtils.isContextMouseButtonDown(MouseEvent)Use !VersionUtils.isCurrent(java.lang.String)instead
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionUse
AbstractToolbarItem.IconConfiginstead.UseAbstractToolbarItem.IconConfiginstead.not replacedUseAbstractToolbarItem.IconConfiginstead.UseAbstractToolbarItem.IconConfiginstead.UseAbstractToolbarItem.IconConfiginstead.UseAbstractToolbarItem.IconConfiginstead.UseAbstractToolbarItem.IconConfiginstead.UseAbstractToolbarItem.IconConfiginstead.UseAbstractToolbarItem.IconConfiginstead.UseAbstractToolbarItem.IconConfiginstead.UseAbstractToolbarItem.IconConfiginstead.UseDataArchiveHTMLEditorKitinstead.UseGamePieceOpinstead.UseArrayUtils.Use {link SwingWorker} now that we ship the JAR for it.UseSplitPaneinstead.Moved toVASSAL.tools.concurrentpackage.UseHashCodeBuilderinstead.Use Apache HttpComponents instead. SeeBugUtilsfor an example.UseIOUtilsinstead.UseLoggerinstead.use FormattedString constructor with defaultPropertiesUse {link java.util.Collections.sort} instead.Use the natural ordering on Strings instead. see java.lang.String.compareTo(String)
-
Deprecated FieldsFieldDescriptionuse launch from the superclassuse launch from the superclassuse launch from the superclassfield is not used anywhere and will be removed, modules should introduce their own fielduse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassReplaced by #srcOp.Use
Info.getJavaBinPath()instead.
-
Deprecated MethodsMethodDescriptionUse
AbstractBuildable.getBuildables()instead.UseAbstractBuildable.getComponentsOf(Class)instead.UseFileUtils.deleteDirectory(File)instead.UseGameState.getAllPieces()instead.UsestringToPolygonfor parsing andPolygonEditor.setPolygon(Polygon)for setting the editor instead.No replacementUse boolean checkCompatibility(NodeRoom targetRoom, Listerrors) UseConfigurer.setLabelVisible(boolean)instead.UseKeyBuffer.getPiecesIterator()instead.useStack.asList()UseInfo.getBaseDir()instead.UseInfo.getConfDir()instead.UseSwingUtils.getScreenBounds(Component)instead.UseSystemUtils.IS_OS_MACinsteadUseErrorDialog.dataWarning(BadDataReport)instead.use try with resources or close and catch manuallyThe situation where this was needed with mouse events is now handled bySwingUtils.isSelectionToggle(MouseEvent).in favor ofSwingUtils.isMainMouseButtonDown(MouseEvent)in favor ofSwingUtils.isContextMouseButtonDown(MouseEvent)Use !VersionUtils.isCurrent(java.lang.String)instead
-
Deprecated ConstructorsConstructorDescriptionVASSAL.build.module.map.CounterDetailViewer.Visitor
(CounterDetailViewer.Filter, Map, Point, boolean) useDeck(GameModule)UseImmobilized(String, GamePiece)instead.