Class ScrollableBox

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ScrollableBox extends SimplePanel
See Also:
  • Constructor Details

    • ScrollableBox

      public ScrollableBox(JComponent scrollingContainer, boolean vertical, int scrollOffset)
  • Method Details

    • addScrollableBoxListener

      public void addScrollableBoxListener(ScrollableBoxListener listener)
    • removeScrollableBoxListener

      public void removeScrollableBoxListener(ScrollableBoxListener listener)
    • setScrollingContainer

      public void setScrollingContainer(JComponent component)
    • getScrollingComponent

      public JComponent getScrollingComponent()
    • scrollLeft

      public void scrollLeft(int numIndex)
    • scrollRight

      public void scrollRight(int numIndex)
    • ensureVisible

      public void ensureVisible(int index)
    • isLeftEnd

      public boolean isLeftEnd()
    • isRightEnd

      public boolean isRightEnd()
    • setScrollOffset

      public void setScrollOffset(int scrollOffset)
    • getScrollOffset

      public int getScrollOffset()
    • isVertical

      public boolean isVertical()
    • setVertical

      public void setVertical(boolean vertical)
    • setLayoutOrderList

      public void setLayoutOrderList(ArrayList layoutOrderList)
    • updateUI

      public void updateUI()
      Overrides:
      updateUI in class JPanel