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
public class PlaceholderUpdateLibraryEvent extends PlaceholderModifyLibraryEvent
This event changes the registered placeholders of a certain group by adding and removing the given placeholders.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlaceholderUpdateLibraryEvent(IPlaceholderGroup group, Set<PlaceHolder> toAdd, Set<PlaceHolder> toRemove, boolean clearAll)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
modify(IPlaceholderLibrary library)
This method may modify which placeholders are registered.static PlaceholderModifyLibraryEvent
replaceWith(IPlaceholderGroup group, Set<PlaceHolder> newPlaceholders)
-
-
-
Constructor Detail
-
PlaceholderUpdateLibraryEvent
public PlaceholderUpdateLibraryEvent(IPlaceholderGroup group, Set<PlaceHolder> toAdd, Set<PlaceHolder> toRemove, boolean clearAll)
-
-
Method Detail
-
modify
public void modify(IPlaceholderLibrary library)
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)
-
-