Class PopupMenuItemImpl

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String text
      private final Function0<Unit> action
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getText() The text of the menu item
      Function0<Unit> getAction() The action to perform when the menu item is clicked
      • Methods inherited from class java.lang.Object

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

      • PopupMenuItemImpl

        PopupMenuItemImpl(String text, Function0<Unit> action)
    • Method Detail

      • getAction

         Function0<Unit> getAction()

        The action to perform when the menu item is clicked