|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectComponent
Container
JComponent
IIOMetadataPanel
public class IIOMetadataPanel
A panel showing the content of an IIOMetadata instance. This panel contains three parts:
MetadataTreeTable javadoc.
Most columns are hiden by default. The initial view shows only (name, value) pairs in
the IIOMetadata case, or (name, type) pairs in the IIOMetadataFormat
case. Users can make additional columns visible by clicking on the icon in the upper-right corner.
This class can be used in two ways (choose only one):
IIOMetadataFormat instances without data,
invoke addMetadataFormat(...).IIOMetadata instances, invoke
addMetadata(...).|
|
MetadataTreeTable,
Serialized Form
| display/geotk-widgets-swing (download) | View source code for this class |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
IIOMetadataPanel()
Creates a panel with no initial metadata. |
|
| Method Summary | |
|---|---|
void |
addDefaultMetadataFormats()
Adds to this panel the description of "geotk-coverageio_3.07" and "javax_imageio_1.0" formats. |
void |
addMetadata(IIOMetadata stream,
IIOMetadata... image)
Adds to this panel the values of the given stream and image metadata. |
void |
addMetadataFormat(IIOMetadataFormat stream,
IIOMetadataFormat image)
Adds to this panel the description of the given stream and image metadata formats. |
void |
clear()
Removes all metadata from this widget. |
void |
setMetadata(IIOMetadata stream,
IIOMetadata... image)
Clears the previous metadata content and adds the values of the given stream and image metadata. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IIOMetadataPanel()
addXXXMetadata or
addXXXMetadataFormat methods should be invoked in order to display a content.
| Method Detail |
|---|
public void clear()
public void setMetadata(IIOMetadata stream,
IIOMetadata... image)
clear()
followed by addMetadata(...), except that
the metadata initially show will be for the same format than the one currently selected,
if this format exists in the new metadata.
stream - The stream metadata, or null if none.image - The image metadata for each image in a file.
public void addMetadata(IIOMetadata stream,
IIOMetadata... image)
addMetadataFormat prior this method.
stream - The stream metadata, or null if none.image - The image metadata for each image in a file.
public void addMetadataFormat(IIOMetadataFormat stream,
IIOMetadataFormat image)
stream - The stream metadata format, or null if none.image - The image metadata format, or null if none.public void addDefaultMetadataFormats()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||