Package de.xima.fc.gui.event
Class PlaceholderUpdateLibraryEvent
java.lang.Object
de.xima.fc.gui.event.PlaceholderModifyLibraryEvent
de.xima.fc.gui.event.PlaceholderUpdateLibraryEvent
- All Implemented Interfaces:
Serializable
This event changes the registered placeholders of a certain group by adding and removing the given placeholders.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPlaceholderUpdateLibraryEvent
(IPlaceholderGroup group, Set<PlaceHolder> toAdd, Set<PlaceHolder> toRemove, boolean clearAll) -
Method Summary
Modifier and TypeMethodDescriptionvoid
modify
(IPlaceholderLibrary library) This method may modify which placeholders are registered.replaceWith
(IPlaceholderGroup group, Set<PlaceHolder> newPlaceholders)
-
Constructor Details
-
PlaceholderUpdateLibraryEvent
public PlaceholderUpdateLibraryEvent(IPlaceholderGroup group, Set<PlaceHolder> toAdd, Set<PlaceHolder> toRemove, boolean clearAll)
-
-
Method Details
-
modify
Description copied from class:PlaceholderModifyLibraryEvent
This method may modify which placeholders are registered.- Specified by:
modify
in classPlaceholderModifyLibraryEvent
- Parameters:
library
- The current library with the registered placeholders.
-
replaceWith
public static PlaceholderModifyLibraryEvent replaceWith(IPlaceholderGroup group, Set<PlaceHolder> newPlaceholders)
-