public class Scroll extends ZoomScroll
Title: Scroll class
Description: Chart mouse scroll characteristics
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
ZoomScroll.ZoomSnapshot
x0, x1, y0, y1
chart, InternalUse
Constructor and Description |
---|
Scroll(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
activate(Point p)
Initializes a Zoom or Scroll operation starting at Point p coordinates.
|
ScrollMode |
getAllow()
Controls runtime Scrolling modes.
Default value: Both Possible values are: None Deny scrolling. Horizontal Allow only Horizontal Scrolling. Vertical Allow only Vertical Scrolling. Both Allow complete Horizontal and Vertical Scrolling. |
int |
getMouseButton()
The Mousebutton to use for the scroll action.
Default value: Right |
void |
setAllow(ScrollMode value)
Controls runtime Scrolling modes.
Default value: Both |
void |
setMouseButton(int value)
Sets the Mousebutton to use for the scroll action.
Default value: Right |
activate, activate, check, getActive, setActive
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public Scroll(IBaseChart c)
public ScrollMode getAllow()
public void setAllow(ScrollMode value)
value
- ScrollModepublic int getMouseButton()
public void setMouseButton(int value)
value
- intpublic void activate(Point p)
activate
in class ZoomScroll
p
- Point