Class UserFormDialogPanel

java.lang.Object
annotation.userforms.UserFormDialogPanel
All Implemented Interfaces:
AnnotationDialogPanel

public class UserFormDialogPanel extends Object implements AnnotationDialogPanel
  • Constructor Details

  • Method Details

    • getDialogComponent

      public JComponent getDialogComponent()
      Description copied from interface: AnnotationDialogPanel
      Get the awt component which will be incorporated into a larger display panel / component.
      Specified by:
      getDialogComponent in interface AnnotationDialogPanel
      Returns:
      an awt component.
    • setParams

      public void setParams(PamDataUnit pamDataUnit)
      Description copied from interface: AnnotationDialogPanel
      Set the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.
      Specified by:
      setParams in interface AnnotationDialogPanel
      Parameters:
      pamDataUnit - Data unit to update annotation on
    • getParams

      public boolean getParams(PamDataUnit pamDataUnit)
      Specified by:
      getParams in interface AnnotationDialogPanel
      Parameters:
      pamDataUnit - Data unit to update annotation on
      Returns:
      true if parameters all have acceptable values and the dialog can close.