Extension SDK 10.1.2

oracle.ide.model
Interface NodeInfo


public interface NodeInfo

An instance of NodeInfo is used to configure a generic node class such as XMLDataNode or XMLDataContainer. This approach is alternative to customizing the behavior of those classes through subclassing.

A NodeInfo instance also provides information that allows the Node to be displayed without first having to load or create the wrapped data class.


Method Summary
 Attributes getAttributes()
          The attributes of the Node.
 int getCategory()
          The category bit-field of the Node.
 java.lang.Class getDataClass()
          The data Class, which must conform to the JavaBeans API.
 javax.swing.Icon getIcon()
          The Icon that is to be shown in association with the data bean.
 java.lang.Class getNodeClass()
          The design-time Node Class.
 java.lang.String getXMLNamespaceURI()
          Returns the string that identifies
 java.lang.String getXMLRootElement()
          The XML root element by which the data Class can be identified in an XML document.
 

Method Detail

getNodeClass

public java.lang.Class getNodeClass()
The design-time Node Class.


getDataClass

public java.lang.Class getDataClass()
The data Class, which must conform to the JavaBeans API.


getXMLRootElement

public java.lang.String getXMLRootElement()
The XML root element by which the data Class can be identified in an XML document.


getXMLNamespaceURI

public java.lang.String getXMLNamespaceURI()
Returns the string that identifies


getIcon

public javax.swing.Icon getIcon()
The Icon that is to be shown in association with the data bean. Typically the icon will be used in a tree control or list control. Therefore the icon must fit naturally within the space normally given to items within those controls. Such icons are usually 16x16 in size or, if there is a one-pixel transparent padding around the edge, 18x18 in size. If the Icon is null, then the Node implementation may show a default icon, or it may show no icon.


getAttributes

public Attributes getAttributes()
The attributes of the Node.

See Also:
Element

getCategory

public int getCategory()
The category bit-field of the Node.

See Also:
Category

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.