Package mgui.io.foreign.mricro
Class MricroLutLoader
java.lang.Object
mgui.io.FileLoader
mgui.io.domestic.maps.ColourMapLoader
mgui.io.domestic.maps.DiscreteColourMapLoader
mgui.io.foreign.mricro.MricroLutLoader
- All Implemented Interfaces:
InterfaceIO
,IconObject
public class MricroLutLoader extends DiscreteColourMapLoader
-
Field Summary
Fields inherited from class mgui.io.domestic.maps.DiscreteColourMapLoader
map
Fields inherited from class mgui.io.FileLoader
dataFile, dataURL, options
-
Constructor Summary
Constructors Constructor Description MricroLutLoader()
MricroLutLoader(java.io.File file)
-
Method Summary
Modifier and Type Method Description DiscreteColourMap
loadMap()
DiscreteColourMap
loadMap(DiscreteColourMapInOptions.Format format, boolean normalized)
Loads a discrete colour map from the specified format.Methods inherited from class mgui.io.domestic.maps.DiscreteColourMapLoader
getObjectIcon, load, loadAsContinuousMap
Methods inherited from class mgui.io.domestic.maps.ColourMapLoader
getSupportedObjects, loadMap, loadObject
Methods inherited from class mgui.io.FileLoader
getComplementIOType, getFailureMessage, getFile, getIOType, getOptions, getProgressMessage, getSuccessMessage, getTitle, getWriterComplement, load, load, loadObject, loadObject, loadObject, setFile, setOptions, setURL, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
MricroLutLoader
public MricroLutLoader() -
MricroLutLoader
public MricroLutLoader(java.io.File file)
-
-
Method Details
-
loadMap
public DiscreteColourMap loadMap(DiscreteColourMapInOptions.Format format, boolean normalized) throws java.io.IOExceptionLoads a discrete colour map from the specified format.- Overrides:
loadMap
in classDiscreteColourMapLoader
- Parameters:
format
-- Returns:
- the map
- Throws:
java.io.IOException
-
loadMap
- Overrides:
loadMap
in classDiscreteColourMapLoader
- Throws:
java.io.IOException
-