Class ParameterPanelWithButtons

    • Field Detail

      • m_PanelParameters

        protected ParameterPanel m_PanelParameters
        the parameter panel.
    • Constructor Detail

      • ParameterPanelWithButtons

        public ParameterPanelWithButtons()
    • Method Detail

      • clearParameters

        public void clearParameters()
        Removes all parameters.
      • addParameter

        public void addParameter​(String label,
                                 Component comp)
        Adds the label and component as new row at the end.
        Parameters:
        label - the label to add, the mnemonic to use is preceded by "_"
        comp - the component to add
      • addParameter

        public void addParameter​(AbstractChooserPanel chooser)
        Adds the chooser panel at the end.
        Parameters:
        chooser - the chooser panel to add
      • addParameter

        public void addParameter​(int index,
                                 String label,
                                 Component comp)
        Inserts the label and component as new row at the specified row.
        Parameters:
        label - the label to add, the mnemonic to use is preceded by "_"
        comp - the component to add
        index - the row index to insert the label/editfield at
      • addParameter

        public void addParameter​(int index,
                                 AbstractChooserPanel chooser)
        Inserts the chooser panel as new row at the specified row.
        Parameters:
        chooser - the chooser panel to insert
        index - the row index to insert the label/editfield at
      • removeParameter

        public void removeParameter​(int index)
        Removes the parameter at the specified location.
        Parameters:
        index - the row index
      • getParameter

        public Component getParameter​(int index)
        Returns the parameter component at the specified location.
        Parameters:
        index - the row index
        Returns:
        the requested component