Newer
Older
restamp / src / main / java / osm / surveyor / matchtime / gui / ParameterData.java
@haya4 haya4 on 26 Jan 2020 469 bytes Restamp
package osm.surveyor.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());
    }
}