(append [abook printable pageformat])
A function that will take a vector as input and will append a (^Printable)printable
to the (^Book) abook
object with a (^PageFormat) pageformat
.
The function will accept a vector of [abook printable pageformat]
and after the spec
validation will return a map with the addition of the dispatch keyword for the appropriate book
multimethod.
A function that will take a vector as input and will append a (^Printable)`printable` to the (^Book) `abook` object with a (^PageFormat) `pageformat`. The function will accept a vector of `[abook printable pageformat]` and after the spec validation will return a map with the addition of the dispatch keyword for the appropriate `book` multimethod.
(append-wp [abook printable pageformat num_of_pages])
A function that will take a vector as input and will append a (^Printable)printable
page to the (^Book) abook
object with a (^PageFormat) PageFormat
and
with the number_of_pages that will append.
The function will accept a vector of [^Book ^Printable ^PageFormat ^Int] and after the spec
validation will return a map with addition of the dispatch keywork for the appropriate book
multimethod.
A function that will take a vector as input and will append a (^Printable)`printable` page to the (^Book) `abook` object with a (^PageFormat) `PageFormat` and with the number_of_pages that will append. The function will accept a vector of [^Book ^Printable ^PageFormat ^Int] and after the spec validation will return a map with addition of the dispatch keywork for the appropriate `book` multimethod.
A multimethod for Book objects that will execute the methods of the java.awt.print.Book
class, using the corresponding
helper functions: clj-paper-print.book/append
clj-paper-print.book/append-wp
clj-paper-print.book/get-num-of-pages
clj-paper-print.book/get-page-format
clj-paper-print.book/get-printable
clj-paper-print.book/set-page
.
A multimethod for Book objects that will execute the methods of the `java.awt.print.Book` class, using the corresponding helper functions: `clj-paper-print.book/append` `clj-paper-print.book/append-wp` `clj-paper-print.book/get-num-of-pages` `clj-paper-print.book/get-page-format` `clj-paper-print.book/get-printable` `clj-paper-print.book/set-page`.
(get-num-of-pages abook)
A function that will accept a (^Book) book
object and will return the number of pages of the book as integer.
A function that will accept a (^Book) `book` object and will return the number of pages of the book as integer.
(get-page-format [abook thepage-index])
A function that will take a vector as input and will accept a (^Book) book
object and an int with the page-index
of the page
to return the (^PageFormat) pageformat
of the printable on the requested index of the book.
A function that will take a vector as input and will accept a (^Book) `book` object and an int with the `page-index` of the page to return the (^PageFormat) `pageformat` of the printable on the requested index of the book.
(get-printable [abook page-index])
A function that will take a vector as input and will accept a (^Book) book
object and an int with the page-index
of the page
to return the (^Printable) printable
object of the requested index in the Book object.
A function that will take a vector as input and will accept a (^Book) `book` object and an int with the `page-index` of the page to return the (^Printable) `printable` object of the requested index in the Book object.
(set-page [abook printable pageformat page-index])
A function that will take a vector as input and will accept the supplied (^PageFormat) pageformat
the painter (^Printable) printable
to the page-index
of (^Book) book
.
A function that will take a vector as input and will accept the supplied (^PageFormat) `pageformat` the painter (^Printable) `printable` to the `page-index` of (^Book) `book`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close