public class Property extends Object implements IPrintTicketItem, IFeatureItem, IOptionItem, IScoredPropertyItem, IPropertyItem, Iterable<IPropertyItem>
Class incapsulating print ticket property.
Modifier and Type | Class and Description |
---|---|
static class |
Property.SelectionType
Convenience class for SelectionType print ticket property.
|
Constructor and Description |
---|
Property(String name,
IPropertyItem... items)
Creates common print ticket property instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns property name.
|
Iterator<IPropertyItem> |
iterator()
Implementation of
Iterable<IPropertyItem> interface. |
String |
toString()
Returns the string representation.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public Property(String name, IPropertyItem... items)
Creates common print ticket property instance.
name
- Property name.items
- Array of IPropertyItem
objects.
Each one must be a Property
or Value
object.public String getName()
Returns property name.
getName
in interface IPrintTicketItem
public String toString()
Returns the string representation.
public Iterator<IPropertyItem> iterator()
Implementation of Iterable<IPropertyItem>
interface.
iterator
in interface Iterable<IPropertyItem>