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

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

There is a newer version: 4.0.267
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 ISwingNodeHandler extends INodeHandler
{
	/**
	 *  Get the overlay for a node if any.
	 */
	public Icon	getSwingOverlay(ISwingTreeNode node);

	/**
	 *  Get the popup actions available for all of the given nodes, if any.
	 */
	public Action[]	getPopupActions(ISwingTreeNode[] nodes);

	/**
	 *  Get the default action to be performed after a double click.
	 */
	public Action	getDefaultAction(ISwingTreeNode node);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy