Package mgui.io.foreign.caret
Class CaretAreaColourLoader
java.lang.Object
mgui.io.FileLoader
mgui.io.domestic.maps.ColourMapLoader
mgui.io.domestic.maps.DiscreteColourMapLoader
mgui.io.foreign.caret.CaretAreaColourLoader
- All Implemented Interfaces:
InterfaceIO,IconObject
public class CaretAreaColourLoader extends DiscreteColourMapLoader
A hack to read Caret area colour files. This should really be done using an XML parser,
but I haven't the patience :P
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.io.domestic.maps.DiscreteColourMapLoader
mapFields inherited from class mgui.io.FileLoader
dataFile, dataURL, options -
Constructor Summary
Constructors Constructor Description CaretAreaColourLoader()CaretAreaColourLoader(java.io.File file) -
Method Summary
Modifier and Type Method Description booleanload(InterfaceIOOptions options, ProgressUpdater progress_bar)Loads data from the set of files or URLs specified byoptions.DiscreteColourMaploadMap(NameMap nameMap)Methods inherited from class mgui.io.domestic.maps.DiscreteColourMapLoader
getObjectIcon, loadAsContinuousMap, loadMap, loadMapMethods inherited from class mgui.io.domestic.maps.ColourMapLoader
getSupportedObjects, loadMap, loadObjectMethods inherited from class mgui.io.FileLoader
getComplementIOType, getFailureMessage, getFile, getIOType, getOptions, getProgressMessage, getSuccessMessage, getTitle, getWriterComplement, load, load, loadObject, loadObject, loadObject, setFile, setOptions, setURL, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
nameMap
-
-
Constructor Details
-
CaretAreaColourLoader
public CaretAreaColourLoader() -
CaretAreaColourLoader
public CaretAreaColourLoader(java.io.File file)
-
-
Method Details
-
load
Description copied from class:FileLoaderLoads data from the set of files or URLs specified byoptions. Loading is controlled by the specifications ofoptions. If loaded object is of typePersistentObject, this method should also set the file loader and reference URL for the object.This method should also set the URL reference and writer and loader attributes to match this one and its complement.
- Overrides:
loadin classDiscreteColourMapLoaderprogress_bar- An optional progress updater. Can benull.- Returns:
-
loadMap
- Throws:
java.io.IOException
-