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
  • Field Details

    • displayPanel

      public InterfaceDisplayPanel 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

      public void setDisplayPanel​(InterfaceDisplayPanel p)
    • getDisplayPanel

      public InterfaceDisplayPanel getDisplayPanel()
    • 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:
    • 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
    • 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