Class DateEventsViewer


  • public class DateEventsViewer
    extends MetadataViewer
    The DateEventsViewer is a wrapper class for DateEventsviewerDialog, we can use it with a couple of lines of code:
            DateEventsViewer dateEventsViewer = new DateEventsViewer();
            dateEventsViewer.setValue(dataevents); 
            dateEventsViewer.showOpenDialog();
      
    • Method Summary

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

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

      • DateEventsViewer

        public DateEventsViewer()
    • Method Detail

      • setValue

        public void setValue​(UntypedData dataevents)
        Description copied from class: MetadataViewer
        set the original value of metadata
        Specified by:
        setValue in class MetadataViewer
        Parameters:
        dataevents - the value the set
      • 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