Top Description Inners Fields Constructors Methods
sun.tools.jconsole.inspector

public Class XNodeInfo

extends Object
Class Inheritance

This class represents the user object of the nodes in the MBean tree.

It encapsulates the node's info, i.e. the type of the node, the label to be used when displaying the node in the MBean tree, the node's tool tip text and arbitrary data which varies depending on the type of the node: an XMBean reference for MBEAN, ATTRIBUTES, OPERATIONS and NOTIFICATIONS nodes; the corresponding MBeanInfo for ATTRIBUTE, OPERATION and NOTIFICATION nodes; it is not used for NONMBEAN nodes.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
private Object
private String
private String
private XNodeInfo.Type

Constructor Summary

AccessConstructor and Description
public
XNodeInfo(XNodeInfo.Type type, Object data, String label, String tooltip)

Method Summary

Modifier and TypeMethod and Description
public Object
public String
public String
public XNodeInfo.Type
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

databack to summary
private Object data
labelback to summary
private String label
tooltipback to summary
private String tooltip
typeback to summary
private XNodeInfo.Type type

Constructor Detail

XNodeInfoback to summary
public XNodeInfo(XNodeInfo.Type type, Object data, String label, String tooltip)

Method Detail

getDataback to summary
public Object getData()
getLabelback to summary
public String getLabel()
getToolTipTextback to summary
public String getToolTipText()
getTypeback to summary
public XNodeInfo.Type getType()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

sun.tools.jconsole.inspector back to summary

public final Enum XNodeInfo.Type

extends Enum<XNodeInfo.Type>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final XNodeInfo.Type
public static final XNodeInfo.Type
public static final XNodeInfo.Type
public static final XNodeInfo.Type
public static final XNodeInfo.Type
public static final XNodeInfo.Type
public static final XNodeInfo.Type
public static final XNodeInfo.Type

Constructor Summary

AccessConstructor and Description
private
Type()

Method Summary

Modifier and TypeMethod and Description
public static XNodeInfo.Type
public static XNodeInfo.Type[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ATTRIBUTEback to summary
public static final XNodeInfo.Type ATTRIBUTE
ATTRIBUTESback to summary
public static final XNodeInfo.Type ATTRIBUTES
MBEANback to summary
public static final XNodeInfo.Type MBEAN
NONMBEANback to summary
public static final XNodeInfo.Type NONMBEAN
NOTIFICATIONback to summary
public static final XNodeInfo.Type NOTIFICATION
NOTIFICATIONSback to summary
public static final XNodeInfo.Type NOTIFICATIONS
OPERATIONback to summary
public static final XNodeInfo.Type OPERATION
OPERATIONSback to summary
public static final XNodeInfo.Type OPERATIONS

Constructor Detail

Typeback to summary
private Type()

Method Detail

valueOfback to summary
public static XNodeInfo.Type valueOf(String name)
valuesback to summary
public static XNodeInfo.Type[] values()