|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.AttributeTreeBrowser
public class AttributeTreeBrowser
The AttributeTreeBrowser class implements a Swing graphical user interface
to browse the contents of an AttributeTree.
A main() method is provided for testing and as a utility that reads a DICOM file as a list of attributes and displays them.
| Constructor Summary | |
|---|---|
AttributeTreeBrowser(AttributeList list,
JScrollPane treeBrowserScrollPane)
Build and display a graphical user interface view of a tree of attributes. |
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
For testing. |
static void |
setSortByName(JScrollPane treeBrowserScrollPane,
boolean sortByName)
Set the sort order to be alphabetical by attribute name, or numerical by group and element tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeTreeBrowser(AttributeList list,
JScrollPane treeBrowserScrollPane)
throws DicomException
Build and display a graphical user interface view of a tree of attributes.
Implicitly builds a tree from the attribute list.
list - the list whose attributes to browsetreeBrowserScrollPane - the scrolling pane in which the tree view of the attributes will be rendered
DicomException| Method Detail |
|---|
public static void setSortByName(JScrollPane treeBrowserScrollPane,
boolean sortByName)
Set the sort order to be alphabetical by attribute name, or numerical by group and element tag.
treeBrowserScrollPane - the scroll pane containing the treesortByName - true if sort alphabetically by attribute namepublic static void main(String[] arg)
For testing.
Displays a tree browser built from the attributes in the file named on the command line.
arg -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||