custom controls: printing

Tom Eugelink tbee at tbee.org
Thu Jan 29 07:38:54 UTC 2015


On 29-1-2015 08:01, Phil Race wrote:
>
> If you create an Agenda that is never displayed but has the same
> data and set its size so that it can display all the data, I expect
> it should be possible to scale it so that it fits on one page like
> the example you referenced but once you have 500 items in
> your agenda, someone is going to have to handle the magic
> that splits that across pages and there's no way the core printing API
> could know how to do that for a control. All it sees are Nodes ..

Ok. I get that. So bottom line is that I need to implement print(PrintJob), similar to webview's, to get rid of the scrollpane. Agenda looks like Google Calendar, so it is more complex than a list. And that for each skin. Ok.

Tom


More information about the openjfx-dev mailing list