Package mgui.io.domestic.shapes
Class SurfaceInputOptions
java.lang.Object
mgui.interfaces.InterfaceOptions
mgui.io.InterfaceIOOptions
mgui.io.domestic.shapes.ShapeInputOptions
mgui.io.domestic.shapes.SurfaceInputOptions
- All Implemented Interfaces:
InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
,XMLObject
- Direct Known Subclasses:
CaretSurfaceInOptions
,GiftiInputOptions
,MincSurfaceDataInOptions
public class SurfaceInputOptions extends ShapeInputOptions
Options for inputting a Mesh3DInt object.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
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 InterfaceDisplayPanel
displayPanel
java.io.File[]
files
java.lang.String
merge_name
boolean
merge_shapes
java.lang.String[]
names
ShapeSet3DInt
shapeSet
Fields inherited from class mgui.io.domestic.shapes.ShapeInputOptions
shape, shape_set
-
Constructor Summary
Constructors Constructor Description SurfaceInputOptions()
-
Method Summary
Modifier and Type Method Description InterfaceDisplayPanel
getDisplayPanel()
javax.swing.JFileChooser
getFileChooser()
Returns a file chooser appropriate for this options instancejavax.swing.JFileChooser
getFileChooser(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 instancevoid
setDisplayPanel(InterfaceDisplayPanel p)
void
setFiles(java.io.File[] files)
Sets the list of files associated with this options instancevoid
setFromComplementaryOptions(InterfaceIOOptions options)
Sets the values of this object from those ofoptions
, defined for its complementary I/O interface.void
setObject(InterfaceObject obj)
Sets the object on which to perform an I/O operationMethods inherited from class mgui.io.domestic.shapes.ShapeInputOptions
setShapeSet
Methods inherited from class mgui.io.InterfaceIOOptions
getDTD, getLocalName, getShortXML, getXML, getXML, getXMLSchema, handleXMLElementEnd, handleXMLElementStart, handleXMLString, writeXML, writeXML, writeXML
Methods inherited from class mgui.interfaces.InterfaceOptions
clean, destroy, getName, getTreeLabel, isDestroyed, issueTreeNode, setName, setTreeNode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
shapeSet
-
files
public java.io.File[] files -
names
public java.lang.String[] names -
merge_shapes
public boolean merge_shapes -
merge_name
public java.lang.String merge_name -
displayPanel
-
-
Constructor Details
-
SurfaceInputOptions
public SurfaceInputOptions()
-
-
Method Details
-
setDisplayPanel
-
getDisplayPanel
-
getFiles
public java.io.File[] getFiles()Description copied from class:InterfaceIOOptions
Returns the list of files associated with this options instance- Overrides:
getFiles
in classShapeInputOptions
- Returns:
-
setFiles
public void setFiles(java.io.File[] files)Description copied from class:InterfaceIOOptions
Sets the list of files associated with this options instance- Overrides:
setFiles
in classShapeInputOptions
-
getFileChooser
public javax.swing.JFileChooser getFileChooser()Description copied from class:InterfaceIOOptions
Returns a file chooser appropriate for this options instance- Overrides:
getFileChooser
in classShapeInputOptions
- Returns:
-
getFileChooser
public javax.swing.JFileChooser getFileChooser(java.io.File f)Description copied from class:InterfaceIOOptions
Returns a file chooser appropriate for this options instance- Overrides:
getFileChooser
in classShapeInputOptions
- Returns:
-
setFromComplementaryOptions
Description copied from class:InterfaceIOOptions
Sets the values of this object from those ofoptions
, defined for its complementary I/O interface.- Overrides:
setFromComplementaryOptions
in classInterfaceIOOptions
-
setObject
Description copied from class:InterfaceIOOptions
Sets the object on which to perform an I/O operation- Overrides:
setObject
in classShapeInputOptions
- Throws:
java.lang.ClassCastException
- ifobj
is the wrong class for this options instance
-