Search this API

Deprecated API


Contents
Deprecated Classes
y.layout.partial.PartialLayouter.StraightLineEdgeRouter
          Use class StraightLineEdgeRouter instead. 
y.io.graphml.graph2d.PostprocessorInputHandler
          Client code should explicitly implement post-processing steps. 
y.io.graphml.graph2d.PostprocessorOutputHandler
          Client code should explicitly implement post-processing steps. 
y.module.io.YGFInput
          Use the GraphML format instead. 
y.io.YGFIOHandler
          Use the GraphML format instead. 
y.module.io.YGFOutput
          Use the GraphML format instead. 
 

Deprecated Fields
y.view.NodeLabel.CENTER_X
            
y.view.Util.DOUBLE2
          Do not use (Threading issues) 
y.view.Util.FLOAT2
          Do not use (Threading issues) 
y.view.Util.FLOAT6
          Do not use (Threading issues) 
y.layout.tree.DelegatingNodePlacer.HORIZONTAL
            
y.io.LinkInfo.HTML_TOOLTIP
          Use LinkInfo.HTML_TITLE and/or LinkInfo.HTML_ALT instead. 
y.layout.orthogonal.OrthogonalLayouter.NODEMODEL_UNCHANGED
          Use OrthogonalLayouter.NORMAL_STYLE instead. 
y.layout.orthogonal.OrthogonalLayouter.NODEMODEL_UNIFORM
          Use OrthogonalLayouter.UNIFORM_STYLE instead. 
y.view.Util.POINT2D
          Do not use (Threading issues) 
y.view.Util.TRANSFORM
          Do not use (Threading issues) 
y.layout.tree.DelegatingNodePlacer.VERTICAL
            
 

Deprecated Methods
y.layout.hierarchic.incremental.SequenceConstraintFactory.addPlaceNodeAfterConstraint(Object, Object)
          Use SequenceConstraintFactory.addPlaceAfterConstraint(Object, Object) instead. 
y.layout.hierarchic.incremental.SequenceConstraintFactory.addPlaceNodeAtHeadConstraint(Object)
          Use SequenceConstraintFactory.addPlaceAtHeadConstraint(Object) instead. 
y.layout.hierarchic.incremental.SequenceConstraintFactory.addPlaceNodeAtTailConstraint(Object)
          Use SequenceConstraintFactory.addPlaceAtTailConstraint(Object) instead. 
y.layout.hierarchic.incremental.SequenceConstraintFactory.addPlaceNodeBeforeConstraint(Object, Object)
          Use SequenceConstraintFactory.addPlaceBeforeConstraint(Object, Object) instead. 
y.module.YPackage.addToMenu(JMenu, YPackageMenuListener)
          yEd does not use this method any longer, just add and remove modules and sub packages, yEd will take care of the menus. 
y.option.OptionItem.adoptEditorValue()
          Use Editor.commitValue() instead. 
y.layout.hierarchic.WeightedLayerer.assignNodeLayer(Graph, NodeMap, EdgeList, DataProvider)
          Use WeightedLayerer.assignNodeLayer(y.layout.LayoutGraph, y.base.NodeMap, y.base.EdgeList, y.base.DataProvider) instead.

This method does not support graphs that have several disjoint graph components nor the edge weight based cycle removal heuristic.

 
y.option.OptionItem.checkEditorValue()
          Register a VetoableChangeListener instead. 
y.module.YPackage.createMenu(YPackageMenuListener)
          yEd does not use this method any longer, just add and remove modules and sub packages, yEd will take care of the menus. 
y.layout.OrientationLayouter.createOrientedInsets(Insets)
          Use OrientationLayouter.createOrientedInsets(YInsets) instead. 
y.view.Graph2DViewActions.deleteSelection(Graph2DView)
          Use Graph2DViewActions.DeleteSelectionAction.delete(Graph2DView) instead. 
y.layout.hierarchic.WeightedLayerer.downShiftNodes(Graph, NodeMap, int)
          This method is not used any more. ??

The drawings seem to be nicer in this way.

 
y.view.LayoutMorpher.execute()
          Use the no-argument constructor and the LayoutMorpher.execute(Graph2DView, y.layout.GraphLayout) method instead. 
y.module.YModule.getAuthor()
          Proper module description should take place in the API documentation. 
y.layout.hierarchic.SimplexDrawer.getCost(Graph, NodeMap, EdgeMap, EdgeMap)
            
y.module.YModule.getDescription()
          Proper module description should take place in the API documentation. 
y.option.OptionHandler.getEditor()
          Use EditorFactory.createEditor(y.option.OptionHandler) instead. 
y.option.OptionItem.getEditor()
          Use ItemEditorFactory.createEditor(y.option.OptionItem) instead. 
y.option.OptionItem.getEditor(GuiFactory, String)
          Use ItemEditorFactory.createEditor(y.option.OptionItem) instead. 
y.option.OptionSection.getEditor(int)
          Use EditorFactory.createEditor(y.option.OptionHandler) instead. 
y.option.OptionSection.getEditor(int, GuiFactory, String)
          Use EditorFactory.createEditor(y.option.OptionHandler) instead. 
y.util.DetailedMessagePanel.getException()
          Use DetailedMessagePanel.getThrowable() instead, this method will return null if the Throwable is not an Exception 
y.view.Graph2D.getHitInfo(double, double)
          Use HitInfo's various constructors directly for control over the hit test order. 
y.view.Graph2D.getHitInfo(double, double, boolean)
          Use HitInfo's various constructors directly for control over the hit test order. 
y.view.Graph2DView.getImage()
          Use Graph2DView.paintVisibleContent(Graphics2D) with a graphics context of an appropriate image type instead. 
y.view.LineType.getLineType(int, byte)
          Use method LineType.createLineType(int, byte) instead. 
y.layout.orthogonal.OrthogonalLayouter.getNodeModel()
          Use OrthogonalLayouter.setLayoutStyle(int) instead. 
y.layout.tree.DelegatingNodePlacer.getOrientation()
            
y.view.ShapePortConfiguration.getPortLineColor(NodeRealizer, boolean)
          Use ShapePortConfiguration.getPortLineColor(NodeRealizer, NodePort, boolean) instead. 
y.view.ShapePortConfiguration.getPortPaint(NodeRealizer, boolean)
          Use ShapePortConfiguration.getPortPaint(NodeRealizer, NodePort, boolean) instead. 
y.view.ShapePortConfiguration.getPortStroke(NodeRealizer, boolean)
          Use ShapePortConfiguration.getPortStroke(NodeRealizer, NodePort, boolean) instead. 
y.layout.EdgeLabelLayoutImpl.getPreferredPlacement()
          use EdgeLabelLayoutImpl.setPreferredPlacementDescriptor(PreferredPlacementDescriptor) instead 
y.layout.LabelLayoutData.getPreferredPlacement()
          use LabelLayoutData.setPreferredPlacementDescriptor(PreferredPlacementDescriptor) instead 
y.view.EdgeLabel.getPreferredPlacement()
          use EdgeLabel.getPreferredPlacementDescriptor() instead. 
y.option.StringOptionItem.getRows()
          Use getAttribute( ATTRIBUTE_ROWS ) instead. 
y.layout.orthogonal.OrthogonalLayouter.getUseSpacePostprocessing()
            
y.layout.hierarchic.incremental.EdgeLayoutDescriptor.isOrthogonallyRouted()
          Replaced by EdgeLayoutDescriptor.getRoutingStyle(). 
y.layout.labeling.AbstractLabelingAlgorithm.isUseAlternativeSideHandling()
          use PreferredPlacementDescriptor.getSideReference() instead 
y.io.gml.XGMLTokenizer.parse(Reader)
          This method does not handle encodings correctly, use XGMLTokenizer.parse(org.xml.sax.InputSource) instead. 
y.view.GenericNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.NodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.EdgeLabel.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.ShapeNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.BezierEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.NodeLabel.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.EdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.ImageNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.Graph2DNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.Port.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.YLabel.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.ProxyShapeNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.ArcEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.QuadCurveEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.PolyLineEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.InterfacePort.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.SplineEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.hierarchy.GenericGroupNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.tabular.TableGroupNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.Graph2DViewActions.selectAll(Graph2DView)
          Use Graph2DViewActions.SelectAllAction.select(Graph2DView) instead. 
y.view.hierarchy.GroupNodeRealizer.setAutoBoundsInsets(Insets)
          Use GroupNodeRealizer.setAutoBoundsInsets(y.geom.YInsets) instead. 
y.view.hierarchy.ProxyAutoBoundsNodeRealizer.setAutoBoundsInsets(Insets)
          Use ProxyAutoBoundsNodeRealizer.setAutoBoundsInsets(y.geom.YInsets) instead. 
y.view.hierarchy.GenericGroupNodeRealizer.setBorderInsets(Insets)
          Use GenericGroupNodeRealizer.setBorderInsets(y.geom.YInsets) instead. 
y.view.hierarchy.GroupNodeRealizer.setBorderInsets(Insets)
          Use GroupNodeRealizer.setBorderInsets(y.geom.YInsets) instead. 
y.view.NodeLabel.setFreeOffset(double, double)
          Client code should not set a label's offset directly, but rather use NodeLabel.getBestModelParameterForBounds(y.geom.OrientedRectangle) and NodeLabel.setModelParameter(Object) to create and specify a parameter that represents the desired label position in the label's model. 
y.option.EnumOptionItem.setItemListener(ItemListener)
          Customize the used editors. 
y.view.EdgeLabel.setLabelModel(EdgeLabelModel)
          Use EdgeLabel.setLabelModel(y.layout.EdgeLabelModel, Object) instead. 
y.view.NodeLabel.setLabelModel(NodeLabelModel)
          Use NodeLabel.setLabelModel(y.layout.NodeLabelModel, Object) instead. 
y.view.hierarchy.GenericGroupNodeRealizer.setMinimalInsets(Insets)
          Use GenericGroupNodeRealizer.setMinimalInsets(y.geom.YInsets) instead. 
y.view.hierarchy.GroupNodeRealizer.setMinimalInsets(Insets)
          Use GroupNodeRealizer.setMinimalInsets(y.geom.YInsets) instead. 
y.layout.orthogonal.OrthogonalLayouter.setNodeModel(int)
          Use OrthogonalLayouter.setLayoutStyle(int) instead. 
y.view.EdgeLabel.setOffset(double, double)
          Client code should not set a label's offset directly, but rather use EdgeLabel.getBestModelParameterForBounds(y.geom.OrientedRectangle) and EdgeLabel.setModelParameter(Object) to create and specify a parameter that represents the desired label position in the label's model. 
y.view.NodeLabel.setOffset(double, double)
          Client code should not set a label's offset directly, but rather use NodeLabel.getBestModelParameterForBounds(y.geom.OrientedRectangle) and NodeLabel.setModelParameter(Object) to create and specify a parameter that represents the desired label position in the label's model. 
y.view.YLabel.setOffset(double, double)
          Client code should not set a label's offset directly, but rather use YLabel.getBestModelParameterForBounds(y.geom.OrientedRectangle) and YLabel.setModelParameter(Object) to create and specify a parameter that represents the desired label position in the label's model. 
y.view.YLabel.setOffsetX(double)
          Client code should not set a label's offset directly, but rather use YLabel.getBestModelParameterForBounds(y.geom.OrientedRectangle) and YLabel.setModelParameter(Object) to create and specify a parameter that represents the desired label position in the label's model. 
y.view.YLabel.setOffsetY(double)
          Client code should not set a label's offset directly, but rather use YLabel.getBestModelParameterForBounds(y.geom.OrientedRectangle) and YLabel.setModelParameter(Object) to create and specify a parameter that represents the desired label position in the label's model. 
y.layout.tree.DelegatingNodePlacer.setOrientation(byte)
            
y.layout.hierarchic.incremental.EdgeLayoutDescriptor.setOrthogonallyRouted(boolean)
          Replaced by EdgeLayoutDescriptor.setRoutingStyle(RoutingStyle). 
y.layout.EdgeLabelLayoutImpl.setPreferredPlacement(byte)
          use EdgeLabelLayoutImpl.setPreferredPlacementDescriptor(PreferredPlacementDescriptor) instead 
y.layout.LabelLayoutData.setPreferredPlacement(byte)
          use LabelLayoutData.setPreferredPlacementDescriptor(PreferredPlacementDescriptor) instead 
y.view.EdgeLabel.setPreferredPlacement(byte)
          use EdgeLabel.setPreferredPlacementDescriptor(y.layout.PreferredPlacementDescriptor) instead. 
y.option.EnumOptionItem.setRenderer(ListCellRenderer)
          Customize the used editors. 
y.layout.labeling.AbstractLabelingAlgorithm.setUseAlternativeSideHandling(boolean)
          use PreferredPlacementDescriptor.setSideReference(byte) with PreferredPlacementDescriptor.SIDE_IS_ABSOLUTE_WITH_LEFT_IN_NORTH or PreferredPlacementDescriptor.SIDE_IS_ABSOLUTE_WITH_RIGHT_IN_NORTH as argument instead 
y.layout.orthogonal.OrthogonalLayouter.setUseSpacePostprocessing(boolean)
            
y.view.GenericNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.NodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.EdgeLabel.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.ShapeNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.BezierEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.NodeLabel.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.EdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.ImageNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.Graph2DNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.Port.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.GenericEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.YLabel.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.ProxyShapeNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.ArcEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.QuadCurveEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.PolyLineEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.InterfacePort.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.SplineEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.hierarchy.GenericGroupNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.tabular.TableGroupNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.option.OptionHandler.write(OutputStream)
          use the OptionsIOhandler way 
 

Deprecated Constructors
y.util.DetailedMessagePanel(String, boolean, Exception)
          Use the variant with Throwable instead 
y.view.HitInfo(Graph2D, double, double, boolean)
            
y.view.HitInfo(Graph2D, double, double, boolean, int, int, int, int, int, int, int)
            
y.view.HitInfo(Graph2D, double, double, int)
            
y.view.HitInfo(Graph2D, double, double, int, boolean)
            
y.module.io.ImageOutputModule(String, String, String)
          Use ImageOutputModule.ImageOutputModule(String) instead. Proper module description should take place in the API documentation. 
y.module.io.IOHandlerModule(String, String, String)
          Use IOHandlerModule.IOHandlerModule(String) instead. Proper module description should take place in the API documentation. 
y.layout.LabelLayoutData(double, double, byte)
            
y.layout.LabelLayoutData(OrientedRectangle, byte)
            
y.module.LayoutModule(String, String, String)
          Use LayoutModule.LayoutModule(String) instead. Proper module description should take place in the API documentation. 
y.option.OptionHandler(GuiFactory, InputStream)
          Use the OptionsIOhandler way. 
y.option.OptionHandler(InputStream)
          use the OptionsIOhandler way 
y.layout.PortCandidate(double, double, boolean, int, double)
          Factory method PortCandidate.createCandidate(double, double, int, double) should be used instead. 
y.layout.PortCandidate(double, double, int)
          Factory method PortCandidate.createCandidate(double, double, int) should be used instead. 
y.layout.PortCandidate(int)
          Factory method PortCandidate.createCandidate(int)} should be used instead. 
y.layout.PortCandidate(int, double)
          Factory method PortCandidate.createCandidate(int, double) should be used instead. 
y.layout.PortConstraint()
          Use the factory method PortConstraint.create(byte) instead. 
y.layout.PortConstraint(byte)
          Use the factory method PortConstraint.create(byte) instead. 
y.layout.PortConstraint(byte, boolean)
          Use the factory method PortConstraint.create(byte, boolean) instead. 
y.module.YModule(String, String, String)
          Use YModule.YModule(String) instead. Proper module description should take place in the API documentation. 
 


© Copyright 2000-2017,
yWorks GmbH.
All rights reserved.