Package org.anchoranalysis.mpp.io.output
Class BackgroundCreator
Object
BackgroundCreator
Utility class for creating background
DisplayStacks.-
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayStackcreateBackground(NamedProviderStore<Stack> stackCollection, String backgroundStackName, StackDisplayer displayer) Creates a backgroundDisplayStackfrom a named stack in a collection.
-
Method Details
-
createBackground
public static DisplayStack createBackground(NamedProviderStore<Stack> stackCollection, String backgroundStackName, StackDisplayer displayer) throws CreateException Creates a backgroundDisplayStackfrom a named stack in a collection.- Parameters:
stackCollection- theNamedProviderStorecontaining the stacksbackgroundStackName- the name of the background stack in the collectiondisplayer- theStackDisplayerused to derive the display stack- Returns:
- a new
DisplayStackrepresenting the background - Throws:
CreateException- if the background stack cannot be retrieved or processed
-