Package mgui.io.domestic.maps
Class DiscreteColourMapInOptions
java.lang.Object
mgui.interfaces.InterfaceOptions
mgui.io.InterfaceIOOptions
mgui.io.domestic.maps.DiscreteColourMapInOptions
- All Implemented Interfaces:
InterfaceObject,NamedObject,TreeObject,CleanableObject,XMLObject
- Direct Known Subclasses:
CaretAreaColourInOptions
public class DiscreteColourMapInOptions extends InterfaceIOOptions
Options for inputting a DiscreteColourMap.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiscreteColourMapInOptions.FormatNested classes/interfaces inherited from interface mgui.interfaces.xml.XMLObject
XMLObject.XMLEncoding, XMLObject.XMLType -
Field Summary
Fields Modifier and Type Field Description booleanas_discreteInterfaceDisplayPaneldisplayPaneljava.io.File[]filesDiscreteColourMapInOptions.Formatformatjava.lang.String[]namesintno_anchorsbooleannormalized -
Constructor Summary
Constructors Constructor Description DiscreteColourMapInOptions() -
Method Summary
Modifier and Type Method Description InterfaceDisplayPanelgetDisplayPanel()javax.swing.JFileChoosergetFileChooser()Returns a file chooser appropriate for this options instancejavax.swing.JFileChoosergetFileChooser(java.io.File f)Returns a file chooser appropriate for this options instancejava.io.File[]getFiles()Returns the list of files associated with this options instancevoidsetDisplayPanel(InterfaceDisplayPanel p)voidsetFiles(java.io.File[] files)Sets the list of files associated with this options instancevoidsetNamesFromFiles()voidsetObject(InterfaceObject obj)Sets the object on which to perform an I/O operationMethods inherited from class mgui.io.InterfaceIOOptions
getDTD, getLocalName, getShortXML, getXML, getXML, getXMLSchema, handleXMLElementEnd, handleXMLElementStart, handleXMLString, setFromComplementaryOptions, writeXML, writeXML, writeXMLMethods inherited from class mgui.interfaces.InterfaceOptions
clean, destroy, getName, getTreeLabel, isDestroyed, issueTreeNode, setName, setTreeNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
displayPanel
-
files
public java.io.File[] files -
names
public java.lang.String[] names -
as_discrete
public boolean as_discrete -
no_anchors
public int no_anchors -
normalized
public boolean normalized -
format
-
-
Constructor Details
-
DiscreteColourMapInOptions
public DiscreteColourMapInOptions()
-
-
Method Details
-
setNamesFromFiles
public void setNamesFromFiles() -
setDisplayPanel
-
getDisplayPanel
-
getFileChooser
public javax.swing.JFileChooser getFileChooser()Description copied from class:InterfaceIOOptionsReturns a file chooser appropriate for this options instance- Specified by:
getFileChooserin classInterfaceIOOptions- Returns:
-
getFileChooser
public javax.swing.JFileChooser getFileChooser(java.io.File f)Description copied from class:InterfaceIOOptionsReturns a file chooser appropriate for this options instance- Specified by:
getFileChooserin classInterfaceIOOptions- Returns:
-
getFiles
public java.io.File[] getFiles()Description copied from class:InterfaceIOOptionsReturns the list of files associated with this options instance- Specified by:
getFilesin classInterfaceIOOptions- Returns:
-
setFiles
public void setFiles(java.io.File[] files)Description copied from class:InterfaceIOOptionsSets the list of files associated with this options instance- Specified by:
setFilesin classInterfaceIOOptions
-
setObject
Description copied from class:InterfaceIOOptionsSets the object on which to perform an I/O operation- Specified by:
setObjectin classInterfaceIOOptions- Throws:
java.lang.ClassCastException- ifobjis the wrong class for this options instance
-