com.ibm.as400.access

Class PrintParameterList

  • java.lang.Object
    • com.ibm.as400.access.PrintParameterList
  • All Implemented Interfaces:
    java.io.Serializable


    public class PrintParameterList
    extends java.lang.Object
    implements java.io.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 Summary

      Constructors 
      Constructor and Description
      PrintParameterList()
      Constructs a PrintParameterList object.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Float getFloatParameter(int attributeID)
      Returns a float parameter.
      java.lang.Integer getIntegerParameter(int attributeID)
      Returns an integer parameter.
      java.lang.String getStringParameter(int attributeID)
      Returns a string parameter.
      void setParameter(int attributeID, float value)
      Sets a float parameter.
      void setParameter(int attributeID, int value)
      Sets an integer parameter.
      void setParameter(int attributeID, java.lang.String value)
      Sets a string parameter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrintParameterList

        public PrintParameterList()
        Constructs a PrintParameterList object.
    • Method Detail

      • getFloatParameter

        public java.lang.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 java.lang.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 java.lang.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,
                        java.lang.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.