MTreeNode.java
资源名称:MapModule.rar [点击查看]
上传用户:njlgjx
上传日期:2022-08-07
资源大小:9105k
文件大小:1k
源码类别:
图形图象
开发平台:
Java
- package com.mwq.map.mwing;
- import javax.swing.tree.DefaultMutableTreeNode;
- public class MTreeNode extends DefaultMutableTreeNode {
- private int id;
- private boolean load = false;
- public MTreeNode() {
- super();
- }
- public MTreeNode(Object userObject) {
- super(userObject, true);
- this.id = 0;
- }
- public MTreeNode(int id, Object userObject) {
- super(userObject, true);
- this.id = id;
- }
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
- public boolean isLoad() {
- return load;
- }
- public void setLoad(boolean load) {
- this.load = load;
- }
- }