treeitem.java.svn-base

来自「开源项目openfire的完整源程序」· SVN-BASE 代码 · 共 95 行

SVN-BASE
95
字号
/**
 * $Revision: $
 * $Date: $
 *
 * Copyright (C) 2006 Jive Software. All rights reserved.
 *
 * This software is published under the terms of the GNU Lesser Public License (LGPL),
 * a copy of which is included in this distribution.
 */

package org.jivesoftware.spark.component;

import java.io.Serializable;

public class TreeItem implements Serializable {
    private String displayName;
    private String toolTip;
    private String description;
    private String editor;
    private String extraData;
    private int type;

    public TreeItem() {
    }


    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }


    public TreeItem(String displayName,
                    String tooltip,
                    String description,
                    String editor) {
        this.displayName = displayName;
        this.toolTip = tooltip;
        this.description = description;
        this.editor = editor;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }


    public String getDisplayName() {
        return this.displayName;
    }


    public void setToolTip(String toolTip) {
        this.toolTip = toolTip;
    }


    public String getToolTip() {
        return this.toolTip;
    }


    public void setDescription(String description) {
        this.description = description;
    }


    public String getDescription() {
        return this.description;
    }


    public void setEditor(String editor) {
        this.editor = editor;
    }


    public String getEditor() {
        return this.editor;
    }


    public void setExtraData(String extraData) {
        this.extraData = extraData;
    }


    public String getExtraData() {
        return this.extraData;
    }
}

⌨️ 快捷键说明

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