Class FileInfoSurfaceRefXML

All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
FileInfoSurfaceGiftiXML_WM, FileInfoSurfaceRefXML_J3D, FileInfoSurfaceRefXML_WM

public abstract class FileInfoSurfaceRefXML extends FileInfoXML
This structure contains the information that describes how an XML surface (see surface.xsd and FileSurfaceXML.java) is stored on disk.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • m_iUnique_ID

      private int m_iUnique_ID
      Unique ID, for the surface:.
    • filename

      private String filename
      .sur file name.
    • m_kType

      private String m_kType
      Type keyword for the surface:.
    • m_kOpacity

      private float m_kOpacity
      surface opacity:.
    • m_kLevelDetail

      private int m_kLevelDetail
      surface level of detail:.
  • Constructor Details

    • FileInfoSurfaceRefXML

      public FileInfoSurfaceRefXML(String name, String directory, int format)
      Main constructor for FileInfoSurfaceXML.
      Parameters:
      name - String file name
      directory - String file directory
      format - int file format (data type)
  • Method Details

    • displayAboutInfo

      public void displayAboutInfo(JDialogBase dlog, TransMatrix kMat)
      Displays the file information.
      Specified by:
      displayAboutInfo in class FileInfoXML
      Parameters:
      dlog - JDialogBase dialog box that is written to
      kMat - DOCUMENT ME!
    • finalize

      public void finalize()
      Prepares the class for cleanup.
      Overrides:
      finalize in class FileInfoXML
    • getID

      public int getID()
      Returns the unique id for the surface:
      Returns:
      DOCUMENT ME!
    • getOpacity

      public float getOpacity()
      Returns the surface opacity value.
      Returns:
      surface opacity.
    • getLevelDetail

      public int getLevelDetail()
      Returns the surface level of detail.
      Returns:
      surface level of detail.
    • getType

      public String getType()
      Returns the surface type keyword:
      Returns:
      DOCUMENT ME!
    • getSurfaceFileName

      public String getSurfaceFileName()
      Return .sur file reference name.
      Returns:
      surface file name
    • setID

      public void setID(int iID)
      Set the unique id for the surface:
      Parameters:
      iID - DOCUMENT ME!
    • setOpacity

      public void setOpacity(float opacity)
      set the surface opacity keyword:
      Parameters:
      opacity - surface opacity
    • setLevelDetail

      public void setLevelDetail(int levelDetail)
      set the surface level of detail keyword:
      Parameters:
      level - of detail
    • setType

      public void setType(String kType)
      set the surface type keyword:
      Parameters:
      kType - DOCUMENT ME!
    • setSurfaceFileName

      public void setSurfaceFileName(String name)
      Set the surface file name.
      Parameters:
      name - surface filename.
    • updateFileInfos

      public void updateFileInfos(FileInfoXML fInfo)
      Used to propogate all FileInfoSurfaceRefXML private variables to other FileInfosSurfaceRefXML.
      Specified by:
      updateFileInfos in class FileInfoXML
      Parameters:
      fInfo - FileInfoSurfaceRefXML file info to be copied into