Package pamScrollSystem
Class AbstractPamScrollerAWT
java.lang.Object
pamScrollSystem.AbstractPamScroller
pamScrollSystem.AbstractPamScrollerAWT
- All Implemented Interfaces:
Serializable
,DataTimeLimits
- Direct Known Subclasses:
PamScroller
,PamScrollSlider
,ScrollPaneAddon
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractPamScrollerAWT
(String name, int orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMouseWheelSource
(Component component) Add a component to the scrollers mouse wheel listener.void
createScrollComponenent
(boolean hasMenu) void
createScrollComponenent
(boolean hasMenu, boolean hasPlayback) Create the wee component to go into the sorner of the scroll bar that contains the paging arrows.abstract JComponent
getStandardOptionsMenu
(AbstractPamScrollerAWT pamScroller) boolean
void
void
void
void
setVisible
(boolean b) Set the visibility of the scroll bar component.void
Show dialog to enter playback speed.Methods inherited from class pamScrollSystem.AbstractPamScroller
addDataBlock, addMenuParts, addObserver, anotherScrollerMovedInner, anotherScrollerMovedOuter, coupledScrollerChanged, coupleScroller, destroyScroller, getDefaultLoadtime, getMaximumMillis, getMinimumMillis, getNumUsedDataBlocks, getObservers, getPageStep, getPamMenuParts, getRangeMillis, getScrollerCoupling, getScrollerData, getScrollManager, getSpecialLoadTimes, getStepSizeMillis, getUsedDataBlock, getValueMillis, getVisibleAmount, getVisibleEnd, isDataBlockUsed, isInSpecialList, notifyRangeChange, pageBack, pageForward, rangesChanged, reLoad, removeAllDataBlocks, removeDataBlock, removeObserver, setBlockIncrement, setPageStep, setRangeMillis, setScrollerCoupling, setStepSizeMillis, setUnitIncrement, setValueMillis, setVisibleMillis, startPlayback, stopPlayback, toString, uncoupleScroller, valueSetMillis
-
Field Details
-
HORIZONTAL
public static final int HORIZONTAL- See Also:
-
VERTICAL
public static final int VERTICAL- See Also:
-
-
Constructor Details
-
AbstractPamScrollerAWT
public AbstractPamScrollerAWT(String name, int orientation, int stepSizeMillis, long defaultLoadTime, boolean hasMenu)
-
-
Method Details
-
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
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
-
setVisible
public void setVisible(boolean b) Set the visibility of the scroll bar component.- Parameters:
b
-
-
playbackStopped
public void playbackStopped()- Overrides:
playbackStopped
in classAbstractPamScroller
-
showPlaybackMenu
Show dialog to enter playback speed.- Parameters:
e
-
-
playbackStarted
public void playbackStarted()- Overrides:
playbackStarted
in classAbstractPamScroller
-
isShowing
public boolean isShowing()- Overrides:
isShowing
in classAbstractPamScroller
-