Package de.uplanet.lucy.server.menu
Class MenuChangedEvent
- java.lang.Object
-
- de.uplanet.lucy.server.menu.MenuChangedEvent
-
- All Implemented Interfaces:
IServerEvent,IMenuChangedEvent,Serializable
@Scriptable public final class MenuChangedEvent extends Object implements IMenuChangedEvent, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MenuChangedEvent(boolean p_bStructureChanged, boolean p_bNamesChanged)Create an event to notify listeners about menu changes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisNamesChanged()Indicates if the menu names have changed.booleanisStructureChanged()Indicates if the menu structure has changed.
-
-
-
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-trueif the menu structure has changed, orfalseotherwise.p_bNamesChanged-trueif menu names have changed, orfalseotherwise.
-
-
Method Detail
-
isStructureChanged
public boolean isStructureChanged()
Description copied from interface:IMenuChangedEventIndicates if the menu structure has changed.- Specified by:
isStructureChangedin interfaceIMenuChangedEvent- Returns:
trueif the menu structure has changed, orfalseotherwise.
-
isNamesChanged
public boolean isNamesChanged()
Description copied from interface:IMenuChangedEventIndicates if the menu names have changed.- Specified by:
isNamesChangedin interfaceIMenuChangedEvent- Returns:
trueif the menu names have changed, orfalseotherwise.
-
-