subscribertreenode.java

来自「一个类似于openJMS分布在ObjectWeb之下的JMS消息中间件。」· Java 代码 · 共 49 行

JAVA
49
字号
package org.objectweb.joram.client.tools.admin;import java.util.*;import javax.swing.*;import javax.swing.tree.*;class SubscriberTreeNode extends DefaultMutableTreeNode    implements AdminTreeNode {  public SubscriberTreeNode(String userId) {    super(userId);  }    /**   * Returns descriptive text about the node.   */  public String getDescription() {    return "";  }    /**   * Returns a context menu for the node, or null if   * no context menu should be created.   */  public JPopupMenu getContextMenu() {    return null;  }    /**   * Gets the image icon for this node, or null to use   * the default.   */  public ImageIcon getImageIcon() {    return null;  }    /**   * Refreshes the node.   * @param treeModel the model that the node is contained in.   */  public void refresh(DefaultTreeModel treeModel) {      }  public boolean getAllowsChildren() {     return true;   }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?