public class IlvChartLocalZoomInteractor extends IlvChartZoomInteractor
IlvLocalZoomAxisTransformer.
The registered name of this interactor is "LocalZoom".IlvLocalZoomAxisTransformer,
Serialized FormINTERNAL_HIGH, INTERNAL_LOW, NORMAL| Constructor and Description |
|---|
IlvChartLocalZoomInteractor()
Creates a new
IlvChartLocalZoomInteractor object with the
zoom in interaction associated with the BUTTON1 mouse button and the
zoom out interaction set on the BUTTON1+SHIFT mouse event and
linked to the first Y-axis. |
IlvChartLocalZoomInteractor(int yAxisIndex,
int zoomInEventMask,
int zoomOutEventMask)
Creates a new
IlvChartLocalZoomInteractor. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
abort()
Called when the interaction has been aborted.
|
protected void |
doIt()
Called when the action ends.
|
protected void |
endOperation(MouseEvent event)
Called when the interaction ends.
|
static String |
getLocalizedName(Locale locale)
Returns a localized name for this interactor class.
|
protected IlvLocalZoomAxisTransformer |
getXTransformer()
Returns the
IlvLocalZoomAxisTransformer associated
with the X-axis. |
protected IlvLocalZoomAxisTransformer |
getYTransformer()
Returns the
IlvLocalZoomAxisTransformer associated
with 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 is in
the local zoomed area. |
protected void |
validate(IlvDataWindow zoomDataWindow)
Called to validate the current zoomed area.
|
drawGhost, getAnimationStep, getDraggedWindow, getGhostBounds, getZoomedDataWindow, getZoomInCursor, getZoomInEventMask, getZoomInEventMaskEx, getZoomOutCursor, getZoomOutEventMask, getZoomOutEventMaskEx, isValid, isXZoomAllowed, isYZoomAllowed, isZoomingOut, isZoomOutAllowed, processKeyEvent, processMouseEvent, processMouseMotionEvent, setAnimationStep, setXZoomAllowed, setYZoomAllowed, setZoomInEventMask, setZoomOutAllowed, setZoomOutEventMask, startOperationaddChartInteractionListener, chartConnected, create, create, disableEvents, drawGhost, enableEvents, fireChartInteractionEvent, getAWTEventMask, getChart, getCoordinateSystem, getData, getData, getEventMask, getEventMaskEx, getGhostColor, getInteractorClassByName, getLocalizedName, getPriority, getRegisteredInteractorsByName, getShortName, getXAxis, getXORColor, getYAxis, getYAxisIndex, handleExpose, initGhostGraphics, interactionStarted, isAborted, isAllowDrawGhost, isConsumeEvents, isHandling, isInOperation, isXORGhost, register, removeChartInteractionListener, setAborted, setAllowDrawGhost, setChart, setConsumeEvents, setCursor, setEventMask, setGhostColor, setInOperation, setPriority, setXORColor, setXORGhost, setYAxisIndex, toDisplaypublic IlvChartLocalZoomInteractor()
IlvChartLocalZoomInteractor object with the
zoom in interaction associated with the BUTTON1 mouse button and the
zoom out interaction set on the BUTTON1+SHIFT mouse event and
linked to the first Y-axis.public IlvChartLocalZoomInteractor(int yAxisIndex,
int zoomInEventMask,
int zoomOutEventMask)
IlvChartLocalZoomInteractor.yAxisIndex - The Y-axis index.zoomInEventMask - The event mask used to zoom in.zoomOutEventMask - The event mask used to zoom out.public static String getLocalizedName(Locale locale)
protected IlvLocalZoomAxisTransformer getXTransformer()
IlvLocalZoomAxisTransformer associated
with the X-axis. Returns null whether there is no
transformer or it is not a local zoom.protected IlvLocalZoomAxisTransformer getYTransformer()
IlvLocalZoomAxisTransformer associated
with the Y-axis. Returns null whether there is no
transformer or it is not a local zoom.protected boolean isValidStartPoint(double x,
double y)
true if the given point is in
the local zoomed area.isValidStartPoint in class IlvChartZoomInteractorprotected void validate(IlvDataWindow zoomDataWindow)
validate in class IlvChartZoomInteractorprotected void doIt()
doIt in class IlvChartZoomInteractorIlvChartZoomInteractor.getDraggedWindow()public boolean has3DSupport()
has3DSupport in interface IlvChart3DSupporthas3DSupport in class IlvChartZoomInteractorfalse.protected void endOperation(MouseEvent event)
endOperation in class IlvChartZoomInteractorevent - The event that ends the interaction.protected void abort()
abort in class IlvChartZoomInteractor© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.