nosalicenseagreement.java

来自「world wind java sdk 源码」· Java 代码 · 共 33 行

JAVA
33
字号
/*
Copyright (C) 2001, 2007 United States Government
as represented by the Administrator of the
National Aeronautics and Space Administration.
All Rights Reserved.
*/

package gov.nasa.worldwind.applications.sar;

import gov.nasa.worldwind.avlist.AVList;
import gov.nasa.worldwind.avlist.AVListImpl;

/**
 * @author dcollins
 * @version $Id: NOSALicenseAgreement.java 4947 2008-04-07 21:01:02Z dcollins $
 */
public class NOSALicenseAgreement extends LicenseAgreement
{
    public NOSALicenseAgreement(String applicationKey)
    {
        super("worldwind-nosa-1.3.html", applicationKey, makeParams());
    }

    private static AVList makeParams()
    {
        AVList params = new AVListImpl();
        params.setValue(LICENSE_CONTENT_TYPE, "text/html");
        params.setValue(DIALOG_PREFERRED_SIZE, new java.awt.Dimension(700, 500));
        params.setValue(DIALOG_TITLE, "NASA OPEN SOURCE AGREEMENT VERSION 1.3");
        return params;
    }
}

⌨️ 快捷键说明

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