Enum Class QMenuSlot

java.lang.Object
java.lang.Enum<QMenuSlot>
com.kingsrook.qqq.backend.core.model.metadata.menus.QMenuSlot
All Implemented Interfaces:
QMenuSlotInterface, QMetaDataObject, Serializable, Comparable<QMenuSlot>, Constable

public enum QMenuSlot extends Enum<QMenuSlot> implements QMenuSlotInterface
Enumeration of standard menu slot locations where menus can be displayed in a QQQ application.

Menus are positioned in specific "slots" within the application UI. Each slot represents a different location and context where a menu can appear. This enum provides the core-known slot values that are recognized by the QQQ framework.

Slots are categorized by screen type (VIEW_SCREEN vs QUERY_SCREEN) and purpose (ACTIONS vs ADDITIONAL). The ACTIONS slots typically contain primary actions for the screen, while ADDITIONAL slots are for supplementary menus.

See Also:
  • Enum Constant Details

    • VIEW_SCREEN_ACTIONS

      public static final QMenuSlot VIEW_SCREEN_ACTIONS
      Menu slot for primary actions on a record view screen
    • VIEW_SCREEN_ADDITIONAL

      public static final QMenuSlot VIEW_SCREEN_ADDITIONAL
      Menu slot for additional/custom menus on a record view screen.
    • QUERY_SCREEN_ACTIONS

      public static final QMenuSlot QUERY_SCREEN_ACTIONS
      Menu slot for primary actions on a query screen (list/search screen).
    • QUERY_SCREEN_ADDITIONAL

      public static final QMenuSlot QUERY_SCREEN_ADDITIONAL
      Menu slot for additional/custom menus on a query screen.
  • Method Details

    • values

      public static QMenuSlot[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static QMenuSlot valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null