Class UIMenuElementAttributes


  • public final class UIMenuElementAttributes
    extends java.lang.Object
    API-Since: 13.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Destructive
      API-Since: 13.0
      static long Disabled
      API-Since: 13.0
      static long Hidden
      API-Since: 13.0
      static long KeepsMenuPresented
      Indicates that the menu should remain presented after firing the element's action rather than dismissing as it normally does.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • KeepsMenuPresented

        public static final long KeepsMenuPresented
        Indicates that the menu should remain presented after firing the element's action rather than dismissing as it normally does. This attribute has no effect on Mac Catalyst. API-Since: 16.0
        See Also:
        Constant Field Values