# Interface SyMenuServiceType

All Superinterfaces:
  `com.io7m.repetoir.core.RPServiceType`

public interface SyMenuServiceType extends com.io7m.repetoir.core.RPServiceType
A service for controlling menus.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `menuClose()`
  Close any menu that may be open.
  `void`
  `menuOpen(SyMenuType menu)`
  Open a global menu.

  ### Methods inherited from interface com.io7m.repetoir.core.RPServiceType

  `description`

- ## Method Details

  - ### menuOpen

    void menuOpen(SyMenuType menu)
    Open a global menu. If a menu is already open, it is closed as if `menuClose()` had been called, and then the given menu is opened instead.
    Parameters:
      `menu` - The menu

  - ### menuClose

    void menuClose()
    Close any menu that may be open. If no menu is open, the operation is a no-op.