Package gov.nih.mipav.view.dialogs
Class JDialogFileInfoXML.PSetDisplay
- java.lang.Object
-
- gov.nih.mipav.view.dialogs.JDialogFileInfoXML.PSetDisplay
-
- Enclosing class:
- JDialogFileInfoXML
public class JDialogFileInfoXML.PSetDisplay extends java.lang.Object
Class 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 class
JDialogFileInfoXML.PSetDisplay.HeaderListener
Simple listener for the table header.
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
description
DOCUMENT ME!private javax.swing.JLabel
setLabel
DOCUMENT ME!private ViewTableModel
setModel
DOCUMENT ME!private javax.swing.JTable
setTable
DOCUMENT ME!
-
Constructor Summary
Constructors Constructor Description PSetDisplay(java.lang.String description)
Creates a parameter set display with the given description that will be used as the key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameterData(java.lang.String paramName, java.lang.String paramDesc, java.lang.String valueType, java.lang.String value, java.lang.String date, java.lang.String time)
Adds a new row of parameter data to the display's table.java.lang.String
getDescription()
Gets the set display's description.javax.swing.JLabel
getLabel()
Gets the label.ViewTableModel
getModel()
Gets the table model.javax.swing.JTable
getTable()
Gets the table of parameters.
-
-
-
Field Detail
-
description
private final java.lang.String description
DOCUMENT ME!
-
setLabel
private final javax.swing.JLabel setLabel
DOCUMENT ME!
-
setModel
private final ViewTableModel setModel
DOCUMENT ME!
-
setTable
private final javax.swing.JTable setTable
DOCUMENT ME!
-
-
Method Detail
-
addParameterData
public void addParameterData(java.lang.String paramName, java.lang.String paramDesc, java.lang.String valueType, java.lang.String value, java.lang.String date, java.lang.String time)
Adds a new row of parameter data to the display's table.- Parameters:
paramName
- StringparamDesc
- StringvalueType
- Stringvalue
- Stringdate
- Stringtime
- String
-
getDescription
public java.lang.String getDescription()
Gets the set display's description.- Returns:
- description
-
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 parameters.- Returns:
- table
-
-