Class FileInfoImageXML.SurfaceLink

java.lang.Object
gov.nih.mipav.model.file.FileInfoImageXML.SurfaceLink
All Implemented Interfaces:
Serializable
Enclosing class:
FileInfoImageXML

public class FileInfoImageXML.SurfaceLink extends Object implements Serializable

Title: SurfaceLink

Description: Link to a surface associated with the image

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
not attributable
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) boolean
    Should the surface be displayed.
    (package private) float
    Opacity of surface.
    (package private) String
    Path to surface.
    private static final long
    Use serialVersionUID for interoperability.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new surface link with the given path.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets whether the surface should be displayed.
    float
    Gets the opacity of the surface.
    Gets the path for the surface.
    void
    setDisplay(boolean flag)
    Sets whether the surface should be displayed.
    void
    setOpacity(float val)
    Sets the opacity for the surface.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

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

      boolean display
      Should the surface be displayed.
    • opacity

      float opacity
      Opacity of surface.
    • path

      String path
      Path to surface.
  • Constructor Details

    • SurfaceLink

      public SurfaceLink(String _path)
      Create a new surface link with the given path.
      Parameters:
      _path - String path to surface
  • Method Details

    • getDisplay

      public boolean getDisplay()
      Gets whether the surface should be displayed.
      Returns:
      boolean whether the surface should be displayed
    • getOpacity

      public float getOpacity()
      Gets the opacity of the surface.
      Returns:
      float opacity of the surface
    • getPath

      public String getPath()
      Gets the path for the surface.
      Returns:
      String path
    • setDisplay

      public void setDisplay(boolean flag)
      Sets whether the surface should be displayed.
      Parameters:
      flag - boolean should the surface be displayed
    • setOpacity

      public void setOpacity(float val)
      Sets the opacity for the surface.
      Parameters:
      val - float opacity for the surface