javax.print.attribute
26 classes of the module java.desktop.
Load them with:
using {
"javax.print.attribute"
}
AttributeAttribute#
interface · javax.print.attribute.Attribute
Extends: Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCategory | getCategory() | Class getCategory() |
getName | getName() | String getName() |
AttributeSet#
interface · javax.print.attribute.AttributeSet
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(category) | Attribute get(Class category) |
add | add(attribute) | boolean add(Attribute attribute) |
addAll | addAll(attributes) | boolean addAll(AttributeSet attributes) |
clear | clear() | void clear() |
containsKey | containsKey(category) | boolean containsKey(Class category) |
containsValue | containsValue(attribute) | boolean containsValue(Attribute attribute) |
equals | equals(object) | boolean equals(Object object) |
hashCode | hashCode() | int hashCode() |
isEmpty | isEmpty() | boolean isEmpty() |
remove | remove(category) | boolean remove(Class category)boolean remove(Attribute attribute) |
size | size() | int size() |
toArray | toArray() | Attribute[] toArray() |
AttributeSetUtilities#
class final · extends Object · javax.print.attribute.AttributeSetUtilities
Methods
| Method | Ring call | Java overloads |
|---|---|---|
synchronizedView | synchronizedView(attributeSet) | static PrintRequestAttributeSet synchronizedView(PrintRequestAttributeSet attributeSet)static DocAttributeSet synchronizedView(DocAttributeSet attributeSet)static AttributeSet synchronizedView(AttributeSet attributeSet)static PrintJobAttributeSet synchronizedView(PrintJobAttributeSet attributeSet)static PrintServiceAttributeSet synchronizedView(PrintServiceAttributeSet attributeSet) |
unmodifiableView | unmodifiableView(attributeSet) | static PrintServiceAttributeSet unmodifiableView(PrintServiceAttributeSet attributeSet)static AttributeSet unmodifiableView(AttributeSet attributeSet)static DocAttributeSet unmodifiableView(DocAttributeSet attributeSet)static PrintRequestAttributeSet unmodifiableView(PrintRequestAttributeSet attributeSet)static PrintJobAttributeSet unmodifiableView(PrintJobAttributeSet attributeSet) |
verifyAttributeCategory | verifyAttributeCategory(object,interfaceName) | static Class verifyAttributeCategory(Object object, Class interfaceName) |
verifyAttributeValue | verifyAttributeValue(object,interfaceName) | static Attribute verifyAttributeValue(Object object, Class interfaceName) |
verifyCategoryForValue | verifyCategoryForValue(category,attribute) | static void verifyCategoryForValue(Class category, Attribute attribute) |
The methods and fields of Object are inherited.
DateTimeSyntax#
abstract · extends Object · javax.print.attribute.DateTimeSyntax
Implements: Serializable, Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getValue | getValue() | Date getValue() |
The methods and fields of Object are inherited.
DocAttribute#
interface · javax.print.attribute.DocAttribute
Extends: AttributeAttribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCategory | getCategory() | Class getCategory() |
getName | getName() | String getName() |
DocAttributeSet#
interface · javax.print.attribute.DocAttributeSet
Extends: AttributeSet
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(category) | Attribute get(Class category) |
add | add(attribute) | boolean add(Attribute attribute) |
addAll | addAll(attributes) | boolean addAll(AttributeSet attributes) |
clear | clear() | void clear() |
containsKey | containsKey(category) | boolean containsKey(Class category) |
containsValue | containsValue(attribute) | boolean containsValue(Attribute attribute) |
equals | equals(object) | boolean equals(Object object) |
hashCode | hashCode() | int hashCode() |
isEmpty | isEmpty() | boolean isEmpty() |
remove | remove(category) | boolean remove(Class category)boolean remove(Attribute attribute) |
size | size() | int size() |
toArray | toArray() | Attribute[] toArray() |
EnumSyntax#
abstract · extends Object · javax.print.attribute.EnumSyntax
Implements: Serializable, Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
getValue | getValue() | int getValue() |
The methods and fields of Object are inherited.
HashAttributeSet#
class · extends Object · javax.print.attribute.HashAttributeSet
Implements: AttributeSet, Serializable
Constructors
new HashAttributeSet() |
new HashAttributeSet(Attribute[] attributes) |
new HashAttributeSet(AttributeSet attributes) |
new HashAttributeSet(Attribute attribute) |
Ring: new HashAttributeSet(args) uses the constructor with the fewest parameters (at least one); new HashAttributeSet makes the object with the constructor without parameters; the others: (new HashAttributeSet).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(category) | Attribute get(Class category) |
add | add(attribute) | boolean add(Attribute attribute) |
addAll | addAll(attributes) | boolean addAll(AttributeSet attributes) |
clear | clear() | void clear() |
containsKey | containsKey(category) | boolean containsKey(Class category) |
containsValue | containsValue(attribute) | boolean containsValue(Attribute attribute) |
isEmpty | isEmpty() | boolean isEmpty() |
remove | remove(category) | boolean remove(Class category)boolean remove(Attribute attribute) |
size | size() | int size() |
toArray | toArray() | Attribute[] toArray() |
The methods and fields of Object are inherited.
HashDocAttributeSet#
class · extends HashAttributeSet · javax.print.attribute.HashDocAttributeSet
Implements: DocAttributeSet, Serializable
Constructors
new HashDocAttributeSet() |
new HashDocAttributeSet(DocAttributeSet attributes) |
new HashDocAttributeSet(DocAttribute[] attributes) |
new HashDocAttributeSet(DocAttribute attribute) |
Ring: new HashDocAttributeSet(args) uses the constructor with the fewest parameters (at least one); new HashDocAttributeSet makes the object with the constructor without parameters; the others: (new HashDocAttributeSet).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of HashAttributeSet are inherited.
HashPrintJobAttributeSet#
class · extends HashAttributeSet · javax.print.attribute.HashPrintJobAttributeSet
Implements: PrintJobAttributeSet, Serializable
Constructors
new HashPrintJobAttributeSet() |
new HashPrintJobAttributeSet(PrintJobAttributeSet attributes) |
new HashPrintJobAttributeSet(PrintJobAttribute[] attributes) |
new HashPrintJobAttributeSet(PrintJobAttribute attribute) |
Ring: new HashPrintJobAttributeSet(args) uses the constructor with the fewest parameters (at least one); new HashPrintJobAttributeSet makes the object with the constructor without parameters; the others: (new HashPrintJobAttributeSet).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of HashAttributeSet are inherited.
HashPrintRequestAttributeSet#
class · extends HashAttributeSet · javax.print.attribute.HashPrintRequestAttributeSet
Implements: PrintRequestAttributeSet, Serializable
Constructors
new HashPrintRequestAttributeSet() |
new HashPrintRequestAttributeSet(PrintRequestAttributeSet attributes) |
new HashPrintRequestAttributeSet(PrintRequestAttribute[] attributes) |
new HashPrintRequestAttributeSet(PrintRequestAttribute attribute) |
Ring: new HashPrintRequestAttributeSet(args) uses the constructor with the fewest parameters (at least one); new HashPrintRequestAttributeSet makes the object with the constructor without parameters; the others: (new HashPrintRequestAttributeSet).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of HashAttributeSet are inherited.
HashPrintServiceAttributeSet#
class · extends HashAttributeSet · javax.print.attribute.HashPrintServiceAttributeSet
Implements: PrintServiceAttributeSet, Serializable
Constructors
new HashPrintServiceAttributeSet() |
new HashPrintServiceAttributeSet(PrintServiceAttributeSet attributes) |
new HashPrintServiceAttributeSet(PrintServiceAttribute[] attributes) |
new HashPrintServiceAttributeSet(PrintServiceAttribute attribute) |
Ring: new HashPrintServiceAttributeSet(args) uses the constructor with the fewest parameters (at least one); new HashPrintServiceAttributeSet makes the object with the constructor without parameters; the others: (new HashPrintServiceAttributeSet).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of HashAttributeSet are inherited.
IntegerSyntax#
abstract · extends Object · javax.print.attribute.IntegerSyntax
Implements: Serializable, Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getValue | getValue() | int getValue() |
The methods and fields of Object are inherited.
PrintJobAttribute#
interface · javax.print.attribute.PrintJobAttribute
Extends: AttributeAttribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCategory | getCategory() | Class getCategory() |
getName | getName() | String getName() |
PrintJobAttributeSet#
interface · javax.print.attribute.PrintJobAttributeSet
Extends: AttributeSet
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(category) | Attribute get(Class category) |
add | add(attribute) | boolean add(Attribute attribute) |
addAll | addAll(attributes) | boolean addAll(AttributeSet attributes) |
clear | clear() | void clear() |
containsKey | containsKey(category) | boolean containsKey(Class category) |
containsValue | containsValue(attribute) | boolean containsValue(Attribute attribute) |
equals | equals(object) | boolean equals(Object object) |
hashCode | hashCode() | int hashCode() |
isEmpty | isEmpty() | boolean isEmpty() |
remove | remove(category) | boolean remove(Class category)boolean remove(Attribute attribute) |
size | size() | int size() |
toArray | toArray() | Attribute[] toArray() |
PrintRequestAttribute#
interface · javax.print.attribute.PrintRequestAttribute
Extends: AttributeAttribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCategory | getCategory() | Class getCategory() |
getName | getName() | String getName() |
PrintRequestAttributeSet#
interface · javax.print.attribute.PrintRequestAttributeSet
Extends: AttributeSet
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(category) | Attribute get(Class category) |
add | add(attribute) | boolean add(Attribute attribute) |
addAll | addAll(attributes) | boolean addAll(AttributeSet attributes) |
clear | clear() | void clear() |
containsKey | containsKey(category) | boolean containsKey(Class category) |
containsValue | containsValue(attribute) | boolean containsValue(Attribute attribute) |
equals | equals(object) | boolean equals(Object object) |
hashCode | hashCode() | int hashCode() |
isEmpty | isEmpty() | boolean isEmpty() |
remove | remove(category) | boolean remove(Class category)boolean remove(Attribute attribute) |
size | size() | int size() |
toArray | toArray() | Attribute[] toArray() |
PrintServiceAttribute#
interface · javax.print.attribute.PrintServiceAttribute
Extends: AttributeAttribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCategory | getCategory() | Class getCategory() |
getName | getName() | String getName() |
PrintServiceAttributeSet#
interface · javax.print.attribute.PrintServiceAttributeSet
Extends: AttributeSet
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(category) | Attribute get(Class category) |
add | add(attribute) | boolean add(Attribute attribute) |
addAll | addAll(attributes) | boolean addAll(AttributeSet attributes) |
clear | clear() | void clear() |
containsKey | containsKey(category) | boolean containsKey(Class category) |
containsValue | containsValue(attribute) | boolean containsValue(Attribute attribute) |
equals | equals(object) | boolean equals(Object object) |
hashCode | hashCode() | int hashCode() |
isEmpty | isEmpty() | boolean isEmpty() |
remove | remove(category) | boolean remove(Class category)boolean remove(Attribute attribute) |
size | size() | int size() |
toArray | toArray() | Attribute[] toArray() |
ResolutionSyntax#
abstract · extends Object · javax.print.attribute.ResolutionSyntax
Implements: Serializable, Cloneable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DPI | int | constant · static | o.DPI |
DPCM | int | constant · static | o.DPCM |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@toString | @toString(units,unitsName) | String toString(int units, String unitsName) |
getCrossFeedResolution | getCrossFeedResolution(units) | int getCrossFeedResolution(int units) |
getFeedResolution | getFeedResolution(units) | int getFeedResolution(int units) |
getResolution | getResolution(units) | int[] getResolution(int units) |
lessThanOrEquals | lessThanOrEquals(other) | boolean lessThanOrEquals(ResolutionSyntax other) |
The methods and fields of Object are inherited.
SetOfIntegerSyntax#
abstract · extends Object · javax.print.attribute.SetOfIntegerSyntax
Implements: Serializable, Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@next | @next(x) | int next(int x) |
contains | contains(attribute) | boolean contains(IntegerSyntax attribute)boolean contains(int x) |
getMembers | getMembers() | int[][] getMembers() |
The methods and fields of Object are inherited.
Size2DSyntax#
abstract · extends Object · javax.print.attribute.Size2DSyntax
Implements: Serializable, Cloneable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
INCH | int | constant · static | o.INCH |
MM | int | constant · static | o.MM |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@toString | @toString(units,unitsName) | String toString(int units, String unitsName) |
getSize | getSize(units) | float[] getSize(int units) |
getX | getX(units) | float getX(int units) |
getY | getY(units) | float getY(int units) |
The methods and fields of Object are inherited.
SupportedValuesAttribute#
interface · javax.print.attribute.SupportedValuesAttribute
Extends: AttributeAttribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCategory | getCategory() | Class getCategory() |
getName | getName() | String getName() |
TextSyntax#
abstract · extends Object · javax.print.attribute.TextSyntax
Implements: Serializable, Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getLocale | getLocale() | Locale getLocale() |
getValue | getValue() | String getValue() |
The methods and fields of Object are inherited.
UnmodifiableSetException#
class · extends RuntimeException · javax.print.attribute.UnmodifiableSetException
Constructors
new UnmodifiableSetException() |
new UnmodifiableSetException(String message) |
Ring: new UnmodifiableSetException(args) uses the constructor with the fewest parameters (at least one); new UnmodifiableSetException makes the object with the constructor without parameters; the others: (new UnmodifiableSetException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of RuntimeException are inherited.
URISyntax#
abstract · extends Object · javax.print.attribute.URISyntax
Implements: Serializable, Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getURI | getURI() | URI getURI() |
The methods and fields of Object are inherited.