.. java:import:: ij IJ .. java:import:: java.util Collection .. java:import:: java.util Iterator .. java:import:: java.util LinkedHashMap .. java:import:: java.util Set .. java:import:: java.util.logging Level .. java:import:: java.util.logging Logger AbstractFactory =============== .. java:package:: ch.epfl.leb.alica.interfaces :noindex: .. java:type:: public abstract class AbstractFactory A template for factories that are set up using a JPanel. This template is currently used by the Analyzer and Controller interfaces. :author: Marcel Stefko :param : A JPanel for setting up the parameters. Fields ------ selected_name ^^^^^^^^^^^^^ .. java:field:: String selected_name :outertype: AbstractFactory The name of analyzer/controller. Constructors ------------ AbstractFactory ^^^^^^^^^^^^^^^ .. java:constructor:: public AbstractFactory() :outertype: AbstractFactory Initializes the map which stores different setup panels. Methods ------- addSetupPanel ^^^^^^^^^^^^^ .. java:method:: protected void addSetupPanel(String name, ProductSetupPanel panel) :outertype: AbstractFactory Adds a new setup panel to the list. :param name: ID of the product belonging to the panel and displayed in the GUI. :param panel: The JPanel to setup the analyzer/controller. getProductNameList ^^^^^^^^^^^^^^^^^^ .. java:method:: public Set getProductNameList() :outertype: AbstractFactory Returns a list of all possible analyzer/controller names. :return: A list of all possible product keys. getProductSetupPanelCollection ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public Collection getProductSetupPanelCollection() :outertype: AbstractFactory Returns a group of all the possible setup panels for the available analyzers/controllers. :return: A collection of all possible product setup panels. getSelectedProductName ^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public String getSelectedProductName() :outertype: AbstractFactory Returns the name of the selected analyzer/controller. :return: The name of currently selected product. getSelectedSetupPanel ^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public ProductSetupPanel getSelectedSetupPanel() :outertype: AbstractFactory Returns the setup panel of the currently selected analyzer/controller. :return: The setup panel of currently selected analyzer/product. selectProduct ^^^^^^^^^^^^^ .. java:method:: public void selectProduct(String name) :outertype: AbstractFactory Selects a product from factory. :param name: The product identifier.