com.ibm.as400.access

Class PrintParameterList

  • All Implemented Interfaces:
    Serializable


    public class PrintParameterList
    extends Object
    implements Serializable
    The PrintParameterList class is used to group a set of attributes or parameters for use on other network print class methods. If a parameter has not been previously set, it is appended to the list; otherwise, the parameter is overridden.
    See Also:
    PrintObject, Serialized Form
    • Constructor Detail

      • PrintParameterList

        public PrintParameterList()
        Constructs a PrintParameterList object.

    • Method Detail

      • getFloatParameter

        public Float getFloatParameter(int attributeID)
        Returns a float parameter.
        Parameters:
        attributeID - Identifies which attribute to retrieve. See the documentation of the specific network print classes for the attribute IDs that are valid for each particular class.
        Returns:
        The value of the attribute. Returns null if the attribute has not been set.
      • getIntegerParameter

        public Integer getIntegerParameter(int attributeID)
        Returns an integer parameter.
        Parameters:
        attributeID - Identifies which attribute to retrieve. See the documentation of network print classes for what attribute IDs are valid for each particular class.
        Returns:
        The value of the attribute. Returns null if the attribute has not been set.
      • getStringParameter

        public String getStringParameter(int attributeID)
        Returns a string parameter.
        Parameters:
        attributeID - Identifies which attribute to retrieve. See the documentation of network print classes for what attribute IDs are valid for each particular class.
        Returns:
        The value of the attribute. Returns null if the attribute has not been set.
      • setParameter

        public void setParameter(int attributeID,
                        String value)
        Sets a string parameter.
        Parameters:
        attributeID - Identifies which attribute to set. See the documentation of network print classes for what attribute IDs are valid for each particular class.
        value - The new value for the attribute.
      • setParameter

        public void setParameter(int attributeID,
                        int value)
        Sets an integer parameter.
        Parameters:
        attributeID - Identifies which attribute to set. See the documentation of network print classes for what attribute IDs are valid for each particular class.
        value - The new value for the attribute.
      • setParameter

        public void setParameter(int attributeID,
                        float value)
        Sets a float parameter.
        Parameters:
        attributeID - Identifies which attribute to set. See the documentation of network print classes for what attribute IDs are valid for each particular class.
        value - The new value for the attribute.