Class StiThumbnailsPannel

All Implemented Interfaces:
StiViewEventable, MouseListener, MouseMotionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ScrollPaneConstants

public class StiThumbnailsPannel extends JScrollPane implements StiViewEventable, MouseListener, MouseMotionListener
Panel that displays pages thumbnails Copyright Stimulsoft
See Also:
  • Field Details

    • MINIMUM_DIMENSION

      public static final Dimension MINIMUM_DIMENSION
      Minimum thumb dimension
    • DEFAULT_DIMENSION

      public static final Dimension DEFAULT_DIMENSION
      Difault thumb dimension
  • Constructor Details

  • Method Details

    • updateThumbnails

      public void updateThumbnails()
      Update thumbnails
    • createThumbnails

      public void createThumbnails()
      Create thumbnails
    • scrollToCurrentPage

      public void scrollToCurrentPage()
      Scroll to current page
    • scrollToPage

      public void scrollToPage(int pageNumber, boolean select)
      Scroll to page
      Parameters:
      pageNumber -
    • clearAll

      public void clearAll()
      Clear visuals
    • onScrollViewerResize

      public void onScrollViewerResize()
      Sroll view resized
    • getMinimumSize

      public Dimension getMinimumSize()
      Set pannel fixed size (not proportional) in StiSplit pane
      Overrides:
      getMinimumSize in class JComponent
    • mouseClicked

      public void mouseClicked(MouseEvent e)
      Mouse clicked adapter
      Specified by:
      mouseClicked in interface MouseListener
    • mousePressed

      public void mousePressed(MouseEvent e)
      On mouse pressed action
      Specified by:
      mousePressed in interface MouseListener
    • mouseReleased

      public void mouseReleased(MouseEvent e)
      On mouse released action
      Specified by:
      mouseReleased in interface MouseListener
    • mouseEntered

      public void mouseEntered(MouseEvent e)
      Mouse eneterd adaper
      Specified by:
      mouseEntered in interface MouseListener
    • mouseExited

      public void mouseExited(MouseEvent e)
      Mouse exit adapter
      Specified by:
      mouseExited in interface MouseListener
    • mouseDragged

      public void mouseDragged(MouseEvent e)
      On mouse dragged action
      Specified by:
      mouseDragged in interface MouseMotionListener
    • mouseMoved

      public void mouseMoved(MouseEvent e)
      Mouse moved adapter
      Specified by:
      mouseMoved in interface MouseMotionListener
    • getEventDispatcher

      public StiViewerEventDispatcher getEventDispatcher()
      Specified by:
      getEventDispatcher in interface StiViewEventable
      Returns:
      the eventDispatcher
    • getStiViewModel

      public StiViewModel getStiViewModel()
      Returns:
      StiViewModel
    • setStiViewModel

      public void setStiViewModel(StiViewModel value)
      Parameters:
      value - StiViewModel
    • getReport

      public StiReport getReport()
      Returns:
      StiReport
    • getCurrentPage

      public Integer getCurrentPage()
      Returns:
      Current page
    • getViewHeight

      public Integer getViewHeight()
      Returns:
      View height
    • getViewWidth

      public Integer getViewWidth()
      Returns:
      view width
    • getScrolledPage

      public int getScrolledPage()
      Returns:
      the scrolledPage