com.jniwrapper.win32.gdi
Class DevMode
java.lang.Object
com.jniwrapper.Parameter
com.jniwrapper.Structure
com.jniwrapper.win32.gdi.DevMode
- All Implemented Interfaces:
- com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter
- public class DevMode
- extends com.jniwrapper.Structure
This structure corresponds to a native DEVMODE
structure.
- See Also:
- Printing
and print spooler structures
Field Summary |
static int |
COLLATE_NO
Do not collate when printing multiple copies. |
static long |
DM_COLLATE
Specifies that dmCollate structure member will be initialized. |
static long |
DM_COPIES
Specifies that dmCopies structure member will be initialized. |
static long |
DM_ORIENTATION
Specifies that dmOrientation structure member will be initialized. |
Fields inherited from class com.jniwrapper.Structure |
f |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Methods inherited from class com.jniwrapper.Structure |
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DM_COLLATE
public static final long DM_COLLATE
- Specifies that dmCollate structure member will be initialized.
- See Also:
- Constant Field Values
DM_COPIES
public static final long DM_COPIES
- Specifies that dmCopies structure member will be initialized.
- See Also:
- Constant Field Values
DM_ORIENTATION
public static final long DM_ORIENTATION
- Specifies that dmOrientation structure member will be initialized.
- See Also:
- Constant Field Values
COLLATE_NO
public static final int COLLATE_NO
- Do not collate when printing multiple copies.
- See Also:
- Constant Field Values
DevMode
public DevMode()
DevMode
public DevMode(DevMode that)
getDmDeviceName
public java.lang.String getDmDeviceName()
setDmDeviceName
public void setDmDeviceName(java.lang.String dmDeviceName)
getDmSpecVersion
public int getDmSpecVersion()
setDmSpecVersion
public void setDmSpecVersion(int dmSpecVersion)
getDmDriverVersion
public int getDmDriverVersion()
setDmDriverVersion
public void setDmDriverVersion(int dmDriverVersion)
getDmSize
public int getDmSize()
setDmSize
public void setDmSize(int dmSize)
getDmDriverExtra
public int getDmDriverExtra()
setDmDriverExtra
public void setDmDriverExtra(int dmDriverExtra)
getDmFields
public long getDmFields()
setDmFields
public void setDmFields(long dmFields)
getPaperStructure
public DevMode.PaperStructure getPaperStructure()
getDmPosition
public PointL getDmPosition()
getDmColor
public int getDmColor()
setDmColor
public void setDmColor(int dmColor)
getDmDuplex
public int getDmDuplex()
setDmDuplex
public void setDmDuplex(int dmDuplex)
getDmYResolution
public int getDmYResolution()
setDmYResolution
public void setDmYResolution(int dmYResolution)
getDmTTOption
public int getDmTTOption()
setDmTTOption
public void setDmTTOption(int dmTTOption)
getDmCollate
public int getDmCollate()
setDmCollate
public void setDmCollate(int dmCollate)
getDmFormName
public java.lang.String getDmFormName()
setDmFormName
public void setDmFormName(java.lang.String dmFormName)
getDmLogPixels
public int getDmLogPixels()
setDmLogPixels
public void setDmLogPixels(int dmLogPixels)
getDmBitsPerPel
public long getDmBitsPerPel()
setDmBitsPerPel
public void setDmBitsPerPel(long dmBitsPerPel)
getDmPelsWidth
public long getDmPelsWidth()
setDmPelsWidth
public void setDmPelsWidth(long dmPelsWidth)
getDmPelsHeight
public long getDmPelsHeight()
setDmPelsHeight
public void setDmPelsHeight(long dmPelsHeight)
getDmDisplayFlags
public long getDmDisplayFlags()
setDmDisplayFlags
public void setDmDisplayFlags(long dmDisplayFlags)
getDmDisplayFrequency
public long getDmDisplayFrequency()
setDmDisplayFrequency
public void setDmDisplayFrequency(long dmDisplayFrequency)
getDmICMMethod
public long getDmICMMethod()
setDmICMMethod
public void setDmICMMethod(long dmICMMethod)
getDmICMIntent
public long getDmICMIntent()
setDmICMIntent
public void setDmICMIntent(long dmICMIntent)
getDmMediaType
public long getDmMediaType()
setDmMediaType
public void setDmMediaType(long dmMediaType)
getDmDitherType
public long getDmDitherType()
setDmDitherType
public void setDmDitherType(long dmDitherType)
getDmReserved1
public long getDmReserved1()
setDmReserved1
public void setDmReserved1(long dmReserved1)
getDmReserved2
public long getDmReserved2()
setDmReserved2
public void setDmReserved2(long dmReserved2)
getDmPanningWidth
public long getDmPanningWidth()
setDmPanningWidth
public void setDmPanningWidth(long dmPanningWidth)
getDmPanningHeight
public long getDmPanningHeight()
setDmPanningHeight
public void setDmPanningHeight(long dmPanningHeight)
getDmScale
public int getDmScale()
setDmScale
public void setDmScale(int dmScale)
getDmCopies
public int getDmCopies()
setDmCopies
public void setDmCopies(int dmCopies)
getDmDefaultSource
public int getDmDefaultSource()
setDmDefaultSource
public void setDmDefaultSource(int dmDefaultSource)
getDmPrintQuality
public int getDmPrintQuality()
setDmPrintQuality
public void setDmPrintQuality(int dmPrintQuality)
setDmPageOrientation
public void setDmPageOrientation(int dmPageOrientation)
getDmPageOrientation
public int getDmPageOrientation()
clone
public java.lang.Object clone()