JavaFX Utils

ControlMounter

Component to help mount different components over Control.

ControlMounter class is generic in T extends Control.

This mounter permits to mount the following components :

Constructors

public ControlMounter(T control)
public ControlMounter(IComponent<T> component)

Usage

	Button button;

	try {
		new ControlMounter<>(button)
			.tip("This is the tip")
			.movable()
			.doubleClickable(()->button.setText(button.getText()+"A"))
			.mount();
	} catch (ComponentException e) {
		//Treat Exception
	}
					

Links