jadex.base.gui.asynctree.INodeHandler 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
Reusable classes for starting Jadex, running test cases and building
JCC plugins.
package jadex.base.gui.asynctree;
import javax.swing.Action;
import javax.swing.Icon;
/**
* Node handlers provide additional information for nodes
* such as icon overlays and popup actions.
*/
public interface INodeHandler
{
/**
* Get the overlay for a node if any.
*/
public Icon getOverlay(ITreeNode node);
/**
* Get the popup actions available for all of the given nodes, if any.
*/
public Action[] getPopupActions(ITreeNode[] nodes);
/**
* Get the default action to be performed after a double click.
*/
public Action getDefaultAction(ITreeNode node);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy