forked from FR-Global/plugin-event-manager
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
642 B
39 lines
642 B
package com.fr.plugin.event.manager.data; |
|
|
|
import javax.swing.Icon; |
|
|
|
/** |
|
* 树节点 |
|
* @author Joe |
|
* Created by Joe on 12/14/2020 |
|
*/ |
|
public class MyNode { |
|
// 节点名 |
|
protected String nodeName; |
|
|
|
// 节点图标 |
|
protected Icon icon; |
|
|
|
public MyNode() { |
|
} |
|
|
|
public MyNode(String nodeName) { |
|
this.nodeName = nodeName; |
|
} |
|
|
|
public String getNodeName() { |
|
return nodeName; |
|
} |
|
|
|
public void setNodeName(String nodeName) { |
|
this.nodeName = nodeName; |
|
} |
|
|
|
public Icon getIcon() { |
|
return icon; |
|
} |
|
|
|
public void setIcon(Icon icon) { |
|
this.icon = icon; |
|
} |
|
}
|
|
|