Search this API

Deprecated API


Contents
Deprecated Classes
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.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) 
 

Deprecated Methods
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(y.geom.YInsets) instead. 
y.view.Graph2DViewActions.deleteSelection(Graph2DView)
          Use Graph2DViewActions.DeleteSelectionAction.delete(Graph2DView) instead. 
y.view.LayoutMorpher.execute()
          Use the no-argument constructor and the LayoutMorpher.execute(Graph2DView, y.layout.GraphLayout) method instead. 
y.option.OptionItem.getEditor()
          Use ItemEditorFactory.createEditor(y.option.OptionItem) instead. 
y.option.OptionHandler.getEditor()
          Use EditorFactory.createEditor(y.option.OptionHandler) 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.layout.orthogonal.OrthogonalLayouter.getNodeModel()
          use OrthogonalLayouter.setLayoutStyle(int) instead. 
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.getPreferredPlacementDescriptor() instead. 
y.layout.LabelLayoutData.getPreferredPlacement()
          use LabelLayoutData.getPreferredPlacementDescriptor() 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.InterfacePort.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.QuadCurveEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.NodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.ArcEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.YLabel.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.ImageNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.NodeLabel.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.BezierEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.PolyLineEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.ProxyShapeNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.Port.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.EdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.EdgeLabel.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.GenericNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.ShapeNodeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.SplineEdgeRealizer.read(ObjectInputStream)
          Use the GraphML format instead. 
y.view.Graph2DNodeRealizer.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.ProxyAutoBoundsNodeRealizer.setAutoBoundsInsets(Insets)
          Use ProxyAutoBoundsNodeRealizer.setAutoBoundsInsets(y.geom.YInsets) instead. 
y.view.hierarchy.GroupNodeRealizer.setAutoBoundsInsets(Insets)
          Use GroupNodeRealizer.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.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.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.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.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.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.InterfacePort.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.QuadCurveEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.GenericEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.NodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.ArcEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.YLabel.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.ImageNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.NodeLabel.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.BezierEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.PolyLineEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.ProxyShapeNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.Port.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.EdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.EdgeLabel.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.GenericNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.ShapeNodeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.SplineEdgeRealizer.write(ObjectOutputStream)
          Use the GraphML format instead. 
y.view.Graph2DNodeRealizer.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.layout.LabelLayoutData(double, double, byte)
            
y.layout.LabelLayoutData(OrientedRectangle, byte)
            
y.option.OptionHandler(GuiFactory, InputStream)
          Use the OptionsIOhandler way. 
y.option.OptionHandler(InputStream)
          use the OptionsIOhandler way 
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 
 


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