src/main/java/de/dosmike/sponge/megamenus/api/elements/concepts/IClickable.java
void fireClickEvent(
            Player viewer,
            @MagicConstant(intValues = {MouseEvent.NOBUTTON, MouseEvent.BUTTON1, MouseEvent.BUTTON2, MouseEvent.BUTTON3}) int button,
            boolean shift
    );
/** This method will be called by the {@link MenuRenderer} when the element is clicked.
     * @param viewer the {@link Player} instance that clicked the element in the assigned renderer.
     * @param button the int value of the mouse button equal to the AWT values in {@link MouseEvent}.
     * @param shift true if the player held the shift-modifier key while clicking. /
     */
This method will be called by the  MenuRenderer when the element is clicked.
@param viewer the  Player instance that clicked the element in the assigned renderer.
@param button the int value of the mouse button equal to the AWT values in  MouseEvent.
@param shift true if the player held the shift-modifier key while clicking.
This method will be called by the MenuRenderer when the element is clicked . @param viewer the Player instance that clicked the element in the assigned renderer . @param button the int value of the mouse button equal to the AWT values in MouseEvent . @param shift true if the player held the shift - modifier key while clicking .
void fireClickEvent(
            Player viewer,
            @MagicConstant(intValues = {MouseEvent.NOBUTTON, MouseEvent.BUTTON1, MouseEvent.BUTTON2, MouseEvent.BUTTON3}) int button,
            boolean shift
    );
void fireClickEvent ( Player viewer , @ MagicConstant ( intValues = { MouseEvent . NOBUTTON , MouseEvent . BUTTON1 , MouseEvent . BUTTON2 , MouseEvent . BUTTON3 } ) int button , boolean shift ) ;
This method will be called by the {@link MenuRenderer} when the element is clicked.
This method will be called by the { @link MenuRenderer } when the element is clicked .