Deprecated API


Contents
Deprecated Fields
com.xj.anylogic.engine.Engine.EVENT_SELECTION_DETERMINISTIC
          Use Engine.EVENT_SELECTION_LIFO or Engine.EVENT_SELECTION_FIFO instead 
 

Deprecated Methods
com.xj.anylogic.engine.EventOriginator.cancel()
          User should not call this method for events, call reset() instead 
com.xj.anylogic.engine.connectivity.Database.closeResultSet(ResultSet)
          call ResultSet.close() method instead 
com.xj.anylogic.engine.ExperimentSimulation.customRunPause_xjal(boolean, double)
          this method shouldn't be called by user and may be removed/renamed in the next release 
com.xj.anylogic.engine.AgentContinuous3D.distanceTo(double, double)
          this method is public only for easy translation of 2D models to 3D and may be removed in future releases. Please use AgentContinuous3D.distanceTo(double, double, double) method instead 
com.xj.anylogic.engine.ActiveObject.drawAuxiliaryVariable(Panel, Graphics2D, int, int, int, int, String, Object, boolean, boolean, boolean)
          will be removed in next release. Use ActiveObject.drawAuxiliaryVariable(Panel, Graphics2D, int, int, int, int, String, Object, Color, int) 
com.xj.anylogic.engine.presentation.UtilitiesDrawing.drawCurve(Panel, Graphics2D, AffineTransform, double, double, double, double, double, Color, Color, int, double[], double[], boolean, double, int)
          use UtilitiesDrawing.drawCurve(Panel, Graphics2D, AffineTransform, double, double, double, double, double, Color, Color, int, boolean, double[], double[], boolean, double, int) 
com.xj.anylogic.engine.ActiveObject.drawFlow(Panel, Graphics2D, int, int, int, int, String, Object, boolean, boolean, boolean)
          This method is no more supported and will be removed in next release. Use ActiveObject.drawFlow(Panel, Graphics2D, int[], int[], int, int, float, int, int, String, Object, Color, int) 
com.xj.anylogic.engine.ActiveObject.drawFlowStockDependencyLine(Panel, Graphics2D, int, int, int, int, Color)
          This method is no more supported and will be removed in next release. 
com.xj.anylogic.engine.ActiveObject.drawParameter(Panel, Graphics2D, int, int, int, int, String, Object, boolean, boolean)
          will be removed in next release. Use ActiveObject.drawParameter(Panel, Graphics2D, int, int, int, int, String, Object, int) 
com.xj.anylogic.engine.ActiveObject.drawPlainDependencyArc(Panel, Graphics2D, Arc2D.Double, Color)
          will be removed in next release. Use ActiveObject.drawLink(Panel, Graphics2D, java.awt.geom.Arc2D.Double, Color, int, String, float, int) 
com.xj.anylogic.engine.ActiveObject.drawPlainDependencyLine(Panel, Graphics2D, int, int, int, int, Color)
          will be removed in next release. Use ActiveObject.drawLink(Panel, Graphics2D, int, int, int, int, Color, int, String, float, int) 
com.xj.anylogic.engine.ActiveObject.drawStock(Panel, Graphics2D, int, int, int, int, String, Object, boolean)
          will be removed in next release. Use ActiveObject.drawStock(Panel, Graphics2D, int, int, int, int, int, int, String, Object, Color, int) 
com.xj.anylogic.engine.ExperimentOptimization.getBestFeasibleIteration()
          call ExperimentOptimization.isBestSolutionFeasible() and check its result:
if it returns true, use ExperimentOptimization.getBestIteration();
otherwise there is no best feasible iteration
 
com.xj.anylogic.engine.ExperimentOptimization.getBestFeasibleObjectiveValue()
          call ExperimentOptimization.isBestSolutionFeasible() and check its result:
if it returns true, use ExperimentOptimization.getBestObjectiveValue();
otherwise there is no best feasible solution
 
com.xj.anylogic.engine.ExperimentOptimization.getBestFeasibleParamValue(COptQuestVariable)
          call ExperimentOptimization.isBestSolutionFeasible() and check its result:
if it returns true, use ExperimentOptimization.getBestParamValue(COptQuestVariable);
otherwise there is no best feasible solution
 
com.xj.anylogic.engine.ExperimentOptimization.getBestFeasibleReplicationsNumber()
          call ExperimentOptimization.isBestSolutionFeasible() and check its result:
if it returns true, use ExperimentOptimization.getBestReplicationsNumber();
otherwise there is no best feasible solution
 
com.xj.anylogic.engine.connectivity.ResultSet.getBigDecimal(int, int)
            
com.xj.anylogic.engine.connectivity.ResultSet.getBigDecimal(String, int)
            
com.xj.anylogic.engine.presentation.ImageCache.getCachedImage(Presentable, String, int, int)
          use ImageCache.getCachedImage(Presentable, String, String, int, int) 
com.xj.anylogic.engine.presentation.ImageCache.getCAD(Presentable, String, String, int, int, int, Color, String[], boolean[], Color[], boolean, boolean)
          this method will be removed in the future releases, please use ImageCache.getCAD(Presentable, String, String, int, int, int, Color, String[], boolean[], Color[], int, boolean) 
com.xj.anylogic.engine.Engine.getDate()
          Use Engine.date() instead 
com.xj.anylogic.engine.EnvironmentDiscrete2D.getSpaceType()
           
com.xj.anylogic.engine.EnvironmentContinuous.getSpaceType()
           
com.xj.anylogic.engine.Environment.getSpaceType()
          this method is deprecated since different space types are presented in different Environment* classes 
com.xj.anylogic.engine.Utilities.getTime()
          Use Utilities.time() instead 
com.xj.anylogic.engine.Engine.getTime()
          Use Engine.time() instead. 
com.xj.anylogic.engine.connectivity.ResultSet.getUnicodeStream(int)
          use getCharacterStream in place of getUnicodeStream 
com.xj.anylogic.engine.connectivity.ResultSet.getUnicodeStream(String)
          use getCharacterStream instead 
com.xj.anylogic.engine.presentation.Panel.isEnhancedModelElementsAnimationEnabled()
          may be removed in the next release. Please use isAnimationParameterEnabled(Panel.Panel.ANIM_ENHANCED_MODEL_ELEMENTS_DRAWING) instead 
com.xj.anylogic.engine.Presentable.isShapeCADNegative(int)
          this method will be removed in the future releases, please override Presentable.getShapeCADDrawingAttributes(int) instead 
com.xj.anylogic.engine.Presentable.isShapeCADNegative(int, int)
          this method will be removed in the future releases, please override Presentable.getShapeCADDrawingAttributes(int, int) instead 
com.xj.anylogic.engine.AgentContinuous3D.jumpTo(double, double)
          this method is public only for easy translation of 2D models to 3D and may be removed in future releases. Please use AgentContinuous3D.jumpTo(double, double, double) method instead 
com.xj.anylogic.engine.AgentContinuous3D.moveTo(double, double)
          this method is public only for easy translation of 2D models to 3D and may be removed in future releases. Please use AgentContinuous3D.moveTo(double, double, double) method instead 
com.xj.anylogic.engine.AgentContinuous3D.moveTo(double, double, Path2D)
          this method is public only for easy translation of 2D models to 3D and may be removed in future releases. Please use AgentContinuous3D.moveTo(double, double, double, Path3D) method instead 
com.xj.anylogic.engine.connectivity.Database.releaseStatement(Statement)
          call Statement.close() method instead 
com.xj.anylogic.engine.presentation.UtilitiesDrawing.setDefaultFonts()
          this method shouldn't be called by user and will be removed in the next release 
com.xj.anylogic.engine.presentation.Panel.setEnhancedModelElementsAnimationEnabled(boolean)
          may be removed in the next release. Please use setAnimationParameterEnabled(Panel.Panel.ANIM_ENHANCED_MODEL_ELEMENTS_DRAWING, enabled) instead 
com.xj.anylogic.engine.EnvironmentContinuousGIS.setSpaceContinuous(AbstractShapeGISMap)
          replaced with EnvironmentContinuousGIS.setupSpace(AbstractShapeGISMap) 
com.xj.anylogic.engine.EnvironmentContinuous2D.setSpaceContinuous(double, double)
          replaced with EnvironmentContinuous2D.setupSpace(double, double) 
com.xj.anylogic.engine.EnvironmentDiscrete2D.setSpaceDiscrete(double, double, int, int, int)
          replaced with EnvironmentDiscrete2D.setupSpace(double, double, int, int, int) 
com.xj.anylogic.engine.ActiveObject.setupPlainDependencyArc(Arc2D.Double, double, double, double, double, double)
          this method is deprecated and will be removed in the next release 
com.xj.anylogic.engine.AgentContinuous3D.setXY(double, double)
          this method is public only for easy translation of 2D models to 3D and may be removed in future releases. Please use AgentContinuous3D.setXYZ(double, double, double) method instead 
com.xj.anylogic.engine.Environment.spaceTypeToString(int)
          use Environment.formatSpaceType() 
 

Deprecated Constructors
com.xj.anylogic.engine.Dimension(String, Dimension, int...)
          this method is obsolete and will be removed in the next release! Please use Dimension.Dimension(String, String, Dimension, int...) instead 
com.xj.anylogic.engine.Dimension(String, int...)
          this method is obsolete and will be removed in the next release! Please use Dimension.Dimension(String, String, int...) instead 
com.xj.anylogic.engine.Dimension(String, int[], String[])
          this method is obsolete and will be removed in the next release! Please use Dimension.Dimension(String, String, int[], String[]) instead 
com.xj.anylogic.engine.presentation.Shape3DArc(boolean, double, double, double, double, Object, Object, double, double, double, double, double, double, int)
          This constructor is obsolete and will be removed in future releases. Please use constructor Shape3DArc.Shape3DArc(boolean, double, double, double, double, Object, Object, double, double, double, double, double, double, double, int) 
com.xj.anylogic.engine.presentation.ShapeCAD(Presentable, boolean, double, double, double, double, String, String, int, Color, String[], Color[], boolean)
          this constructor will be removed in the future releases, please use ShapeCAD.ShapeCAD(Presentable, boolean, double, double, double, double, String, String, int, Color, String[], Color[], int) 
com.xj.anylogic.engine.presentation.ShapeComboBox(Presentable, boolean, int, int, int, int, Color, Color, Font, String[], boolean)
          use ShapeComboBox.ShapeComboBox(Presentable, boolean, int, int, int, int, Color, Color, Font, String[], boolean, int) 
com.xj.anylogic.engine.presentation.ShapeCurve(boolean, double, double, Color, Color, int, double[], double[], boolean, double, int)
          use ShapeCurve.ShapeCurve(boolean, double, double, Object, Object, int, boolean, double[], double[], boolean, double, int) 
com.xj.anylogic.engine.presentation.ShapeImage(Presentable, boolean, double, double, double, double, double, String[])
          use ShapeImage.ShapeImage(Presentable, boolean, double, double, double, double, double, String, String[]) 
com.xj.anylogic.engine.presentation.ShapeSlider(Presentable, boolean, int, int, int, int, Color, boolean, double, double)
          use ShapeSlider.ShapeSlider(Presentable, boolean, int, int, int, int, Color, boolean, double, double, int) 
com.xj.anylogic.engine.TableFunction(double[], double[], int, int, double)
          please use TableFunction.TableFunction(double[], double[], int, int, int, double) constructor instead 
 



Copyright © 1991-2008 XJ Technlogies. All Rights Reserved.