Class MenuShouldLeftClick


  • public class MenuShouldLeftClick
    extends java.lang.Object
    Event called when the client is checking if the menu should be opened on left click.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      boolean isForceRightClick()
      If set to true, the menu will open on left click.
      void setForceRightClick​(boolean forceRightClick)
      If set to true, the menu will open on left click.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MenuShouldLeftClick

        public MenuShouldLeftClick()
    • Method Detail

      • isForceRightClick

        public boolean isForceRightClick()
        If set to true, the menu will open on left click.
      • setForceRightClick

        public void setForceRightClick​(boolean forceRightClick)
        If set to true, the menu will open on left click.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object