Deprecated API


Contents
Deprecated Exceptions
sim.util.CausedRuntimeException
          Use standard RuntimeExceptions in Java 1.4 now 
 

Deprecated Fields
sim.portrayal.network.SimpleEdgePortrayal2D.SHAPE_LINE
          Use SHAPE_LINE_ROUND_ENDS 
 

Deprecated Methods
sim.util.gui.LabelledList.addComponent(Component)
          Inserts a component spanning all five columns. Synonym for add(comp) 
sim.field.network.Network.cloneGraph()
            
sim.util.media.chart.ChartGenerator.createFrame(Object)
          use createFrame() 
sim.display.SimpleController.doChangeCode(Runnable)
            
sim.display.Controller.doChangeCode(Runnable)
            
sim.display.Console.doChangeCode(Runnable)
            
sim.portrayal.FieldPortrayal2D.getClipLocation(DrawInfo2D)
          use getPositionLocation 
sim.util.media.chart.XYChartGenerator.getDomainAxisLabel()
          Returns the name of the Domain Axis label -- usually this is the X axis. 
sim.util.media.chart.ChartGenerator.getGlobalAttributeCount()
          Use getNumGlobalAttributes 
sim.portrayal.simple.TrailedPortrayal2D.getGrowTrailOnlyWhenSelected()
          use getOnlyGrowTrailWhenSelected 
sim.display.SimpleController.getIncrementSeedOnPlay()
          renamed to getIncrementSeedOnStop 
sim.display.Console.getIncrementSeedOnPlay()
          renamed to getIncrementSeedOnStop 
sim.util.media.chart.SeriesAttributes.getName()
          Returns the name of the series. 
sim.field.grid.SparseGrid2D.getNeighborsAndCorrespondingLocationsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.SparseGrid2D.getNeighborsAndCorrespondingPositionsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.SparseGrid2D.getNeighborsAndCorrespondingPositionsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.SparseGrid2D.getNeighborsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.ObjectGrid2D.getNeighborsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.DenseGrid2D.getNeighborsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.DoubleGrid2D.getNeighborsHamiltonianDistance(int, int, int, boolean, DoubleBag, IntBag, IntBag)
            
sim.field.grid.SparseGrid2D.getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag)
            
sim.field.grid.Grid2D.getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag)
            
sim.field.grid.AbstractGrid2D.getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag)
            
sim.field.grid.IntGrid2D.getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag, IntBag)
            
sim.field.grid.SparseGrid3D.getNeighborsHamiltonianDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag)
            
sim.field.grid.ObjectGrid3D.getNeighborsHamiltonianDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag)
            
sim.field.grid.DenseGrid3D.getNeighborsHamiltonianDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag)
            
sim.field.grid.DoubleGrid3D.getNeighborsHamiltonianDistance(int, int, int, int, boolean, DoubleBag, IntBag, IntBag, IntBag)
            
sim.field.grid.SparseGrid3D.getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag)
            
sim.field.grid.Grid3D.getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag)
            
sim.field.grid.AbstractGrid3D.getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag)
            
sim.field.grid.IntGrid3D.getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag, IntBag)
            
sim.field.grid.SparseGrid2D.getNeighborsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.ObjectGrid2D.getNeighborsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.DenseGrid2D.getNeighborsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.DoubleGrid2D.getNeighborsHexagonalDistance(int, int, int, boolean, DoubleBag, IntBag, IntBag)
            
sim.field.grid.SparseGrid2D.getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag)
            
sim.field.grid.Grid2D.getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag)
            
sim.field.grid.AbstractGrid2D.getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag)
            
sim.field.grid.IntGrid2D.getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag, IntBag)
            
sim.field.grid.SparseGrid2D.getNeighborsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.ObjectGrid2D.getNeighborsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.DenseGrid2D.getNeighborsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag)
            
sim.field.grid.DoubleGrid2D.getNeighborsMaxDistance(int, int, int, boolean, DoubleBag, IntBag, IntBag)
            
sim.field.grid.SparseGrid2D.getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag)
            
sim.field.grid.Grid2D.getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag)
            
sim.field.grid.AbstractGrid2D.getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag)
            
sim.field.grid.IntGrid2D.getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag, IntBag)
            
sim.field.grid.ObjectGrid3D.getNeighborsMaxDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag)
            
sim.field.grid.DenseGrid3D.getNeighborsMaxDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag)
            
sim.field.grid.DoubleGrid3D.getNeighborsMaxDistance(int, int, int, int, boolean, DoubleBag, IntBag, IntBag, IntBag)
            
sim.field.grid.SparseGrid3D.getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag)
            
sim.field.grid.Grid3D.getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag)
            
sim.field.grid.AbstractGrid3D.getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag)
            
sim.field.grid.IntGrid3D.getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag, IntBag)
            
sim.portrayal.network.SpatialNetwork2D.getObjectLocation(Object)
            
sim.field.continuous.Continuous2D.getObjectsExactlyWithinDistance(Double2D, double)
            
sim.field.continuous.Continuous2D.getObjectsExactlyWithinDistance(Double2D, double, boolean)
            
sim.field.continuous.Continuous2D.getObjectsExactlyWithinDistance(Double2D, double, boolean, boolean, boolean, Bag)
            
sim.field.continuous.Continuous3D.getObjectsExactlyWithinDistance(Double3D, double)
            
sim.field.continuous.Continuous3D.getObjectsExactlyWithinDistance(Double3D, double, boolean)
            
sim.field.continuous.Continuous3D.getObjectsExactlyWithinDistance(Double3D, double, boolean, boolean, boolean, Bag)
            
sim.field.continuous.Continuous2D.getObjectsWithinDistance(Double2D, double)
            
sim.field.continuous.Continuous2D.getObjectsWithinDistance(Double2D, double, boolean)
            
sim.field.continuous.Continuous2D.getObjectsWithinDistance(Double2D, double, boolean, boolean)
            
sim.field.continuous.Continuous2D.getObjectsWithinDistance(Double2D, double, boolean, boolean, Bag)
            
sim.field.continuous.Continuous3D.getObjectsWithinDistance(Double3D, double)
            
sim.field.continuous.Continuous3D.getObjectsWithinDistance(Double3D, double, boolean)
            
sim.field.continuous.Continuous3D.getObjectsWithinDistance(Double3D, double, boolean, boolean)
            
sim.field.continuous.Continuous3D.getObjectsWithinDistance(Double3D, double, boolean, boolean, Bag)
            
sim.util.Properties.getProperties(Object, boolean, boolean, boolean)
          use the full version 
sim.util.media.chart.XYChartGenerator.getRangeAxisLabel()
          Returns the name of the Range Axis Label -- usually this is the Y axis. 
sim.display.Console.getThreadPriority()
          We may eliminate thread priority as an option 
sim.display.GUIState.isInspectorVolatile()
            
sim.portrayal.simple.OrientedPortrayal2D.isLineShowing()
          use isOrientationShowing() 
sim.display.Display2D.InnerDisplay2D.paintComponent(Graphics, boolean)
          use paintComponent() or paint(...) 
sim.display.Display2D.InnerDisplay2D.removeListeners()
          Use Display2D.removeListeners instead. 
sim.portrayal.FieldPortrayal.reset()
          Use setDirtyField(false); 
sim.portrayal.grid.FastObjectGridPortrayal2D.reset()
          Use setDirtyField(false); Resets the underlying FastValueGridPortrayal2D. 
sim.portrayal.grid.FastHexaObjectGridPortrayal2D.reset()
          Resets the underlying FastHexaValueGridPortrayal2D. 
sim.display.GUIState.scheduleAtExtreme(Steppable, boolean)
          use scheduleAtStart and scheduleAtEnd instead 
sim.display.GUIState.scheduleImmediate(boolean, Steppable)
          use scheduleImmediatelyBefore and scheduleImmediatelyAfter instead 
sim.display.GUIState.scheduleImmediateRepeat(boolean, Steppable)
          use scheduleRepeatingImmediatelyBefore and scheduleRepeatingImmediatelyAfter instead 
sim.util.media.chart.XYChartGenerator.setDomainAxisLabel(String)
          Sets the name of the Domain Axis label -- usually this is the X axis. 
sim.util.media.chart.XYChartGenerator.setDomainAxisRange(double, double)
            
sim.portrayal.simple.TrailedPortrayal2D.setGrowTrailOnlyWhenSelected(boolean)
          use setOnlyGrowTrailWhenSelected 
sim.display.SimpleController.setIncrementSeedOnPlay(boolean)
          renamed to setIncrementSeedOnStop 
sim.display.Console.setIncrementSeedOnPlay(boolean)
          renamed to setIncrementSeedOnStop 
sim.util.MutableDouble3D.setLength(double)
          use resize instead [renaming] 
sim.util.MutableDouble2D.setLength(double)
          use resize instead [renaming] 
sim.portrayal.simple.OrientedPortrayal2D.setLineShowing(boolean)
          use setOrientationShowing() 
sim.util.MutableInt2D.setLocation(Int2D)
          use setTo 
sim.util.MutableInt3D.setLocation(Int3D)
          use setTo 
sim.util.MutableInt2D.setLocation(int, int)
          use setTo 
sim.util.MutableInt3D.setLocation(int, int, int)
          use setTo 
sim.util.MutableInt2D.setLocation(MutableInt2D)
          use setTo 
sim.util.MutableInt3D.setLocation(MutableInt3D)
          use setTo 
sim.util.MutableInt2D.setLocation(Point)
          use setTo 
sim.util.media.chart.SeriesAttributes.setName(String)
          Sets the name of the series. 
sim.portrayal.simple.ValuePortrayal2D.setParent(ValueGridPortrayal2D)
          does nothing now 
sim.util.media.chart.XYChartGenerator.setRangeAxisLabel(String)
          Sets the name of the Range Axis label -- usually this is the Y axis. 
sim.util.media.chart.XYChartGenerator.setRangeAxisRange(double, double)
            
sim.display.Console.setThreadPriority(int)
          We may eliminate thread priority as an option 
sim.engine.AsynchronousSteppable.stopper()
          Will be deleted in the future. 
sim.engine.Schedule.time()
          use getTime() 
 

Deprecated Constructors
sim.portrayal.grid.DenseGridPortrayal2D(DrawPolicy)
          Use setDrawPolicy. 
sim.display.Display2D(double, double, GUIState, long)
            
sim.display3d.Display3D(double, double, GUIState, long)
            
sim.portrayal.grid.HexaDenseGridPortrayal2D(DrawPolicy)
          Use setDrawPolicy. 
sim.portrayal.grid.HexaSparseGridPortrayal2D(DrawPolicy)
          Use setDrawPolicy. 
sim.util.SimpleProperties(Object, boolean, boolean)
          Use the full form 
sim.portrayal.grid.SparseGridPortrayal2D(DrawPolicy)
          Use setDrawPolicy. 
sim.portrayal.simple.ValuePortrayal2D(ValueGridPortrayal2D)