Property
Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement
All Implemented Interfaces: com.aspose.xps.metadata.IPrintTicketItem, com.aspose.xps.metadata.IFeatureItem, com.aspose.xps.metadata.IOptionItem, com.aspose.xps.metadata.IScoredPropertyItem, com.aspose.xps.metadata.IPropertyItem
public class Property extends CompositePrintTicketElement implements IPrintTicketItem, IFeatureItem, IOptionItem, IScoredPropertyItem, IPropertyItem
Kelas yang mengimplementasikan properti tiket cetak. Kelas yang mengimplementasikan PrintTicket Property umum. Kelas dasar untuk semua properti yang didefinisikan dalam skema. Sebuah elemen Property mendeklarasikan perangkat, format pekerjaan, atau properti relevan lainnya yang namanya diberikan oleh atribut name. Sebuah elemen Value digunakan untuk menetapkan nilai ke Property. Sebuah Property dapat bersifat kompleks, mungkin berisi beberapa subproperti. Subproperti juga direpresentasikan oleh elemen Property. https://docs.microsoft.com/en-us/windows/win32/printdocs/property
Konstruktor
| Konstruktor | Deskripsi |
|---|---|
| Property(String name, Property property, IPropertyItem[] items) | Membuat sebuah instance baru. |
| Property(String name, Value value, IPropertyItem[] items) | Membuat sebuah instance baru. |
Metode
| Metode | Deskripsi |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getName() | Mendapatkan nama elemen. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Property(String name, Property property, IPropertyItem[] items)
public Property(String name, Property property, IPropertyItem[] items)
Membuat sebuah instance baru.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| nama | java.lang.String | Nama properti. |
| property | Property | Sebuah instance Property wajib. |
| items | IPropertyItem[] | Array sewenang-wenang dari instance IPropertyItem. Setiap elemen harus berupa instance Property atau Value. |
Property(String name, Value value, IPropertyItem[] items)
public Property(String name, Value value, IPropertyItem[] items)
Membuat sebuah instance baru.
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| nama | java.lang.String | Nama properti. |
| value | Value | Sebuah instance Value yang wajib. |
| items | IPropertyItem[] | Array sewenang-wenang dari instance IPropertyItem. Setiap elemen harus berupa instance Property atau Value. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Mendapatkan nama elemen.
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:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| arg0 | long | |
| arg1 | int |