Table of Contents

Class PrinterJob

Namespace
Java.Awt.Print
Assembly
MASES.JNet.dll
public class PrinterJob : JVMBridgeBase<PrinterJob>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<PrinterJob>
PrinterJob
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<PrinterJob>.IsAssignableFrom(IJavaType)
JVMBridgeBase<PrinterJob>.IsAssignableFrom<T>()
JVMBridgeBase<PrinterJob>.Execute<T>(params T[])
JVMBridgeBase<PrinterJob>.DynBridgeClazz
JVMBridgeBase<PrinterJob>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

PrinterJob()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("PrinterJob class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PrinterJob()

PrinterJob(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("PrinterJob class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PrinterJob(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Copies

public int Copies { get; set; }

Property Value

int

GetPrinterJob

public static PrinterJob GetPrinterJob { get; }

Property Value

PrinterJob

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

JobName

public String JobName { get; set; }

Property Value

String

PrintService

public PrintService PrintService { get; set; }

Property Value

PrintService

UserName

public String UserName { get; }

Property Value

String

Methods

Cancel()

public void Cancel()

DefaultPage()

public PageFormat DefaultPage()

Returns

PageFormat

PageFormat

DefaultPage(PageFormat)

public PageFormat DefaultPage(PageFormat arg0)

Parameters

arg0 PageFormat

PageFormat

Returns

PageFormat

PageFormat

GetPageFormat(PrintRequestAttributeSet)

public PageFormat GetPageFormat(PrintRequestAttributeSet arg0)

Parameters

arg0 PrintRequestAttributeSet

PrintRequestAttributeSet

Returns

PageFormat

PageFormat

IsCancelled()

public bool IsCancelled()

Returns

bool

bool

LookupPrintServices()

public static PrintService[] LookupPrintServices()

Returns

PrintService[]

PrintService

LookupStreamPrintServices(String)

public static StreamPrintServiceFactory[] LookupStreamPrintServices(String arg0)

Parameters

arg0 String

String

Returns

StreamPrintServiceFactory[]

StreamPrintServiceFactory

PageDialog(PageFormat)

public PageFormat PageDialog(PageFormat arg0)

Parameters

arg0 PageFormat

PageFormat

Returns

PageFormat

PageFormat

Exceptions

HeadlessException

PageDialog(PrintRequestAttributeSet)

public PageFormat PageDialog(PrintRequestAttributeSet arg0)

Parameters

arg0 PrintRequestAttributeSet

PrintRequestAttributeSet

Returns

PageFormat

PageFormat

Exceptions

HeadlessException

Print()

public void Print()

Exceptions

PrinterException

Print(PrintRequestAttributeSet)

public void Print(PrintRequestAttributeSet arg0)

Parameters

arg0 PrintRequestAttributeSet

PrintRequestAttributeSet

Exceptions

PrinterException

PrintDialog()

public bool PrintDialog()

Returns

bool

bool

Exceptions

HeadlessException

PrintDialog(PrintRequestAttributeSet)

public bool PrintDialog(PrintRequestAttributeSet arg0)

Parameters

arg0 PrintRequestAttributeSet

PrintRequestAttributeSet

Returns

bool

bool

Exceptions

HeadlessException

SetPageable(Pageable)

public void SetPageable(Pageable arg0)

Parameters

arg0 Pageable

Pageable

Exceptions

NullPointerException

SetPrintable(Printable)

public void SetPrintable(Printable arg0)

Parameters

arg0 Printable

Printable

SetPrintable(Printable, PageFormat)

public void SetPrintable(Printable arg0, PageFormat arg1)

Parameters

arg0 Printable

Printable

arg1 PageFormat

PageFormat

ValidatePage(PageFormat)

public PageFormat ValidatePage(PageFormat arg0)

Parameters

arg0 PageFormat

PageFormat

Returns

PageFormat

PageFormat