Class ListPage

    • Field Detail

      • KEY_LIST

        public static final String KEY_LIST
        key in the properties that contains the comma-separated list of all items.
        See Also:
        Constant Field Values
      • KEY_SELECTED

        public static final String KEY_SELECTED
        key in the properties that contains the comma-separated list of selected items.
        See Also:
        Constant Field Values
      • m_List

        protected BaseList m_List
        the parameter panel for displaying the parameters.
      • m_AddFullList

        protected boolean m_AddFullList
        whether to use store the full list of items in the properties as well.
    • Constructor Detail

      • ListPage

        public ListPage()
        Default constructor.
      • ListPage

        public ListPage​(String pageName)
        Initializes the page with the given page name.
        Parameters:
        pageName - the page name to use
    • Method Detail

      • setSelectionMode

        public void setSelectionMode​(int value)
        Sets the selection mode.
        Parameters:
        value - the mode
        See Also:
        JList.setSelectionMode(int)
      • getList

        public BaseList getList()
        Returns the underlying parameter panel.
        Returns:
        the parameter panel
      • setValues

        public void setValues​(String[] value)
        Sets list values.
        Parameters:
        value - the values
      • setValues

        public void setValues​(List<String> value)
        Sets list values.
        Parameters:
        value - the values
      • setSelectedValues

        public void setSelectedValues​(String[] value)
        Sets the initially selected list values.
        Parameters:
        value - the values
      • setSelectedValues

        public void setSelectedValues​(List<String> value)
        Sets the initially selected list values.
        Parameters:
        value - the values
      • setAddFullList

        public void setAddFullList​(boolean value)
        Sets whether to store the full list of items (not just selected ones) in the properties as well.
        Parameters:
        value - true if to add
      • getAddFullList

        public boolean getAddFullList()
        Returns whether to store the full list of items (not just selected ones) in the properties as well.
        Returns:
        true if to add
      • setProperties

        public void setProperties​(Properties value)
        Sets the content of the page (ie parameters) as properties.
        Specified by:
        setProperties in class AbstractWizardPage
        Parameters:
        value - the parameters as properties
      • getProperties

        public Properties getProperties()
        Returns the content of the page (ie parameters) as properties.
        Specified by:
        getProperties in class AbstractWizardPage
        Returns:
        the parameters as properties