本文整理汇总了Java中sun.tools.jconsole.MBeansTab类的典型用法代码示例。如果您正苦于以下问题:Java MBeansTab类的具体用法?Java MBeansTab怎么用?Java MBeansTab使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MBeansTab类属于sun.tools.jconsole包,在下文中一共展示了MBeansTab类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: XOperations
import sun.tools.jconsole.MBeansTab; //导入依赖的package包/类
public XOperations(MBeansTab mbeansTab) {
super(new GridLayout(1, 1));
this.mbeansTab = mbeansTab;
operationEntryTable = new Hashtable<JButton, OperationEntry>();
ArrayList<NotificationListener> l =
new ArrayList<NotificationListener>(1);
notificationListenersList =
Collections.synchronizedList(l);
}
示例2: XMBean
import sun.tools.jconsole.MBeansTab; //导入依赖的package包/类
public XMBean(ObjectName objectName, MBeansTab mbeansTab) {
this.mbeansTab = mbeansTab;
this.objectName = objectName;
text = objectName.getKeyProperty("name");
if (text == null) {
text = objectName.getDomain();
}
if (MBeanServerDelegate.DELEGATE_NAME.equals(objectName)) {
icon = IconManager.MBEANSERVERDELEGATE;
} else {
icon = IconManager.MBEAN;
}
}
示例3: XMBeanAttributes
import sun.tools.jconsole.MBeansTab; //导入依赖的package包/类
public XMBeanAttributes(MBeansTab mbeansTab) {
super();
this.mbeansTab = mbeansTab;
((DefaultTableModel)getModel()).setColumnIdentifiers(columnNames);
attributesListener = new AttributesListener(this);
getModel().addTableModelListener(attributesListener);
getColumnModel().getColumn(NAME_COLUMN).setPreferredWidth(40);
addMouseListener(mouseListener);
getTableHeader().setReorderingAllowed(false);
setColumnEditors();
addKeyListener(new Utils.CopyKeyAdapter());
}
示例4: XTree
import sun.tools.jconsole.MBeansTab; //导入依赖的package包/类
public XTree(TreeNode root, MBeansTab mbeansTab) {
super(root, true);
this.mbeansTab = mbeansTab;
setRootVisible(false);
setShowsRootHandles(true);
ToolTipManager.sharedInstance().registerComponent(this);
}