public class IlvChartLocalPanInteractor extends IlvChartPanInteractor
IlvLocalZoomAxisTransformer.
The registered name of this class is "LocalPan".IlvLocalZoomAxisTransformer,
Serialized FormINTERNAL_HIGH, INTERNAL_LOW, NORMAL| Constructor and Description |
|---|
IlvChartLocalPanInteractor()
Creates a new
IlvChartLocalPanInteractor object associated
with the BUTTON3 InputEvent event and the first Y-axis. |
IlvChartLocalPanInteractor(int yAxisIndex,
int button)
Creates a new
IlvChartLocalPanInteractor object
associated with the specified button and with the given axis. |
| Modifier and Type | Method and Description |
|---|---|
static String |
getLocalizedName(Locale locale)
Returns a localized name for this interactor class.
|
protected IlvLocalZoomAxisTransformer |
getXTransformer()
Returns the local zoom transformer set on the X-axis.
|
protected IlvLocalZoomAxisTransformer |
getYTransformer()
Returns the local zoom transformer set on the Y-axis.
|
boolean |
has3DSupport()
Indicates whether the interactor can be used with a 3D chart.
|
protected boolean |
isValidStartPoint(double x,
double y)
Returns
true if the given point (specified
in data coordinate system) is processed. |
protected void |
pan(IlvDoublePoints oldPos,
IlvDoublePoints newPos)
Called when a pan occurs.
|
abort, endOperation, getCursor, isXPanAllowed, isYPanAllowed, processMouseEvent, processMouseMotionEvent, setXPanAllowed, setYPanAllowed, startOperationaddChartInteractionListener, chartConnected, create, create, disableEvents, drawGhost, drawGhost, enableEvents, fireChartInteractionEvent, getAWTEventMask, getChart, getCoordinateSystem, getData, getData, getEventMask, getEventMaskEx, getGhostBounds, getGhostColor, getInteractorClassByName, getLocalizedName, getPriority, getRegisteredInteractorsByName, getShortName, getXAxis, getXORColor, getYAxis, getYAxisIndex, handleExpose, initGhostGraphics, interactionStarted, isAborted, isAllowDrawGhost, isConsumeEvents, isHandling, isInOperation, isXORGhost, processKeyEvent, register, removeChartInteractionListener, setAborted, setAllowDrawGhost, setChart, setConsumeEvents, setCursor, setEventMask, setGhostColor, setInOperation, setPriority, setXORColor, setXORGhost, setYAxisIndex, toDisplaypublic IlvChartLocalPanInteractor()
IlvChartLocalPanInteractor object associated
with the BUTTON3 InputEvent event and the first Y-axis.public IlvChartLocalPanInteractor(int yAxisIndex,
int button)
IlvChartLocalPanInteractor object
associated with the specified button and with the given axis.yAxisIndex - The Y-axis index.button - A valid InputEvent mouse button constant.public static String getLocalizedName(Locale locale)
protected IlvLocalZoomAxisTransformer getXTransformer()
null if no transformer has been set or if it is
not an instance of IlvLocalZoomAxisTransformer.protected IlvLocalZoomAxisTransformer getYTransformer()
null if no transformer has been set or if it is
not an instance of IlvLocalZoomAxisTransformer.protected boolean isValidStartPoint(double x,
double y)
true if the given point (specified
in data coordinate system) is processed.isValidStartPoint in class IlvChartPanInteractorprotected void pan(IlvDoublePoints oldPos, IlvDoublePoints newPos)
pan in class IlvChartPanInteractoroldPos - The old position expressed in data coordinate system.newPos - The new position expressed in data coordinate system.public boolean has3DSupport()
has3DSupport in interface IlvChart3DSupporthas3DSupport in class IlvChartPanInteractorfalse.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.