Interface IMenuAPI


public interface IMenuAPI
  • Method Details

    • isUseDoAction

      boolean isUseDoAction()
      Whether the menu actions will use doAction() for the actual interactions. If false, it will use click().
    • interact

      boolean interact(String action)
    • interact

      boolean interact(String action, boolean rightClick)
    • interact

      boolean interact(String action, String option)
    • interact

      boolean interact(String action, String option, boolean rightClick)
    • interact

      boolean interact(String action, Clickable clickable)
    • interact

      boolean interact(String action, Clickable clickable, boolean rightClick)
    • interact

      boolean interact(String action, String option, Clickable clickable)
    • interact

      boolean interact(String action, String option, Clickable clickable, boolean rightClick)
    • closeMenu

      boolean closeMenu()
    • getActions

      List<String> getActions()
    • getOptions

      List<String> getOptions()
    • getItems

      List<String> getItems()
    • contains

      boolean contains(String action)
    • contains

      boolean contains(String action, String option)
    • getIndex

      int getIndex(String action)
    • getIndex

      int getIndex(String action, String option)
    • getLocationOf

      Point getLocationOf(String action)
    • getLocationOf

      Point getLocationOf(String action, String option)
    • getSize

      int getSize()
    • isOpen

      boolean isOpen()
    • getX

      int getX()
    • getY

      int getY()
    • getWidth

      int getWidth()
    • getHeight

      int getHeight()
    • getLocation

      Point getLocation()
    • getArea

      Rectangle getArea()
    • getItemArea

      Rectangle getItemArea(int index)