⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultapplicationlist.java

📁 Java 3D Desktop Environment旨在使用Java 3D来创建一个3D桌面环境。功能包括:分布式的应用程序
💻 JAVA
字号:
package org.j3de.server;           

import java.util.Iterator;
import java.util.Hashtable;
import java.util.Map;

import org.w3c.dom.Node; 
import org.w3c.dom.Document;
import org.w3c.dom.Element;

import org.j3de.interfaces.Application;
import org.j3de.util.AbstractComponent;
import org.j3de.util.ConfigHelper;
import org.j3de.util.ConfigurationException;

public class DefaultApplicationList extends AbstractComponent implements ApplicationList {
  private static final String MAP_NAME = "ApplicationList";   
  private Map applications;
  
  public DefaultApplicationList() {
    applications = new Hashtable();
  }        
  
  public ApplicationWrapper getApplication(String name) {
    return (ApplicationWrapper)applications.get(name);
  }           
  
  public Iterator getApplicationNames() {
    return applications.keySet().iterator();
  }      
  
  public void configure(Node node, Document nodeFactory) throws ConfigurationException  { 
    super.configure(node, nodeFactory);
    applications = helper.getComponentMap(MAP_NAME);      
  }       

   
}

⌨️ 快捷键说明

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