Class ShapeDataInputOptions

java.lang.Object
mgui.interfaces.InterfaceOptions
mgui.io.InterfaceIOOptions
mgui.io.domestic.shapes.ShapeDataInputOptions
All Implemented Interfaces:
InterfaceObject, NamedObject, TreeObject, CleanableObject, XMLObject

public class ShapeDataInputOptions
extends InterfaceIOOptions
Options for loading vertex-wise data into a shape. Allows multiple files with multiple columns.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Field Details

    • shape

      public InterfaceShape shape
    • names

      public java.lang.String[] names
    • files

      public java.io.File[] files
    • columns

      public java.lang.String[][] columns
    • load_column

      public boolean[][] load_column
    • formats

      public ShapeDataInputOptions.Format[][] formats
    • skip_header

      public boolean skip_header
    • as_one_column

      public boolean as_one_column
  • Constructor Details

    • ShapeDataInputOptions

      public ShapeDataInputOptions()
  • Method Details

    • getFiles

      public java.io.File[] getFiles()
      Description copied from class: InterfaceIOOptions
      Returns the list of files associated with this options instance
      Specified by:
      getFiles in class InterfaceIOOptions
      Returns:
    • setFiles

      public void setFiles​(java.io.File[] files)
      Description copied from class: InterfaceIOOptions
      Sets the list of files associated with this options instance
      Specified by:
      setFiles in class InterfaceIOOptions
    • getNames

      public java.lang.String[] getNames()
    • setNames

      public void setNames​(java.lang.String[] names)
    • getShape

      public InterfaceShape getShape()
    • setShape

      public void setShape​(Shape3DInt shape)
    • getFileChooser

      public javax.swing.JFileChooser getFileChooser()
      Description copied from class: InterfaceIOOptions
      Returns a file chooser appropriate for this options instance
      Specified by:
      getFileChooser in class InterfaceIOOptions
      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
      Specified by:
      getFileChooser in class InterfaceIOOptions
      Returns:
    • setObject

      public void setObject​(InterfaceObject obj) throws java.lang.ClassCastException
      Description copied from class: InterfaceIOOptions
      Sets the object on which to perform an I/O operation
      Specified by:
      setObject in class InterfaceIOOptions
      Throws:
      java.lang.ClassCastException - if obj is the wrong class for this options instance