Package sc.fiji.snt.tracing.artist
Class SearchArtistFactory
java.lang.Object
sc.fiji.snt.tracing.artist.SearchArtistFactory
Factory for creation of
SearchArtists- Author:
- Cameron Arshadi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a BiSearchArtist for the specified BiSearch.create(FillerThread search) Creates a FillerThreadArtist for the specified FillerThread.create(SearchInterface search) Creates a SearchArtist for the specified search interface.create(TracerThread search) Creates a SearchThreadArtist for the specified TracerThread.
-
Constructor Details
-
SearchArtistFactory
public SearchArtistFactory()Constructs a new SearchArtistFactory.
-
-
Method Details
-
create
Creates a SearchArtist for the specified search interface.- Parameters:
search- the SearchInterface to create an artist for- Returns:
- the appropriate SearchArtist
- Throws:
UnsupportedOperationException- if the search type is not supported
-
create
Creates a FillerThreadArtist for the specified FillerThread.- Parameters:
search- the FillerThread to create an artist for- Returns:
- the FillerThreadArtist
-
create
Creates a SearchThreadArtist for the specified TracerThread.- Parameters:
search- the TracerThread to create an artist for- Returns:
- the SearchThreadArtist
-
create
Creates a BiSearchArtist for the specified BiSearch.- Parameters:
search- the BiSearch to create an artist for- Returns:
- the BiSearchArtist
-