Class WidgetMenuOptionClicked


  • public class WidgetMenuOptionClicked
    extends java.lang.Object
    A MenuManager widget menu was clicked. This event is fired only for MenuManager managed custom menus.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getMenuOption()
      The clicked menu option.
      java.lang.String getMenuTarget()
      The clicked menu target.
      WidgetInfo getWidget()
      The WidgetInfo of the widget that was clicked, if available.
      int getWidgetId()
      The widget id of the widget that was clicked.
      int hashCode()  
      void setMenuOption​(java.lang.String menuOption)
      The clicked menu option.
      void setMenuTarget​(java.lang.String menuTarget)
      The clicked menu target.
      void setWidget​(WidgetInfo widget)
      The WidgetInfo of the widget that was clicked, if available.
      void setWidgetId​(int widgetId)
      The widget id of the widget that was clicked.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WidgetMenuOptionClicked

        public WidgetMenuOptionClicked()
    • Method Detail

      • getMenuOption

        public java.lang.String getMenuOption()
        The clicked menu option.
      • getMenuTarget

        public java.lang.String getMenuTarget()
        The clicked menu target.
      • getWidget

        @Nullable
        public WidgetInfo getWidget()
        The WidgetInfo of the widget that was clicked, if available.
      • getWidgetId

        public int getWidgetId()
        The widget id of the widget that was clicked.
      • setMenuOption

        public void setMenuOption​(java.lang.String menuOption)
        The clicked menu option.
      • setMenuTarget

        public void setMenuTarget​(java.lang.String menuTarget)
        The clicked menu target.
      • setWidget

        public void setWidget​(@Nullable
                              WidgetInfo widget)
        The WidgetInfo of the widget that was clicked, if available.
      • setWidgetId

        public void setWidgetId​(int widgetId)
        The widget id of the widget that was clicked.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object