All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.openfin.desktop.WindowIdentity Maven / Gradle / Ivy

There is a newer version: 11.0.2
Show newest version
package com.openfin.desktop;

import org.json.JSONObject;

/**
 * Class used to identify an OpenFin window instance
 */
public class WindowIdentity {

    private String uuid;  // Application UUID
    private String name;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public JSONObject toJsonObject() {
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("uuid", this.uuid);
        jsonObject.put("name", this.name);
        return jsonObject;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy