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

jadex.base.gui.asynctree.INodeHandler Maven / Gradle / Ivy

There is a newer version: 2.4
Show newest version
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