public abstract class PrintObject
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds the specified PropertyChange listener to receive
PropertyChange events from this print object.
|
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds the specified VetoableChange listener to receive
VetoableChange events from this print object.
|
java.lang.Float |
getFloatAttribute(int attributeID)
Returns an attribute of the object that is a Float type attribute.
|
java.lang.Integer |
getIntegerAttribute(int attributeID)
Returns an attribute of the object that is a Integer type attribute.
|
java.lang.Float |
getSingleFloatAttribute(int attributeID)
Returns an attribute of the object that is a Float type attribute.
|
java.lang.Integer |
getSingleIntegerAttribute(int attributeID)
Returns an attribute of the object that is a Integer type attribute.
|
java.lang.String |
getSingleStringAttribute(int attributeID)
Returns an attribute of the object that is a String type attribute.
|
java.lang.String |
getStringAttribute(int attributeID)
Returns an attribute of the object that is a String type attribute.
|
AS400 |
getSystem()
Returns the system on which this object exists.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes the specified PropertyChange listener
so that it no longer receives PropertyChange events
from this print object.
|
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes the specified VetoableChange listener
so that it no longer receives VetoableChange events
from this print object.
|
void |
setSystem(AS400 system)
Sets the system on which this object exists.
|
void |
update()
Updates the attributes of this object by going to the system and
retrieving the latest attributes for the object.
|
public static final int ATTR_3812SCS
public static final int ATTR_ACCOUNT_CODE
public static final int ATTR_AFP
public static final int ATTR_AFP_RESOURCE
public static final int ATTR_AFPRESOURCE
public static final int ATTR_ASCIITRANS
public static final int ATTR_AUX_POOL
public static final int ATTR_CHARID
public static final int ATTR_CHR_RTT_CMDS
public static final int ATTR_CHRSET_LIB
public static final int ATTR_CHRSET
public static final int ATTR_CHRSET_SIZE
public static final int ATTR_CODFNT_ARRAY
public static final int ATTR_OFFICEVISION
public static final int ATTR_PAGE_GROUPS
public static final int ATTR_PAGELVLIDXTAG
public static final int ATTR_RCDFMT_DATA
public static final int ATTR_ALIGNFORMS
public static final int ATTR_ALIGN
public static final int ATTR_ALWDRTPRT
public static final int ATTR_ASPDEVICE
public static final int ATTR_AUTHORITY
public static final int ATTR_AUTHCHCK
public static final int ATTR_AUTOEND
public static final int ATTR_BARCODE
public static final int ATTR_BACK_OVERLAY
public static final int ATTR_BKMGN_ACR
public static final int ATTR_BKMGN_DWN
public static final int ATTR_BKOVL_ACR
public static final int ATTR_BKOVL_DWN
public static final int ATTR_BTWNCPYSTS
public static final int ATTR_BTWNFILESTS
public static final int ATTR_CHANGES
public static final int ATTR_CHAR_ID
public static final int ATTR_CPI
public static final int ATTR_CPI_CHANGES
public static final int ATTR_CODEDFNT
public static final int ATTR_CODEDFNTLIB
public static final int ATTR_CODEDFONT_SIZE
public static final int ATTR_CODEPAGE
public static final int ATTR_CODEPAGE_NAME
public static final int ATTR_CODEPAGE_NAME_LIB
public static final int ATTR_COLOR
public static final int ATTR_CONSTBCK_OVL
public static final int ATTR_CONTROLCHAR
public static final int ATTR_CONVERT_LINEDATA
public static final int ATTR_COPIES
public static final int ATTR_COPIESLEFT
public static final int ATTR_CORNER_STAPLE
public static final int ATTR_CURPAGE
public static final int ATTR_DATA_QUEUE
public static final int ATTR_DATAFORMAT
public static final int ATTR_DATE
public static final int ATTR_DATE_END
public static final int ATTR_DATE_USED
public static final int ATTR_DATE_WTR_BEGAN_FILE
public static final int ATTR_DATE_WTR_CMPL_FILE
public static final int ATTR_DAYS_UNTIL_EXPIRE
public static final int ATTR_DBCSDATA
public static final int ATTR_DBCSEXTENSN
public static final int ATTR_DBCSROTATE
public static final int ATTR_DBCS_FNT
public static final int ATTR_DBCS_FNT_LIB
public static final int ATTR_DBCS_FNT_SIZE
public static final int ATTR_DBCSCPI
public static final int ATTR_DBCSSISO
public static final int ATTR_DDS
public static final int ATTR_DECIMAL_FMT
public static final int ATTR_DELETESPLF
public static final int ATTR_DESCRIPTION
public static final int ATTR_DESTINATION
public static final int ATTR_DESTOPTION
public static final int ATTR_DEVCLASS
public static final int ATTR_DEVMODEL
public static final int ATTR_DEVSTATUS
public static final int ATTR_DEVTYPE
public static final int ATTR_DISPLAYANY
public static final int ATTR_DFR_WRITE
public static final int ATTR_DRWRSEP
public static final int ATTR_DOUBLEWIDE
public static final int ATTR_DRAWERCHANGE
public static final int ATTR_DUPLEX
public static final int ATTR_EDGESTITCH_REF
public static final int ATTR_EDGESTITCH_NUMSTAPLES
public static final int ATTR_EDGESTITCH_REFOFF
public static final int ATTR_ENDPAGE
public static final int ATTR_ENDPNDSTS
public static final int ATTR_ENVLP_SOURCE
public static final int ATTR_EXPIRATION_DATE
public static final int ATTR_FIDELITY
public static final int ATTR_FIELD_OUTLIN
public static final int ATTR_FILESEP
public static final int ATTR_FOLDREC
public static final int ATTR_FONT_CHANGES
public static final int ATTR_FONTID
public static final int ATTR_FONTRESFMT
public static final int ATTR_FORM_DEFINITION
public static final int ATTR_FORMFEED
public static final int ATTR_FORMTYPE
public static final int ATTR_FORMTYPEMSG
public static final int ATTR_FRONT_OVERLAY
public static final int ATTR_FTMGN_ACR
public static final int ATTR_FTMGN_DWN
public static final int ATTR_FTOVL_ACR
public static final int ATTR_FTOVL_DWN
public static final int ATTR_GRAPHICS
public static final int ATTR_GRAPHICS_TOK
public static final int ATTR_GRPLVL_IDXTAG
public static final int ATTR_HELDSTS
public static final int ATTR_HIGHLIGHT
public static final int ATTR_HOLD
public static final int ATTR_HOLDPNDSTS
public static final int ATTR_HOLDTYPE
public static final int ATTR_IMGCFG
public static final int ATTR_INTERNETADDR
public static final int ATTR_IPDSPASSTHRU
public static final int ATTR_IPP_ATTR_CCSID
public static final int ATTR_IPP_ATTR_NL
public static final int ATTR_IPP_JOB_ID
public static final int ATTR_IPP_JOB_NAME
public static final int ATTR_IPP_JOB_NAME_NL
public static final int ATTR_IPP_JOB_ORIGUSER
public static final int ATTR_IPP_JOB_ORIGUSER_NL
public static final int ATTR_IPP_PRINTER_NAME
public static final int ATTR_JOBCCSID
public static final int ATTR_JOBNAME
public static final int ATTR_JOBNUMBER
public static final int ATTR_JOBSEPRATR
public static final int ATTR_JOBSYSTEM
public static final int ATTR_JOBUSER
public static final int ATTR_JUSTIFY
public static final int ATTR_LASTPAGE
public static final int ATTR_LIBRARY
public static final int ATTR_LINESPACING
public static final int ATTR_LPI
public static final int ATTR_LPI_CHANGES
public static final int ATTR_MAX_JOBS_PER_CLIENT
public static final int ATTR_MAXRCDS
public static final int ATTR_MEASMETHOD
public static final int ATTR_MESSAGE_QUEUE
public static final int ATTR_MFGTYPE
public static final int ATTR_MSGHELP
public static final int ATTR_MSGID
public static final int ATTR_MSGREPLY
public static final int ATTR_MSGSEV
public static final int ATTR_MSGTEXT
public static final int ATTR_MSGTYPE
public static final int ATTR_MULTI_ITEM_REPLY
public static final int ATTR_MULTIUP
public static final int ATTR_NETWORK
public static final int ATTR_NPSCCSID
public static final int ATTR_NPSLEVEL
public static final int ATTR_NUMBYTES
public static final int ATTR_NUMBYTES_SPLF
public static final int ATTR_NUMFILES
public static final int ATTR_NUMRSC_LIB_ENT
public static final int ATTR_NUMWRITERS
public static final int ATTR_OBJEXTATTR
public static final int ATTR_ONJOBQSTS
public static final int ATTR_OPENCMDS
public static final int ATTR_OPCNTRL
public static final int ATTR_ORDER
public static final int ATTR_OS4_CRT_AFP
public static final int ATTR_OUTPTY
public static final int ATTR_OUTPUT_QUEUE
public static final int ATTR_OUTPUTBIN
public static final int ATTR_OUTQSTS
public static final int ATTR_OVERALLSTS
public static final int ATTR_OVERFLOW
public static final int ATTR_PAGE_AT_A_TIME
public static final int ATTR_PAGE_DEFINITION
public static final int ATTR_PAGE_ROTATE
public static final int ATTR_PAGELEN
public static final int ATTR_PAGENUMBER
public static final int ATTR_PAGES
public static final int ATTR_PAGES_EST
public static final int ATTR_PAGEWIDTH
public static final int ATTR_PAGRTT
public static final int ATTR_PAPER_SOURCE_1
public static final int ATTR_PAPER_SOURCE_2
public static final int ATTR_PELDENSITY
public static final int ATTR_PGM_OPN_LIB
public static final int ATTR_PGM_OPN_FILE
public static final int ATTR_POINTSIZE
public static final int ATTR_PRINTER
public static final int ATTR_PRINTER_FILE
public static final int ATTR_PRTTEXT
public static final int ATTR_PRTASSIGNED
public static final int ATTR_PRTDEVTYPE
public static final int ATTR_PRTQUALITY
public static final int ATTR_PRTSEQUENCE
public static final int ATTR_PUBINF
public static final int ATTR_PUBINF_COLOR_SUP
public static final int ATTR_PUBINF_DS
public static final int ATTR_PUBINF_DUPLEX_SUP
public static final int ATTR_PUBINF_LOCATION
public static final int ATTR_PUBINF_PPM
public static final int ATTR_PUBINF_PPM_COLOR
public static final int ATTR_RECLENGTH
public static final int ATTR_REDUCE
public static final int ATTR_RESTART
public static final int ATTR_RMTSYSTEM
public static final int ATTR_RMTLOCNAME
public static final int ATTR_RMTPRTQ
public static final int ATTR_RPLCHAR
public static final int ATTR_RPLUNPRT
public static final int ATTR_RSC_LIB_LIST
public static final int ATTR_SADDLESTITCH_NUMSTAPLES
public static final int ATTR_SADDLESTITCH_REF
public static final int ATTR_SADDLESTITCH_STPL_OFFSEINFO
public static final int ATTR_SAVE
public static final int ATTR_SAVE_COMMAND
public static final int ATTR_SAVE_DEVICE
public static final int ATTR_SAVE_FILE
public static final int ATTR_SAVE_LABEL
public static final int ATTR_SAVE_SEQUENCE_NUMBER
public static final int ATTR_SAVE_VOLUME_FORMAT
public static final int ATTR_SAVE_VOLUME_ID
public static final int ATTR_SCHEDULE
public static final int ATTR_SCS2ASCII
public static final int ATTR_SEEKOFF
public static final int ATTR_SEEKORG
public static final int ATTR_SENDPTY
public static final int ATTR_SEPPAGE
public static final int ATTR_SRC_CODEPAGE
public static final int ATTR_SRCDRWR
public static final int ATTR_SPLF_AUTH_METHOD
public static final int ATTR_SPLF_CREATOR
public static final int ATTR_SPLF_RESTORED_DATE
public static final int ATTR_SPLF_RESTORED_TIME
public static final int ATTR_SPLF_SAVED_DATE
public static final int ATTR_SPLF_SAVED_TIME
public static final int ATTR_SPLF_SECURITY_METHOD
public static final int ATTR_SPLF_SIZE
public static final int ATTR_SPLF_SIZE_MULT
public static final int ATTR_SPLFNUM
public static final int ATTR_SPLFSTATUS
public static final int ATTR_SPLSCS
public static final int ATTR_SPOOL
public static final int ATTR_SPOOLFILE
public static final int ATTR_STARTPAGE
public static final int ATTR_STARTEDBY
public static final int ATTR_SYS_DRV_PGM
public static final int ATTR_SYSTEM
public static final int ATTR_TGT_CODEPAGE
public static final int ATTR_TIME
public static final int ATTR_TIME_END
public static final int ATTR_TIME_WTR_BEGAN_FILE
public static final int ATTR_TIME_WTR_CMPL_FILE
public static final int ATTR_TOADDRESS
public static final int ATTR_TOUSERID
public static final int ATTR_TRC1403
public static final int ATTR_UNITOFMEAS
public static final int ATTR_USER_DEFINED_OBJECT
public static final int ATTR_USER_DFN_TXT
public static final int ATTR_USER_DRIVER_PROG
public static final int ATTR_USER_TRANSFORM_PROG
public static final int ATTR_USERCMT
public static final int ATTR_USERDATA
public static final int ATTR_USERGEN_DATA
public static final int ATTR_USRDEFDATA
public static final int ATTR_USRDEFFILE
public static final int ATTR_USRDEFOPT
public static final int ATTR_USRDRVDATA
public static final int ATTR_VIEWING_FIDELITY
public static final int ATTR_VMMVSCLASS
public static final int ATTR_WORKSTATION_CUST_OBJECT
public static final int ATTR_WRTNGSTS
public static final int ATTR_WTNGDATASTS
public static final int ATTR_WTNGDEVSTS
public static final int ATTR_WTNGMSGSTS
public static final int ATTR_WTRAUTOEND
public static final int ATTR_WTREND
public static final int ATTR_WTRINIT
public static final int ATTR_WTRJOBNAME
public static final int ATTR_WTRJOBNUM
public static final int ATTR_WTRJOBSTS
public static final int ATTR_WTRJOBUSER
public static final int ATTR_WTRSTRPAGE
public static final int ATTR_WTRSTRTD
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChange listener.removePropertyChangeListener(java.beans.PropertyChangeListener)
public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The VetoableChange listener.removeVetoableChangeListener(java.beans.VetoableChangeListener)
public java.lang.Integer getIntegerAttribute(int attributeID) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, RequestNotSupportedException
attributeID
- Identifies which attribute to retrieve.
See the following links for the attribute IDs that are valid for each
particular subclass.AS400Exception
- If the system returns an error message.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.io.IOException
- If an error occurs while communicating with the system.java.lang.InterruptedException
- If this thread is interrupted.RequestNotSupportedException
- If the requested function is not supported because the
the system is not at the correct level.public java.lang.Integer getSingleIntegerAttribute(int attributeID) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, RequestNotSupportedException
attributeID
- Identifies which attribute to retrieve.
See the following links for the attribute IDs that are valid for each
particular subclass.AS400Exception
- If the system returns an error message.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.io.IOException
- If an error occurs while communicating with the system.java.lang.InterruptedException
- If this thread is interrupted.RequestNotSupportedException
- If the requested function is not supported because the
the system is not at the correct level.public java.lang.Float getFloatAttribute(int attributeID) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, RequestNotSupportedException
attributeID
- Identifies which attribute to retrieve.
See the following links for the attribute IDs that are valid for each
particular subclass.AS400Exception
- If the system returns an error message.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.io.IOException
- If an error occurs while communicating with the system.java.lang.InterruptedException
- If this thread is interrupted.RequestNotSupportedException
- If the requested function is not supported because the
the system is not at the correct level.public java.lang.Float getSingleFloatAttribute(int attributeID) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, RequestNotSupportedException
attributeID
- Identifies which attribute to retrieve.
See the following links for the attribute IDs that are valid for each
particular subclass.AS400Exception
- If the system returns an error message.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.io.IOException
- If an error occurs while communicating with the system.java.lang.InterruptedException
- If this thread is interrupted.RequestNotSupportedException
- If the requested function is not supported because the
the system is not at the correct level.public java.lang.String getStringAttribute(int attributeID) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, RequestNotSupportedException
attributeID
- Identifies which attribute to retrieve.
See the following links for the attribute IDs that are valid for each
particular subclass.AS400Exception
- If the system returns an error message.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.io.IOException
- If an error occurs while communicating with the system.java.lang.InterruptedException
- If this thread is interrupted.RequestNotSupportedException
- If the requested function is not supported because the
the system is not at the correct level.public java.lang.String getSingleStringAttribute(int attributeID) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, RequestNotSupportedException
attributeID
- Identifies which attribute to retrieve.
See the following links for the attribute IDs that are valid for each
particular subclass.AS400Exception
- If the system returns an error message.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.io.IOException
- If an error occurs while communicating with the system.java.lang.InterruptedException
- If this thread is interrupted.RequestNotSupportedException
- If the requested function is not supported because the
the system is not at the correct level.public final AS400 getSystem()
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChange listener.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The VetoableChange listener.addVetoableChangeListener(java.beans.VetoableChangeListener)
public final void setSystem(AS400 system) throws java.beans.PropertyVetoException
system
- The system on which this object exists.java.beans.PropertyVetoException
- If the change is vetoed.public void update() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, RequestNotSupportedException
AS400Exception
- If the system returns an error message.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.io.IOException
- If an error occurs while communicating with the system.java.lang.InterruptedException
- If this thread is interrupted.RequestNotSupportedException
- If the requested function is not supported because the
the system is not at the correct level.