Package gov.nih.mipav.model.file
Class FileInfoImageXML.SurfaceLink
- java.lang.Object
-
- gov.nih.mipav.model.file.FileInfoImageXML.SurfaceLink
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- FileInfoImageXML
public class FileInfoImageXML.SurfaceLink extends java.lang.Object implements java.io.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
display
Should the surface be displayed.(package private) float
opacity
Opacity of surface.(package private) java.lang.String
path
Path to surface.private static long
serialVersionUID
Use serialVersionUID for interoperability.
-
Constructor Summary
Constructors Constructor Description SurfaceLink(java.lang.String _path)
Create a new surface link with the given path.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getDisplay()
Gets whether the surface should be displayed.float
getOpacity()
Gets the opacity of the surface.java.lang.String
getPath()
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.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Use serialVersionUID for interoperability.- See Also:
- Constant Field Values
-
display
boolean display
Should the surface be displayed.
-
opacity
float opacity
Opacity of surface.
-
path
java.lang.String path
Path to surface.
-
-
Method Detail
-
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 java.lang.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
-
-