Package org.anchoranalysis.mpp.io.output
Class BackgroundCreator
Object
org.anchoranalysis.mpp.io.output.BackgroundCreator
public class BackgroundCreator extends Object
Utility class for creating background
DisplayStacks.-
Method Summary
Modifier and Type Method Description static 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 CreateExceptionCreates 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
-