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
Classe che implementa la proprietà del ticket di stampa. La classe che implementa una comune PrintTicket Property. La classe base per tutte le proprietà definite dallo schema. Un elemento Property dichiara un dispositivo, una formattazione di lavoro o altra proprietà rilevante il cui nome è fornito dall’attributo name. Un elemento Value è usato per assegnare un valore al Property. Un Property può essere complesso, contenendo eventualmente più sotto‑proprietà. Le sotto‑proprietà sono anch’esse rappresentate da elementi Property. https://docs.microsoft.com/en-us/windows/win32/printdocs/property
Costruttori
| Costruttore | Descrizione |
|---|---|
| Property(String name, Property property, IPropertyItem[] items) | Crea una nuova istanza. |
| Property(String name, Value value, IPropertyItem[] items) | Crea una nuova istanza. |
Metodi
| Metodo | Descrizione |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getName() | Ottiene il nome dell’elemento. |
| 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)
Crea una nuova istanza.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | java.lang.String | Un nome di proprietà. |
| property | Property | Un’istanza di Property obbligatoria. |
| items | IPropertyItem[] | Un array arbitrario di istanze IPropertyItem. Ognuna deve essere un’istanza di Property o di Value. |
Property(String name, Value value, IPropertyItem[] items)
public Property(String name, Value value, IPropertyItem[] items)
Crea una nuova istanza.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | java.lang.String | Un nome di proprietà. |
| value | Value | Un’istanza obbligatoria di Value . |
| items | IPropertyItem[] | Un array arbitrario di istanze IPropertyItem. Ognuna deve essere un’istanza di Property o di Value. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Ottiene il nome dell’elemento.
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:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long | |
| arg1 | int |