All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.PrintParameterList

java.lang.Object
   |
   +----com.ibm.as400.access.PrintParameterList

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

Constructor Index

 o PrintParameterList()
Constructs a PrintParameterList object.

Method Index

 o getFloatParameter(int)
Returns a float parameter.
 o getIntegerParameter(int)
Returns an integer parameter.
 o getStringParameter(int)
Returns a string parameter.
 o setParameter(int, float)
Sets a float parameter.
 o setParameter(int, int)
Sets an integer parameter.
 o setParameter(int, String)
Sets a string parameter.

Constructors

 o PrintParameterList
 public PrintParameterList()
Constructs a PrintParameterList object.

Methods

 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index