Class AnnotationDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class AnnotationDialog extends JDialog
See Also:
  • Constructor Details

    • AnnotationDialog

      public AnnotationDialog(Window parent, boolean modal)
      Creates new form NewAnnotationDialog
      Parameters:
      parent -
      modal -
  • Method Details

    • isCanceled

      public boolean isCanceled()
    • main

      public static void main(String[] args)
      Parameters:
      args - the command line arguments
    • setAnnotation

      public void setAnnotation(Annotation annotation)
      Sets the annotation to be edited. The proper editing panel for the specific annotation type will be displayed.
      Parameters:
      annotation -
    • getAnnotation

      public Annotation getAnnotation()
      Returns the annotation that edited by the panel. Any edits in the panel must be saved first.