|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
PrintObject
,
Serialized FormConstructor and Description |
---|
PrintParameterList()
Constructs a PrintParameterList object. |
Modifier and Type | Method and Description |
---|---|
Float |
getFloatParameter(int attributeID)
Returns a float parameter. |
Integer |
getIntegerParameter(int attributeID)
Returns an integer parameter. |
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,
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 |
---|
public PrintParameterList()
Method Detail |
---|
public Float getFloatParameter(int attributeID)
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.public Integer getIntegerParameter(int attributeID)
attributeID
- Identifies which attribute to retrieve.
See the documentation of network print classes for what attribute IDs
are valid for each particular class.public String getStringParameter(int attributeID)
attributeID
- Identifies which attribute to retrieve.
See the documentation of network print classes for what attribute IDs
are valid for each particular class.public void setParameter(int attributeID, String value)
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.public void setParameter(int attributeID, int value)
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.public void setParameter(int attributeID, float value)
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |