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:
-
Constructor Summary
ConstructorDescriptionMenuChangedEvent
(boolean p_bStructureChanged, boolean p_bNamesChanged) Create an event to notify listeners about menu changes. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates if the menu names have changed.boolean
Indicates if the menu structure has changed.
-
Constructor Details
-
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, orfalse
otherwise.p_bNamesChanged
-true
if menu names have changed, orfalse
otherwise.
-
-
Method Details
-
isStructureChanged
public boolean isStructureChanged()Description copied from interface:IMenuChangedEvent
Indicates if the menu structure has changed.- Specified by:
isStructureChanged
in interfaceIMenuChangedEvent
- Returns:
true
if the menu structure has changed, orfalse
otherwise.
-
isNamesChanged
public boolean isNamesChanged()Description copied from interface:IMenuChangedEvent
Indicates if the menu names have changed.- Specified by:
isNamesChanged
in interfaceIMenuChangedEvent
- Returns:
true
if the menu names have changed, orfalse
otherwise.
-