Package mgui.io.domestic.variables
Class MatrixOutOptions
java.lang.Object
mgui.interfaces.InterfaceOptions
mgui.io.InterfaceIOOptions
mgui.io.domestic.variables.MatrixOutOptions
- All Implemented Interfaces:
InterfaceObject,NamedObject,TreeObject,CleanableObject,XMLObject
public class MatrixOutOptions extends InterfaceIOOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface mgui.interfaces.xml.XMLObject
XMLObject.XMLEncoding, XMLObject.XMLType -
Field Summary
Fields Modifier and Type Field Description java.lang.StringdelimiterInterfaceDisplayPaneldisplayPaneljava.io.File[]filesintformatstatic intFORMAT_ASCII_FULLstatic intFORMAT_ASCII_SPARSEstatic intFORMAT_BINARY_FULLstatic intFORMAT_BINARY_SPARSEbooleanhas_headerJama.Matrix[]matricesintprecisionjava.lang.Stringstring_format -
Constructor Summary
Constructors Constructor Description MatrixOutOptions()MatrixOutOptions(int format) -
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 instanceJama.Matrix[]getMatrices()voidsetDisplayPanel(InterfaceDisplayPanel p)voidsetFiles(java.io.File[] files)Sets the list of files associated with this options instancevoidsetMatrices(Jama.Matrix[] matrices)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
-
FORMAT_ASCII_FULL
public static final int FORMAT_ASCII_FULL- See Also:
- Constant Field Values
-
FORMAT_BINARY_FULL
public static final int FORMAT_BINARY_FULL- See Also:
- Constant Field Values
-
FORMAT_ASCII_SPARSE
public static final int FORMAT_ASCII_SPARSE- See Also:
- Constant Field Values
-
FORMAT_BINARY_SPARSE
public static final int FORMAT_BINARY_SPARSE- See Also:
- Constant Field Values
-
format
public int format -
files
public java.io.File[] files -
matrices
public Jama.Matrix[] matrices -
displayPanel
-
precision
public int precision -
string_format
public java.lang.String string_format -
has_header
public boolean has_header -
delimiter
public java.lang.String delimiter
-
-
Constructor Details
-
MatrixOutOptions
public MatrixOutOptions() -
MatrixOutOptions
public MatrixOutOptions(int format)
-
-
Method Details
-
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:
-
getMatrices
public Jama.Matrix[] getMatrices() -
setDisplayPanel
-
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
-
setMatrices
public void setMatrices(Jama.Matrix[] matrices) -
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
-