|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public java.lang.Class getNodeClass()
Node
Class
.
public java.lang.Class getDataClass()
Class
, which must conform to the JavaBeans API.
public java.lang.String getXMLRootElement()
Class
can be
identified in an XML document.
public java.lang.String getXMLNamespaceURI()
public javax.swing.Icon getIcon()
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.
public Attributes getAttributes()
Node
.
Element
public int getCategory()
Node
.
Category
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.