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

📄 phasedescriptionlist.java

📁 一个用java写的地震分析软件(无源码)-used to write a seismic analysis software (without source)
💻 JAVA
字号:
package org.trinet.jasi;

import java.util.ArrayList;

/**
 * Collection of PhaseDescriptions. Defaults to
 * Copyright:    Copyright (c) 2001
 * Company:      USGS
 * @author Doug Given
 *
 * * WORK IN PROGRESS.. no yet functional
 * Idea is to allow a list of phase descriptors that can be specified in
 * a properties file for build in the PhasePopup and PhaseDialog.
 * Complication is specifying that there are "groups" that you may need
 * to put seperators or figure rows in dialogs.

 */

public class PhaseDescriptionList extends ArrayList {

  String defP[] = {"iP0", "iP1", "eP2", "eP3", "eP4"};
  String defS[] = {"iS0", "iS1", "eS2", "eS3", "eS4"};

// add the S choices


  public PhaseDescriptionList() {

  }

//  public addGroup (String[] group) {
//  }

  public PhaseDescription[] getArray() {
     return (PhaseDescription[]) toArray(new PhaseDescription[size()]);
  }

  public PhaseDescription getPhaseDescription(int index) {
     return (PhaseDescription) get(index);
  }
}

⌨️ 快捷键说明

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