Interface PrintResult
-
Field Summary
Fields inherited from interface Printable
NO_SUCH_PAGE, PAGE_EXISTS -
Method Summary
Modifier and TypeMethodDescriptiondefault @Nonnull List<ResultFlavor> Defines the types of data this result contains.voidupdateAttributes(@Nonnull PrinterJob job, @Nonnull PrintRequestAttributeSet attributes) Sets the attributes in the given attribute set.Methods inherited from interface Result
cleanup, supportsFlavor, supportsOneFlavorOf
-
Method Details
-
getFlavors
Defines the types of data this result contains.- Specified by:
getFlavorsin interfaceResult- Returns:
- the
ResultFlavorvalues of this result
-
updateAttributes
Sets the attributes in the given attribute set. If there is more than one PrintResult, this method is called for every PrintResult with the same attribute set. This method is guaranteed to be called once before the first call to print(). It can be used for initialization.- Parameters:
job- the PrinterJob with the selected PrintServiceattributes- the print attributes- Since:
- taskplanner 3.0
-