Package gov.nih.mipav.view.dialogs
Class JDialogFileInfoXML.SurfaceDisplay
- java.lang.Object
-
- gov.nih.mipav.view.dialogs.JDialogFileInfoXML.SurfaceDisplay
-
- Enclosing class:
- JDialogFileInfoXML
public class JDialogFileInfoXML.SurfaceDisplay extends java.lang.ObjectClass to hold one table, model, & label per parameter set There can be infinite parameter sets, and the sets are deletable, so each set display must be stored in a hashtable for easy access/deletion.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classJDialogFileInfoXML.SurfaceDisplay.HeaderListenerSimple listener for the table header.
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JLabelsurLabelDOCUMENT ME!private ViewTableModelsurModelDOCUMENT ME!private javax.swing.JTablesurTableDOCUMENT ME!
-
Constructor Summary
Constructors Constructor Description SurfaceDisplay()Creates surface display table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSurface(java.lang.String path, float opacity, boolean load)Add a surface to the table.javax.swing.JLabelgetLabel()Gets the label.ViewTableModelgetModel()Gets the table model.javax.swing.JTablegetTable()Gets the table of surfaces.
-
-
-
Field Detail
-
surLabel
private final javax.swing.JLabel surLabel
DOCUMENT ME!
-
surModel
private final ViewTableModel surModel
DOCUMENT ME!
-
surTable
private final javax.swing.JTable surTable
DOCUMENT ME!
-
-
Method Detail
-
addSurface
public void addSurface(java.lang.String path, float opacity, boolean load)Add a surface to the table.- Parameters:
path- the surface file pathopacity- the surface opacityload- whether to load the surface when opening the volume renderer
-
getLabel
public javax.swing.JLabel getLabel()
Gets the label.- Returns:
- label
-
getModel
public ViewTableModel getModel()
Gets the table model.- Returns:
- table model
-
getTable
public javax.swing.JTable getTable()
Gets the table of surfaces.- Returns:
- table
-
-