public class ZoomScroll extends TeeBase
Title: ZoomScroll class
Description: Internal use. Zoom and scroll support.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Class and Description |
---|---|
class |
ZoomScroll.ZoomSnapshot |
Modifier and Type | Field and Description |
---|---|
int |
x0
Starting horizontal coordinate.
|
int |
x1
Ending horizontal coordinate.
|
int |
y0
Starting vertical coordinate.
|
int |
y1
Ending vertical coordinate.
|
chart, InternalUse
Constructor and Description |
---|
ZoomScroll(IBaseChart value)
Creates a new ZoomScroll class that is asociated to chart parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
activate(int x,
int y)
Internal use.
|
void |
activate(int x,
int y,
boolean saveCache)
Internal use.
|
void |
activate(Point p)
Initializes a Zoom or Scroll operation starting at Point p coordinates.
|
void |
check()
Makes sure x0 and y0 coordinates are lower than x1 and y1 respectively.
|
boolean |
getActive()
Returns the active state of Chart Zoom and Scroll.
In other words, during the act of zooming or scrolling returns true. Default value: false |
void |
setActive(boolean value)
Sets the active state of Chart Zoom and Scroll.
Default value: false |
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public transient int x0
public transient int y0
public transient int x1
public transient int y1
public ZoomScroll(IBaseChart value)
value
- IBaseChartpublic boolean getActive()
public void setActive(boolean value)
value
- booleanpublic void check()
public void activate(Point p)
p
- Pointpublic void activate(int x, int y)
x
- inty
- intpublic void activate(int x, int y, boolean saveCache)
x
- inty
- intsaveCache
- boolean