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