Class GeometryPreview



  • public class GeometryPreview
    extends Object
    • Constructor Detail

      • GeometryPreview

        public GeometryPreview()
    • Method Detail

      • showViewerWithFile

        public JDialog showViewerWithFile(Component component,
                                          Geometry geometry,
                                          String title)
        Show a preview window showing the given geometry on a default background of map images.
        Parameters:
        component - the parent component for the dialog.
        geometry - the geometry.
        title - the title for the dialog.
        Returns:
        the dialog displayed.
      • showViewerWithFile

        public JDialog showViewerWithFile(Component component,
                                          Collection<Geometry> geometries,
                                          String title)
        Show a preview window showing the given geometries on a default background of map images.
        Parameters:
        component - the parent component for the dialog.
        geometries - the set of geometries.
        title - the title for the dialog.
        Returns:
        the dialog displayed
      • showViewerWithFile

        public JDialog showViewerWithFile(Component component,
                                          Set<GeometryContainer> tgs,
                                          String title)
        Show a preview window showing the given geometries on a default background of map images.
        Parameters:
        component - the parent component for the dialog.
        tgs - the set of geometries.
        title - the title for the dialog.
        Returns:
        the dialog displayed