Class DPreviewWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, org.kopi.galite.visual.base.UComponent, org.kopi.galite.visual.DPositionPanelListener, org.kopi.galite.visual.FileProductionListener, org.kopi.galite.visual.ModelCloseListener, org.kopi.galite.visual.preview.PreviewListener, org.kopi.galite.visual.ProgressDialogListener, org.kopi.galite.visual.UWindow, org.kopi.galite.visual.VActionListener, org.kopi.galite.visual.WaitDialogListener, org.kopi.galite.visual.WaitInfoListener

public class DPreviewWindow extends DWindow implements org.kopi.galite.visual.DPositionPanelListener, org.kopi.galite.visual.preview.PreviewListener
A window with an html pane
See Also:
  • Constructor Details

    • DPreviewWindow

      public DPreviewWindow(org.kopi.galite.visual.preview.VPreviewWindow model)
  • Method Details

    • init

      public void init()
    • run

      public void run()
      Description copied from class: DWindow
      starts the window
      Specified by:
      run in interface org.kopi.galite.visual.UWindow
      Specified by:
      run in class DWindow
    • setPagePosition

      public void setPagePosition(int current, int count)
      setPagePosition inform user about nb records fetched and current one
    • pageChanged

      public void pageChanged(int current)
      Specified by:
      pageChanged in interface org.kopi.galite.visual.preview.PreviewListener
    • zoomChanged

      public void zoomChanged()
      Specified by:
      zoomChanged in interface org.kopi.galite.visual.preview.PreviewListener
    • zoomFit

      public void zoomFit(int type)
      Specified by:
      zoomFit in interface org.kopi.galite.visual.preview.PreviewListener
    • gotoNextPosition

      public void gotoNextPosition()
      Requests to go to the next position.
      Specified by:
      gotoNextPosition in interface org.kopi.galite.visual.DPositionPanelListener
    • gotoPrevPosition

      public void gotoPrevPosition()
      Requests to go to the previous position.
      Specified by:
      gotoPrevPosition in interface org.kopi.galite.visual.DPositionPanelListener
    • gotoLastPosition

      public void gotoLastPosition()
      Requests to go to the last position.
      Specified by:
      gotoLastPosition in interface org.kopi.galite.visual.DPositionPanelListener
    • gotoFirstPosition

      public void gotoFirstPosition()
      Requests to go to the first position.
      Specified by:
      gotoFirstPosition in interface org.kopi.galite.visual.DPositionPanelListener
    • gotoPosition

      public void gotoPosition(int posno)
      Requests to go to the specified position.
      Specified by:
      gotoPosition in interface org.kopi.galite.visual.DPositionPanelListener
    • rotate

      public static BufferedImage rotate(String file) throws IOException
      Throws:
      IOException