Class ParameterGroupImpl

    • Constructor Detail

      • ParameterGroupImpl

        public ParameterGroupImpl​(java.lang.String _resource,
                                  java.util.List<? extends Parameter> _parameters)
      • ParameterGroupImpl

        public ParameterGroupImpl​(java.lang.String _resource,
                                  Parameter... _parameters)
    • Method Detail

      • setNumberOfColumns

        public void setNumberOfColumns​(int num)
        Description copied from interface: ParameterGroup
        Set number of "columns" group will have. A column is typically one parameter, including its label.
        Specified by:
        setNumberOfColumns in interface ParameterGroup
      • getNumberColumns

        public int getNumberColumns()
      • setEnabled

        public void setEnabled​(boolean e)
        Description copied from interface: Parameter
        Sets whether the UI object for this parameter is enabled (changeable) or disabled (not changeable, and usually grayed out)
        Specified by:
        setEnabled in interface Parameter
        Overrides:
        setEnabled in class ParameterImpl
        Parameters:
        e - The new enabled state
      • size

        public int size​(boolean countChildren)
        Specified by:
        size in interface ParameterGroup
      • getValueObject

        public java.lang.Object getValueObject()
        Description copied from interface: Parameter
        Retrieve the parameter's value as an Object. Subclasses will usually have a getValue() that will return a specific type.
        Specified by:
        getValueObject in interface Parameter
        Overrides:
        getValueObject in class ParameterImpl