Class PercentComplete

    • Constructor Detail

      • PercentComplete

        public PercentComplete()
        Default constructor.
      • PercentComplete

        public PercentComplete​(ParameterList aList,
                               String aValue)
        Parameters:
        aList - a list of parameters for this component
        aValue - a value string for this component
      • PercentComplete

        public PercentComplete​(int aPercentage)
        Parameters:
        aPercentage - an int representation of a percentage
      • PercentComplete

        public PercentComplete​(ParameterList aList,
                               int aPercentage)
        Parameters:
        aList - a list of parameters for this component
        aPercentage - an int representation of a percentage
    • Method Detail

      • getPercentage

        public final int getPercentage()
        Returns:
        Returns the percentage.
      • setValue

        public final void setValue​(String aValue)
        Sets the current value of the property.
        Specified by:
        setValue in class Property
        Parameters:
        aValue - a string representation of the property value
      • getValue

        public final String getValue()
        Specified by:
        getValue in class Content
        Returns:
        the content value
      • setPercentage

        public final void setPercentage​(int percentage)
        Parameters:
        percentage - The percentage to set.