Class LegalPersonInfoViewer


  • public class LegalPersonInfoViewer
    extends MetadataViewer
    The LegalPersonInfoViewer is a wrapper class for LegalPersonviewDialog, we can use it with a couple of lines of code:
            LegalPersonInfoViewer personInfoViewer = new LegalPersonInfoViewer();
            personInfoViewer.setValue(person); 
            personInfoViewer.showOpenDialog();
      
    • Method Summary

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

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

      • LegalPersonInfoViewer

        public LegalPersonInfoViewer()
    • Method Detail

      • setValue

        public void setValue​(UntypedData person)
        set the Person value. set the Person value.
        Specified by:
        setValue in class MetadataViewer
        Parameters:
        person - the value the set
      • showOpenDialog

        public int showOpenDialog()
        pop up a PersonviewDialog Dialog
        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