Package mgui.io.foreign.pajek
Class PajekGraphInputOptions
java.lang.Object
mgui.interfaces.InterfaceOptions
mgui.io.InterfaceIOOptions
mgui.io.domestic.shapes.ShapeInputOptions
mgui.io.foreign.pajek.PajekGraphInputOptions
- All Implemented Interfaces:
InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
,XMLObject
public class PajekGraphInputOptions extends ShapeInputOptions
Options for Pajek graph input.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew
- See Also:
PajekGraphLoader
-
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.util.ArrayList<java.lang.Boolean>
create_shape
java.util.ArrayList<java.lang.String>
graph_names
java.util.ArrayList<java.lang.String>
shape_names
java.util.ArrayList<ShapeSet3DInt>
shape_sets
Fields inherited from class mgui.io.domestic.shapes.ShapeInputOptions
files, names, shape, shape_set
-
Constructor Summary
Constructors Constructor Description PajekGraphInputOptions()
-
Method Summary
Modifier and Type Method Description 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 instancevoid
setFiles(java.io.File[] files)
Sets the list of files associated with this options instancevoid
setObject(InterfaceObject obj)
Sets the object on which to perform an I/O operationMethods inherited from class mgui.io.domestic.shapes.ShapeInputOptions
getFiles, setShapeSet
Methods inherited from class mgui.io.InterfaceIOOptions
getDTD, getLocalName, getShortXML, getXML, getXML, getXMLSchema, handleXMLElementEnd, handleXMLElementStart, handleXMLString, setFromComplementaryOptions, 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
-
graph_names
public java.util.ArrayList<java.lang.String> graph_names -
create_shape
public java.util.ArrayList<java.lang.Boolean> create_shape -
shape_names
public java.util.ArrayList<java.lang.String> shape_names -
shape_sets
-
-
Constructor Details
-
PajekGraphInputOptions
public PajekGraphInputOptions()
-
-
Method Details
-
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:
-
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
-