net.infonode.gui

Class ScrollableBox

public class ScrollableBox extends SimplePanel

Constructor Summary
ScrollableBox(JComponent scrollingContainer, boolean vertical, int scrollOffset)
Method Summary
voidaddScrollableBoxListener(ScrollableBoxListener listener)
voidensureVisible(int index)
JComponentgetScrollingComponent()
intgetScrollOffset()
booleanisLeftEnd()
booleanisRightEnd()
booleanisVertical()
voidremoveScrollableBoxListener(ScrollableBoxListener listener)
voidscrollLeft(int numIndex)
voidscrollRight(int numIndex)
voidsetLayoutOrderList(ArrayList layoutOrderList)
voidsetScrollingContainer(JComponent component)
voidsetScrollOffset(int scrollOffset)
voidsetVertical(boolean vertical)
voidupdateUI()

Constructor Detail

ScrollableBox

public ScrollableBox(JComponent scrollingContainer, boolean vertical, int scrollOffset)

Method Detail

addScrollableBoxListener

public void addScrollableBoxListener(ScrollableBoxListener listener)

ensureVisible

public void ensureVisible(int index)

getScrollingComponent

public JComponent getScrollingComponent()

getScrollOffset

public int getScrollOffset()

isLeftEnd

public boolean isLeftEnd()

isRightEnd

public boolean isRightEnd()

isVertical

public boolean isVertical()

removeScrollableBoxListener

public void removeScrollableBoxListener(ScrollableBoxListener listener)

scrollLeft

public void scrollLeft(int numIndex)

scrollRight

public void scrollRight(int numIndex)

setLayoutOrderList

public void setLayoutOrderList(ArrayList layoutOrderList)

setScrollingContainer

public void setScrollingContainer(JComponent component)

setScrollOffset

public void setScrollOffset(int scrollOffset)

setVertical

public void setVertical(boolean vertical)

updateUI

public void updateUI()