Class ViewportTransferHandler

All Implemented Interfaces:
Serializable

public class ViewportTransferHandler
extends FreezeColumnsTransferHandler
We need our own transfer handler for viewport tables, so that we can fetch the right rows/columns. If we have no transfer handler, then things outside our viewport will be stale; and just get populated from the table model's empty cells. The exportToClipboard function is overridden, because we don't want to wait for population on the Swing thread. If a user copies a significant section of a table (apparently a use case is "all of it"), then we can hang waiting for that data to come from the server. Instead we popup a modal progress dialog, so at least the user will see what is going on (there is a 100ms delay so that it isn't annoying when copying just a small number of rows). We also warn over 10K rows, so that you don't end up copying and pasting without being aware. This was lifted from the TableTransferHandler in BasicUITable
See Also:
Serialized Form