All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----ncsa.horizon.modules.MetadataViewer
Using it should be simple. The user of the class should simply create an object of type MetadataViewer and allocate a (600, 400) pixel area in her application or applet in order to display the Metadata object that needs to be displayed. The Metadata object to be displayed can be displayed immediately if it is passed with the constructor, for example,
MetadataViewer mdv = new MetadataViewer(mdata);
mdv.display();
ScrollablePanel span = new ScrollablePanel(mdv);
setLayout(new BorderLayout());
this.add("Center",span);
where `mdata' is the Metadata object the user wants to be displayed.
public MetadataViewer(Metadata mdata)
public void display()
public Metadata getMetadata()
All Packages Class Hierarchy This Package Previous Next Index