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
Ortak bir PrintTicket Option’ı uygulayan sınıf. Şema tarafından tanımlanan tüm seçenekler için temel sınıf. Bir Option öğesi, bu seçenekle ilişkili tüm Property ve ScoredProperty öğelerini içerir. https://docs.microsoft.com/en-us/windows/win32/printdocs/option
Yapıcılar
| Yapıcı | Açıklama |
|---|---|
| Option(String name, IOptionItem[] items) | Yeni bir PrintTicket option örneği oluşturur. |
| Option(IOptionItem[] items) | Yeni bir PrintTicket option örneği oluşturur. |
| Option(Option option) | Bir kopya option örneği oluşturur. |
Yöntemler
| Yöntem | Açıklama |
|---|---|
| add(IOptionItem[] items) | Bu seçeneğin öğe listesine bir öğe listesi ekler. |
| equals(Object arg0) | |
| getClass() | |
| getName() | Elemanın adını alır. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Option(String name, IOptionItem[] items)
public Option(String name, IOptionItem[] items)
Yeni bir PrintTicket option örneği oluşturur.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| ad | java.lang.String | Keyfi bir option adı. |
| items | IOptionItem[] | Keyfi bir IOptionItem örnekleri dizisi. Her biri bir ScoredProperty veya bir Property örneği olmalıdır. |
Option(IOptionItem[] items)
public Option(IOptionItem[] items)
Yeni bir PrintTicket option örneği oluşturur.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| items | IOptionItem[] | Keyfi bir IOptionItem örnekleri dizisi. Her biri bir ScoredProperty veya bir Property örneği olmalıdır. |
Option(Option option)
public Option(Option option)
Bir kopya option örneği oluşturur.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| option | Option | Kopyalanacak bir option örneği. |
add(IOptionItem[] items)
public void add(IOptionItem[] items)
Bu seçeneğin öğe listesine bir öğe listesi ekler. Her biri bir ScoredProperty veya bir Property örneği olmalıdır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| items | IOptionItem[] | Eklenecek öğelerin listesi. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Elemanın adını alır.
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:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long | |
| arg1 | int |