Newer
Older
adjustgpx-gui / src / main / java / osm / jp / gpx / matchtime / gui / ParameterData.java
@haya4 haya4 on 2 Feb 2020 467 bytes version 5.2
package osm.jp.gpx.matchtime.gui;

import java.util.Observable;

public class ParameterData extends Observable {
    String content = "";
    
    String getContent() {
        return content;
    }

    void setContent(String content) {
        this.content = content;
        setChanged();
        super.notifyObservers(content);
        clearChanged();
    }

    @Override
    public void notifyObservers(Object arg) {
        setContent(arg.toString());
    }
}