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

org.appdapter.gui.repo.ScreenGraphTrigger Maven / Gradle / Ivy

Go to download

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.Box;
import org.appdapter.trigger.bind.jena.TriggerImpl;

public class ScreenGraphTrigger>> extends TriggerImpl /*
* with FullTrigger
*/{

	final String myDebugName;

	public ScreenGraphTrigger(String myDebugNym) {
		myDebugName = myDebugNym;
	}

	@Override public String getShortLabel() {
		String str = super.getShortLabel();
		if (str != null)
			return str;
		return myDebugName;
	}

	@Override public String toString() {
		return getClass().getName() + "[name=" + myDebugName + "]";
	}

	@Override public void fire(Box targetBox) {
		getLogger().debug(this.toString() + " firing on " + targetBox.toString());

	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy