Package com.pixelmed.dicom
Class AttributeListFunctionalGroupsTableModelOneFrame
java.lang.Object
javax.swing.table.AbstractTableModel
com.pixelmed.dicom.AttributeListTableModel
com.pixelmed.dicom.AttributeListFunctionalGroupsTableModel
com.pixelmed.dicom.AttributeListFunctionalGroupsTableModelOneFrame
- All Implemented Interfaces:
Serializable
,TableModel
public class AttributeListFunctionalGroupsTableModelOneFrame
extends AttributeListFunctionalGroupsTableModel
The abstract AttributeListFunctionalGroupsTableModelOneFrame
class extends a
AttributeListFunctionalGroupsTableModel
to abstract the contents of a list of attributes
containing shared and per-frame functional groups for multi-frame objects as
a table with a single row for a single frame in order to provide support for a AttributeListTableBrowser
.
For details of some of the methods implemented here see javax.swing.table.AbstractTableModel
.
- See Also:
-
Field Summary
Fields inherited from class com.pixelmed.dicom.AttributeListTableModel
columnCount, columnNames, data, excludeList, includeList, rowCount
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeListFunctionalGroupsTableModelOneFrame
(AttributeList list, HashSet includeList, HashSet excludeList) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Populate the table model from an attribute list.void
selectValuesForDifferentFrame
(int frameNumber) Update anything that varies on a per-frame basis to the values for the specified frame.Methods inherited from class com.pixelmed.dicom.AttributeListFunctionalGroupsTableModel
addAllAcceptableAttributesToSetAndValuesToMap, addAllAcceptableAttributesToSetAndValuesToMap, addAllAcceptableAttributesWithinSequenceAttributesToSetAndValuesToMap, addAllAcceptableAttributesWithinSequenceAttributesToSetAndValuesToMapForAllFrames
Methods inherited from class com.pixelmed.dicom.AttributeListTableModel
getColumnCount, getColumnName, getRowCount, getValueAt, isAcceptable, isCellEditable
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
-
Constructor Details
-
AttributeListFunctionalGroupsTableModelOneFrame
public AttributeListFunctionalGroupsTableModelOneFrame() -
AttributeListFunctionalGroupsTableModelOneFrame
- Parameters:
list
- the list of attributes whose values to use
-
AttributeListFunctionalGroupsTableModelOneFrame
public AttributeListFunctionalGroupsTableModelOneFrame(AttributeList list, HashSet includeList, HashSet excludeList) - Parameters:
list
- the list of attributes whose values to useincludeList
- attributes to includeexcludeList
- attributes to exclude
-
-
Method Details
-
initializeModelFromAttributeList
Populate the table model from an attribute list.
- Overrides:
initializeModelFromAttributeList
in classAttributeListTableModel
- Parameters:
list
- the attributes whose values to use
-
selectValuesForDifferentFrame
public void selectValuesForDifferentFrame(int frameNumber) Update anything that varies on a per-frame basis to the values for the specified frame.
Clear any displayed value if frameNumber out of range.
- Parameters:
frameNumber
- the selected frame, numbered from 0, -1 if no frame is selected
-