Component to create a magnify effect on Button on onMouseEnter event.
ButtonMagnifier class is generic in T extends Button.
public ButtonMagnifier(T button, double magnifyAmp, boolean keepOldHandlers)
There are more constructors with different parameters, but all will internally call this first one.
Variations :
keepOldHandlers this value is assumed as true.magnifyAmp this value is assumed as 1.5.IComponent<T> component obtain Button from component.getNode().
public ButtonMagnifier(T button, double magnifyAmp)
public ButtonMagnifier(T button, boolean keepOldHandlers)
public ButtonMagnifier(T button)
public ButtonMagnifier(IComponent<T> component, double magnifyAmp, boolean keepOldHandlers)
public ButtonMagnifier(IComponent<T> component, double magnifyAmp)
public ButtonMagnifier(IComponent<T> component, boolean keepOldHandlers)
public ButtonMagnifier(IComponent<T> component)
Button button;
new ButtonMagnifier<>(button).mount();