站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

Deprecated List (NetBeans Explorer API) - NetBeans API Javadoc 5.0.0

 

Deprecated API

Deprecated Classes
org.openide.explorer.propertysheet.DefaultPropertyModel
          Use org.openide.nodes.PropertySupport.Reflection instead 
org.openide.explorer.view.ListTableView
          Use org.openide.explorer.view.TreeTableView instead. 
org.openide.explorer.propertysheet.PropertySheetSettings
          None of the settings in this class are supported in the new property sheet. The entire implementation has been gutted to do nothing. 
 

Deprecated Interfaces
org.openide.explorer.propertysheet.editors.EnhancedCustomPropertyEditor
          Use PropertyEnv instead. 
org.openide.explorer.propertysheet.editors.EnhancedPropertyEditor
          Instead of this class, implement ExPropertyEditor and InplaceEditor.Factory. Also create an implementation of InplaceEditor for the custom inline editor. In the attachEnv() method of your ExPropertyEditor, call PropertyEnv.registerInplaceEditorFactory(this).

Before you do any of this read the prose documentation on the Explorer API and be sure you cannot do what you need with an existing property editor - it is very rare to actually need to provide a custom editor component. 

org.openide.explorer.propertysheet.ExPropertyModel
          - Use PropertySupport.Reflection or BeanNode if you need to expose bean properties 
org.openide.explorer.view.MenuView.Acceptor
          This interface is almost the same as NodeAcceptor so it is redundant and obsoleted. Use NodeAcceptor interface instead. 
org.openide.explorer.propertysheet.editors.NodeCustomizer
          Use PropertyEnv instead. 
org.openide.explorer.propertysheet.editors.NodePropertyEditor
          Use PropertyEnv instead. 
 

Deprecated Fields
org.openide.explorer.propertysheet.PropertySheet.ALWAYS_AS_STRING
          Relic of the original property sheet implementation, useless. 
org.openide.explorer.propertysheet.PropertySheet.iAlphaSort
          Presumably noone uses this variable. If you want to customize the property sheet look you can change the image files directly (or use your own). 
org.openide.explorer.propertysheet.PropertySheet.iCustomize
          Presumably noone uses this variable. If you want to customize the property sheet look you can change the image files directly (or use your own). 
org.openide.explorer.propertysheet.PropertySheet.iDisplayWritableOnly
          Presumably noone uses this variable. If you want to customize the property sheet look you can change the image files directly (or use your own). 
org.openide.explorer.propertysheet.PropertySheet.iNoSort
          Presumably noone uses this variable. If you want to customize the property sheet look you can change the image files directly (or use your own). 
org.openide.explorer.propertysheet.PropertySheet.iTypeSort
          Presumably noone uses this variable. If you want to customize the property sheet look you can change the image files directly (or use your own). 
org.openide.explorer.propertysheet.PropertySheet.PAINTING_PREFERRED
          Relic of the original property sheet implementation, does useless. 
org.openide.explorer.propertysheet.PropertyPanel.PROP_PROPERTY_EDITOR
          - the property editor is re-fetched from the underlying property object as needed. It is up to the property object to cache or not cache the property editor. This property will no longer be fired. 
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_CURRENT_PAGE
          Relic of the original property sheet implementation, , will never be fired. 
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_DISABLED_PROPERTY_COLOR
          Relic of the original property sheet implementation, , will never be fired. 
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_DISPLAY_WRITABLE_ONLY
          Relic of the original property sheet implementation, will never be fired. 
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_PLASTIC
          Relic of the original property sheet implementation, , will never be fired. 
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_PROPERTY_PAINTING_STYLE
          Relic of the original property sheet implementation, will never be fired. 
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_SORTING_MODE
          Relic of the original property sheet implementation, will never be fired. 
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_VALUE_COLOR
          Relic of the original property sheet implementation, will never be fired. 
org.openide.explorer.propertysheet.PropertySheet.SORTED_BY_TYPES
          Not supported since NetBeans 3.6 
org.openide.explorer.propertysheet.PropertySheet.STRING_PREFERRED
          Relic of the original property sheet implementation, does useless. 
 

Deprecated Methods
org.openide.explorer.view.MenuView.Acceptor.accept(Node)
          whole interface is obsoleted, use NodeAcceptor.acceptNodes(org.openide.nodes.Node[]) instead. 
org.openide.explorer.propertysheet.PropertySheet.getCurrentPage()
          Relic of the original property sheet implementation. Does nothing. 
org.openide.explorer.propertysheet.PropertySheet.getDisabledPropertyColor()
          Relic of the original property sheet implementation. Display of properties is handled by the look and feel. 
org.openide.explorer.propertysheet.PropertySheet.getDisplayWritableOnly()
          Relic of the original property sheet implementation. Does nothing. 
org.openide.explorer.propertysheet.PropertySheet.getPlastic()
          Relic of the original property sheet implementation. Does nothing. 
org.openide.explorer.propertysheet.PropertyPanel.getPropertyEditor()
          The property panel does not cache the property editor, and depending on its state, it may not consistently return the same property editor instance on repeated calls. The current implementation will do so for editable states, but there is no guarantee this will remain so in the future. 
org.openide.explorer.propertysheet.PropertySheet.getPropertyPaintingStyle()
          Relic of the original property sheet implementation. Does nothing. 
org.openide.explorer.propertysheet.PropertySheet.getValueColor()
          Relic of the original property sheet implementation. Display of properties is handled by the look and feel. 
org.openide.explorer.propertysheet.PropertySheet.setCurrentPage(int)
          Relic of the original property sheet implementation. Does nothing. 
org.openide.explorer.propertysheet.PropertySheet.setCurrentPage(String)
          Relic of the original property sheet implementation. Does nothing. 
org.openide.explorer.propertysheet.PropertySheet.setDisabledPropertyColor(Color)
          Relic of the original property sheet implementation. Does nothing. 
org.openide.explorer.propertysheet.PropertySheet.setDisplayWritableOnly(boolean)
          Relic of the original property sheet implementation. Does nothing. 
org.openide.explorer.propertysheet.PropertySheet.setPlastic(boolean)
          Relic of the original property sheet implementation. Display of properties is handled by the look and feel. 
org.openide.explorer.propertysheet.PropertySheet.setPropertyPaintingStyle(int)
          Relic of the original property sheet implementation. Does nothing. 
org.openide.explorer.propertysheet.PropertySheet.setValueColor(Color)
          Relic of the original property sheet implementation. Display of properties is handled by the look and feel. 
org.openide.explorer.view.NodeRenderer.sharedInstance()
          This method no longer returns a shared instance, as it caused problems with one view setting properties (such as enabled state) on the renderer and the renderer then being used in its altered state by a different view. Views should create their own instance of NodeRenderer instead. 
 

Deprecated Constructors
org.openide.explorer.view.MenuView.Menu(Node, MenuView.Acceptor)
          use MenuView.Menu.MenuView.Menu(Node, NodeAcceptor) 
org.openide.explorer.view.MenuView.Menu(Node, MenuView.Acceptor, boolean)
          use MenuView.Menu.MenuView.Menu(Node, NodeAcceptor, boolean) 
org.openide.explorer.view.MenuView.MenuItem(Node, MenuView.Acceptor)
          Use proper constructor with (@link NodeAcceptor). 
org.openide.explorer.view.MenuView.MenuItem(Node, MenuView.Acceptor, boolean)
          Use proper constructor with (@link NodeAcceptor). 
org.openide.explorer.view.NodeRenderer(boolean)
          bigIcons was only used by IconView, and not used by that anymore. NodeRenderer will automatically detect if the view it's rendering for is an instance of IconView. 
 


 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.