Class AbstractPamScrollerAWT

java.lang.Object
pamScrollSystem.AbstractPamScroller
pamScrollSystem.AbstractPamScrollerAWT
All Implemented Interfaces:
Serializable, DataTimeLimits
Direct Known Subclasses:
PamScroller, PamScrollSlider, ScrollPaneAddon

public abstract class AbstractPamScrollerAWT extends AbstractPamScroller implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • AbstractPamScrollerAWT

      public AbstractPamScrollerAWT(String name, int orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu)
  • Method Details

    • getComponent

      public abstract JComponent getComponent()
      Returns:
      the Swing component to go into the GUI.
    • createScrollComponenent

      public void createScrollComponenent(boolean hasMenu)
    • createScrollComponenent

      public void createScrollComponenent(boolean hasMenu, boolean hasPlayback)
      Create the wee component to go into the sorner of the scroll bar that contains the paging arrows.
      Parameters:
      hasMenu - true if the component is to include a popup menu.
    • addMouseWheelSource

      public void addMouseWheelSource(Component component)
      Add a component to the scrollers mouse wheel listener. All mouse wheel actions over that component will then be sent to the scroller for processing.
      Parameters:
      component - component
    • getStandardOptionsMenu

      public JPopupMenu getStandardOptionsMenu(AbstractPamScrollerAWT pamScroller)
    • setVisible

      public void setVisible(boolean b)
      Set the visibility of the scroll bar component.
      Parameters:
      b -
    • playbackStopped

      public void playbackStopped()
      Overrides:
      playbackStopped in class AbstractPamScroller
    • showPlaybackMenu

      public void showPlaybackMenu(MouseEvent e)
      Show dialog to enter playback speed.
      Parameters:
      e -
    • playbackStarted

      public void playbackStarted()
      Overrides:
      playbackStarted in class AbstractPamScroller
    • isShowing

      public boolean isShowing()
      Overrides:
      isShowing in class AbstractPamScroller