Class MenuChangedEvent

    • Constructor Detail

      • MenuChangedEvent

        @ConstructorProperties({"structureChanged","namesChanged"})
        public MenuChangedEvent​(boolean p_bStructureChanged,
                                boolean p_bNamesChanged)
        Create an event to notify listeners about menu changes.
        Parameters:
        p_bStructureChanged - true if the menu structure has changed, or false otherwise.
        p_bNamesChanged - true if menu names have changed, or false otherwise.
    • Method Detail

      • isStructureChanged

        public boolean isStructureChanged()
        Description copied from interface: IMenuChangedEvent
        Indicates if the menu structure has changed.
        Specified by:
        isStructureChanged in interface IMenuChangedEvent
        Returns:
        true if the menu structure has changed, or false otherwise.
      • isNamesChanged

        public boolean isNamesChanged()
        Description copied from interface: IMenuChangedEvent
        Indicates if the menu names have changed.
        Specified by:
        isNamesChanged in interface IMenuChangedEvent
        Returns:
        true if the menu names have changed, or false otherwise.