Deprecated API


Contents
Deprecated Fields
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. 
 

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.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.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.layout.orthogonal.OrthogonalLayouter.getNodeModel()
          use OrthogonalLayouter.setLayoutStyle(int) instead. 
y.option.StringOptionItem.getRows()
          Use getAttribute( ATTRIBUTE_ROWS ) instead. 
y.layout.orthogonal.OrthogonalLayouter.getUseSpacePostprocessing()
            
y.io.gml.XGMLTokenizer.parse(Reader)
          This method does not handle encodings correctly, use XGMLTokenizer.parse(org.xml.sax.InputSource) instead. 
y.option.EnumOptionItem.setItemListener(ItemListener)
          Customize the used editors. 
y.layout.orthogonal.OrthogonalLayouter.setNodeModel(int)
          use OrthogonalLayouter.setLayoutStyle(int) instead. 
y.option.EnumOptionItem.setRenderer(ListCellRenderer)
          Customize the used editors. 
y.layout.orthogonal.OrthogonalLayouter.setUseSpacePostprocessing(boolean)
            
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)
            
y.view.HitInfo(Graph2D, double, double, int)
            
y.view.HitInfo(Graph2D, double, double, int, boolean)
            
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-2008,
yWorks GmbH.
All rights reserved.