Class DataFormatViewer


  • public class DataFormatViewer
    extends MetadataViewer
    DataFormatViewer provides a mechanism for the user to view DataFormat information. The following code pops up a DataFormatViewer Dialog
        DataFormatViewer dataFormatViewer = new DataFormatViewer();
        dataFormatViewer.showOpenDialog();
     
    • Method Summary

      Modifier and Type Method Description
      void setTitle​(java.lang.String title)
      set the title of metadata dialog
      void setValue​(UntypedData data)
      set a DataFormat value
      int showOpenDialog()
      pop up a Dialog to view the DataFormat
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataFormatViewer

        public DataFormatViewer()
    • Method Detail

      • showOpenDialog

        public int showOpenDialog()
        pop up a Dialog to view the DataFormat
        Specified by:
        showOpenDialog in class MetadataViewer
        Returns:
        the result
      • setTitle

        public void setTitle​(java.lang.String title)
        Description copied from class: MetadataViewer
        set the title of metadata dialog
        Specified by:
        setTitle in class MetadataViewer
        Parameters:
        title - the title for the dialog