- if (progressPanel != null)
- {
- synchronized (progressPanel)
- {
- progressPanel.remove(progressBar);
- this.remove(progressPanel);
- progressPanel = null;
- }
- }
- }*/
+ return oviewCanvas;
+ }
+
+ /**
+ * Sets the title of the enclosing frame
+ *
+ * @param title
+ */
+ public void setTitle(String title)
+ {
+ internalFrame.setTitle(title);
+ }
+
+ /**
+ * Returns the title of the enclosing frame
+ *
+ * @return title
+ */
+ public String getTitle()
+ {
+ return internalFrame.getTitle();
+ }
+
+ /**
+ * Sets the bounds of the frame holding the Overview panel
+ *
+ * @param xpos
+ * @param ypos
+ * @param width
+ * @param height
+ */
+ public void setFrameBounds(int xpos, int ypos, int width, int height)
+ {
+ internalFrame.setBounds(xpos, ypos, width, height);
+ }
+
+ /**
+ * Returns the bounds of the enclosing frame
+ *
+ * @return
+ */
+ public Rectangle getFrameBounds()
+ {
+ return internalFrame.getBounds();
+ }
+
+ /**
+ * Closes the frame containing the overview panel
+ */
+ public void close()
+ {
+ internalFrame.dispose();
+ }