Class FileInfoSurfaceRefXML

    • Field Detail

      • serialVersionUID

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

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

        private java.lang.String filename
        .sur file name.
      • m_kType

        private java.lang.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 Detail

      • FileInfoSurfaceRefXML

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

      • 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 java.lang.String getType()
        Returns the surface type keyword:
        Returns:
        DOCUMENT ME!
      • getSurfaceFileName

        public java.lang.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​(java.lang.String kType)
        set the surface type keyword:
        Parameters:
        kType - DOCUMENT ME!
      • setSurfaceFileName

        public void setSurfaceFileName​(java.lang.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