Option

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement

All Implemented Interfaces: com.aspose.xps.metadata.IFeatureItem

public class Option extends CompositePrintTicketElement implements IFeatureItem

共通の PrintTicket Option を実装するクラスです。すべてのスキーマ定義オプションの基底クラスです。Option 要素は、このオプションに関連付けられたすべての Property と ScoredProperty 要素を含みます。 https://docs.microsoft.com/en-us/windows/win32/printdocs/option

コンストラクタ

コンストラクタ説明
Option(String name, IOptionItem[] items)新しい PrintTicket オプション インスタンスを作成します。
Option(IOptionItem[] items)新しい PrintTicket オプション インスタンスを作成します。
Option(Option option)クローン オプション インスタンスを作成します。

メソッド

メソッド説明
add(IOptionItem[] items)このオプションの項目リストの末尾に項目のリストを追加します。
equals(Object arg0)
getClass()
getName()要素名を取得します。
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Option(String name, IOptionItem[] items)

public Option(String name, IOptionItem[] items)

新しい PrintTicket オプション インスタンスを作成します。

Parameters:

パラメータ説明
名前java.lang.String任意のオプション名です。
itemsIOptionItem[]任意の IOptionItem インスタンスの配列です。各項目は ScoredProperty または Property のインスタンスである必要があります。

Option(IOptionItem[] items)

public Option(IOptionItem[] items)

新しい PrintTicket オプション インスタンスを作成します。

Parameters:

パラメータ説明
itemsIOptionItem[]任意の IOptionItem インスタンスの配列です。各項目は ScoredProperty または Property のインスタンスである必要があります。

Option(Option option)

public Option(Option option)

クローン オプション インスタンスを作成します。

Parameters:

パラメータ説明
optionOptionクローンするオプション インスタンスです。

add(IOptionItem[] items)

public void add(IOptionItem[] items)

このオプションの項目リストの末尾に項目のリストを追加します。各項目は ScoredProperty または Property のインスタンスでなければなりません。

Parameters:

パラメータ説明
itemsIOptionItem[]追加する項目のリスト。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

パラメータ説明
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName()

public String getName()

要素名を取得します。

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

パラメータ説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメータ説明
arg0long
arg1int