![JAR search and dependency download from the Maven repository](/logo.png)
org.appdapter.gui.repo.ScreenModelBox Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.appdapter.lib.gui Show documentation
Show all versions of org.appdapter.lib.gui Show documentation
Appdapter Maven project including Java and Scala, produces jar, not bundle. Excludes concrete SLF4J binding.
The newest version!
package org.appdapter.gui.repo;
import org.appdapter.api.trigger.Trigger;
import org.appdapter.gui.box.ScreenBoxImpl;
import com.hp.hpl.jena.rdf.model.Model;
public class ScreenModelBox>> extends ScreenBoxImpl {
@Override public String getShortLabel() {
return myURI;
}
final String myURI;
private Model myModel;
public ScreenModelBox(String uri, Model model) {
//super(uri, model);
myURI = uri;
myModel = model;
}
@Override public String toString() {
return getClass().getName() + "[uri=" + myURI + "model=" + myModel + "]";
}
// setShortLabel("tweak-" + myURI);
public void setModel(Model m) {
this.myModel = m;
}
@Override public Object getValue() {
return myModel;
}
public void reallySetValue(Object newObject) throws UnsupportedOperationException {
myModel = (Model) newObject;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy