jadex.base.gui.modeltree.ITreeAbstraction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-tools-base-swing Show documentation
Show all versions of jadex-tools-base-swing Show documentation
GUI-dependent classes for jadex-tools-base.
/**
*
*/
package jadex.base.gui.modeltree;
import javax.swing.JTree;
import jadex.bridge.IExternalAccess;
/**
* Interface for tree abstraction used in generic add/remove path actions.
*/
public interface ITreeAbstraction
{
/**
* Test if action is called remotely.
* @return True, if is local.
*/
public boolean isRemote();
/**
* Get the underlying JTree.
* @return The tree.
*/
public JTree getTree();
/**
* Get the external access of the functionality.
* @return The external access.
*/
public IExternalAccess getExternalAccess();
/**
* Get the external access of the gui.
* @return The external access.
*/
public IExternalAccess getGUIExternalAccess();
/**
* Called to perform the specific add/remove action.
* @param obj The node on which the action should be performed.
*/
public void action(Object obj);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy