From 9d6a1776e3362882d96aad4248cbc236f729d7d0 Mon Sep 17 00:00:00 2001 From: Arthur Coolen <coolen@astron.nl> Date: Mon, 22 May 2006 09:42:47 +0000 Subject: [PATCH] BugID: 604 Interface for panels that should be able to give to tabs in browsers in a dymanic way --- .../astron/lofar/sas/otb/util/IViewPanel.java | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 SAS/OTB/OTB/src/nl/astron/lofar/sas/otb/util/IViewPanel.java diff --git a/SAS/OTB/OTB/src/nl/astron/lofar/sas/otb/util/IViewPanel.java b/SAS/OTB/OTB/src/nl/astron/lofar/sas/otb/util/IViewPanel.java new file mode 100644 index 00000000000..358bb40a531 --- /dev/null +++ b/SAS/OTB/OTB/src/nl/astron/lofar/sas/otb/util/IViewPanel.java @@ -0,0 +1,27 @@ +/* + * IViewPanel.java + * + * Created on 16 mei 2006, 16:10 + * + * This interface gives all the public methods for ViewPanels + * + */ + +package nl.astron.lofar.sas.otb.util; + +import nl.astron.lofar.sas.otb.MainFrame; + +/** + * + * @author coolen + */ +public interface IViewPanel { + public void setMainFrame(MainFrame aMainFrame); + public void setContent(Object anObject); + public void setAllEnabled(boolean enabled); + public void enableButtons(boolean visible); + public void setButtonsVisible(boolean visible); + public String getShortName(); + public void addActionListener(java.awt.event.ActionListener listener); + public void removeActionListener(java.awt.event.ActionListener listener); +} -- GitLab