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
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
-
PrintParameterList()
- Constructs a PrintParameterList object.
-
getFloatParameter(int)
- Returns a float parameter.
-
getIntegerParameter(int)
- Returns an integer parameter.
-
getStringParameter(int)
- Returns a string parameter.
-
setParameter(int, float)
- Sets a float parameter.
-
setParameter(int, int)
- Sets an integer parameter.
-
setParameter(int, String)
- Sets a string parameter.
PrintParameterList
public PrintParameterList()
- Constructs a PrintParameterList object.
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.
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.
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.
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.
All Packages Class Hierarchy This Package Previous Next Index