Interface ViewportAdjuster

All Known Implementing Classes:
DbViewportAdjustmentListener, IrisTreeTableModel

public interface ViewportAdjuster
This interface defines a class that will respond to adjustments in a table's viewport.
  • Method Details

    • computeNewViewport

      void computeNewViewport​(boolean forceUpdate)
      Compute a new viewport.
      Parameters:
      forceUpdate - force an update, even if no changes were detected.
    • closeViewPort

      void closeViewPort()
      Close the existing viewport and clean up all table resources.
    • disconnectViewport

      void disconnectViewport()
      Disconnect the current adjuster from the viewport, but do not clean up table resources
    • suspendViewport

      void suspendViewport()
      Suspend processing of events generated by the underlying model.
    • setView

      void setView​(IrisView view)
      Set the IrisView underneath which this adjuster resides.
      Parameters:
      view - the IrisView.
    • setPersistentQueryClient

      void setPersistentQueryClient​(PersistentQueryClient client)
      Set the PQ client to issue remote queries to.
      Parameters:
      client - the PQ Client
    • setEmbeddedDbConsole

      void setEmbeddedDbConsole​(EmbeddedDbConsole console)
      Set the EmbeddedDBConsole for issuing queries, if available. Note that only setPersistentQueryClient(PersistentQueryClient) or this should be called, not both.
      Parameters:
      console - the Console
    • setScrollPane

      void setScrollPane​(JScrollPane pane)
      Set the scroll pane to listen to events from.
      Parameters:
      pane - The scrollpane