public class ScrollPaneAddon extends AbstractPamScrollerAWT
HORIZONTAL, VERTICAL
Constructor and Description |
---|
ScrollPaneAddon(javax.swing.JScrollPane scrollPane,
java.lang.String name,
int orientation,
int stepSizeMillis,
long defaultLoadTime,
boolean hasMenu) |
Modifier and Type | Method and Description |
---|---|
void |
anotherScrollerMovedInner(long newValue)
Another managed scroller moved it's position
|
javax.swing.JPanel |
getButtonPanel() |
javax.swing.JComponent |
getComponent() |
long |
getValueMillis() |
void |
rangesChanged(long setValue)
Called when ranges have been changed and tells
scroller to go to a particular absolute value.
|
void |
valueSetMillis(long valueMillis)
Called when a new position has been set
|
addMouseWheelSource, createScrollComponenent, getStandardOptionsMenu, setVisible
addDataBlock, addObserver, anotherScrollerMovedOuter, coupledScrollerChanged, coupleScroller, destroyScroller, getDefaultLoadtime, getMaximumMillis, getMinimumMillis, getNumUsedDataBlocks, getObservers, getPageStep, getRangeMillis, getScrollerCoupling, getScrollManager, getStepSizeMillis, getUsedDataBlock, isDataBlockUsed, isInSpecialList, reLoad, removeAllDataBlocks, removeDataBlock, removeObserver, setBlockIncrement, setPageStep, setRangeMillis, setScrollerCoupling, setStepSizeMillis, setUnitIncrement, setValueMillis, setVisibleAmount, uncoupleScroller
public ScrollPaneAddon(javax.swing.JScrollPane scrollPane, java.lang.String name, int orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu)
public javax.swing.JPanel getButtonPanel()
public void anotherScrollerMovedInner(long newValue)
AbstractPamScroller
anotherScrollerMovedInner
in class AbstractPamScroller
newValue
- new value in millispublic javax.swing.JComponent getComponent()
getComponent
in class AbstractPamScrollerAWT
public long getValueMillis()
getValueMillis
in class AbstractPamScroller
public void rangesChanged(long setValue)
AbstractPamScroller
rangesChanged
in class AbstractPamScroller
public void valueSetMillis(long valueMillis)
AbstractPamScroller
valueSetMillis
in class AbstractPamScroller
valueMillis
- new scroll value in milliseconds