public class IlvChartYScrollInteractor extends IlvChartScrollInteractor
The registered name of this interactor is "YScroll".
IlvChartScrollInteractor
,
Serialized FormNEGATIVE_DIR, POSITIVE_DIR
INTERNAL_HIGH, INTERNAL_LOW, NORMAL
Constructor and Description |
---|
IlvChartYScrollInteractor()
Creates a new
IlvChartYScrollInteractor object with the
negative direction associated with VK_DOWN and the positive direction
associated with VK_UP that scrolls 2 steps or 2 percent of the current
visible range, whether a steps definition for the Y-axis scale is
available. |
IlvChartYScrollInteractor(int yAxisIndex,
int negativeDirKey,
int positiveDirKey,
int step)
Creates a new
IlvChartYScrollInteractor object. |
Modifier and Type | Method and Description |
---|---|
protected IlvAxis |
getAxis()
Returns the axis scrolled by this interactor.
|
static String |
getLocalizedName(Locale locale)
Returns a localized name for this interactor class.
|
protected void |
scroll(int direction)
Scrolls the chart along the Y-axis in the given direction.
|
getDelta, getNegativeDirectionKey, getPositiveDirectionKey, getStep, processKeyEvent, setNegativeDirectionKey, setPositiveDirectionKey, setStep
abort, addChartInteractionListener, chartConnected, create, create, disableEvents, drawGhost, drawGhost, enableEvents, endOperation, fireChartInteractionEvent, getAWTEventMask, getChart, getCoordinateSystem, getData, getData, getEventMask, getEventMaskEx, getGhostBounds, getGhostColor, getInteractorClassByName, getLocalizedName, getPriority, getRegisteredInteractorsByName, getShortName, getXAxis, getXORColor, getYAxis, getYAxisIndex, handleExpose, has3DSupport, initGhostGraphics, interactionStarted, isAborted, isAllowDrawGhost, isConsumeEvents, isHandling, isInOperation, isXORGhost, processMouseEvent, processMouseMotionEvent, register, removeChartInteractionListener, setAborted, setAllowDrawGhost, setChart, setConsumeEvents, setCursor, setEventMask, setGhostColor, setInOperation, setPriority, setXORColor, setXORGhost, setYAxisIndex, startOperation, toDisplay
public IlvChartYScrollInteractor()
IlvChartYScrollInteractor
object with the
negative direction associated with VK_DOWN and the positive direction
associated with VK_UP that scrolls 2 steps or 2 percent of the current
visible range, whether a steps definition for the Y-axis scale is
available.public IlvChartYScrollInteractor(int yAxisIndex, int negativeDirKey, int positiveDirKey, int step)
IlvChartYScrollInteractor
object.yAxisIndex
- The Y-axis index.negativeDirKey
- The key associated with a scroll in the negative
direction.positiveDirKey
- The key associated with a scroll in the positive
direction.step
- The number of Y-scale steps to scroll or the percentage of
the visible range to scroll whether a steps definition for
the Y-axis scale is available.public static String getLocalizedName(Locale locale)
protected IlvAxis getAxis()
getAxis
in class IlvChartScrollInteractor
protected void scroll(int direction)
scroll
in class IlvChartScrollInteractor
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.