📄 selectionnodetype.java
字号:
/** * Copyright (c) 2005 Frank Toennies * Redistributions in source code form must reproduce the above copyright and this condition. * The contents of this file are subject to the Sun Project JXTA License Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * A copy of the License is available at http://www.jxta.org/jxta_license.html. * Please see the license information page for instructions on use of the license in source files. * * This software consists of voluntary contributions made by many individuals on behalf of Project JXTA. * For more information on Project JXTA, please see http://www.jxta.org. * */package net.jxta.myjxta.plugin;/** * Enumeration that holds all MyJxta Selection Node Types * @author Frank Toennies - nano@jxta.org */public class SelectionNodeType{ //nano: here for backward compatibility only, DONT USE THIS TYPE public static final SelectionNodeType UNKNOWN = new SelectionNodeType("UNKNOWN"); public static final SelectionNodeType Peer = new SelectionNodeType("Peer"); public static final SelectionNodeType Group = new SelectionNodeType("Group"); public static final SelectionNodeType FileShare = new SelectionNodeType("FileShare"); private final String myName; // for debug only private SelectionNodeType(String name) { myName = name; } public String toString() { return myName; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -