Class AttributeListTableBrowser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable

public class AttributeListTableBrowser extends JTable

The AttributeListTableBrowser class implements a Swing graphical user interface to browse the contents of an AttributeListTableModel.

See Also:
  • Constructor Details

    • AttributeListTableBrowser

      public AttributeListTableBrowser(AttributeListTableModel model)

      Build and display a graphical user interface view of a table model.

      Parameters:
      model - the instance of the table model
    • AttributeListTableBrowser

      public AttributeListTableBrowser(AttributeList list)

      Build and display a graphical user interface view of a table of attributes.

      Implicitly builds a model from the attribute list.

      Parameters:
      list - an attribute list
    • AttributeListTableBrowser

      public AttributeListTableBrowser(AttributeList list, HashSet<AttributeTag> includeList, HashSet<AttributeTag> excludeList)

      Build and display a graphical user interface view of a table of attributes.

      Implicitly builds a model from the attribute list.

      Parameters:
      list - an attribute list
      includeList - the list of attributes to include
      excludeList - the list of attributes to exclude
  • Method Details

    • setColumnWidths

      public void setColumnWidths()

      Called after setting the model to make sure that the cells (columns) are rendered with an appropriate width, with fudge factors to handle different platforms.

    • main

      public static void main(String[] arg)

      For testing.

      Displays a table built from the attributes in the file named on the command line.

      Parameters:
      arg - DICOM filename