com.steema.teechart
Class Scroll

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.ZoomScroll
          extended by com.steema.teechart.Scroll

public class Scroll
extends ZoomScroll

Title: Scroll class

Description: Chart mouse scroll characteristics

Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Nested Class Summary
 
Nested classes/interfaces inherited from class com.steema.teechart.ZoomScroll
ZoomScroll.ZoomSnapshot
 
Field Summary
 
Fields inherited from class com.steema.teechart.ZoomScroll
x0, x1, y0, y1
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
Scroll(IBaseChart c)
           
 
Method Summary
 ScrollMode getAllow()
          Controls runtime Scrolling modes.
 int getMouseButton()
          The Mousebutton to use for the scroll action.
 void setAllow(ScrollMode value)
          Controls runtime Scrolling modes.
 void setMouseButton(int value)
          Sets the Mousebutton to use for the scroll action.
 
Methods inherited from class com.steema.teechart.ZoomScroll
activate, activate, check, getActive, setActive
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scroll

public Scroll(IBaseChart c)
Method Detail

getAllow

public 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.

Returns:
ScrollMode

setAllow

public void setAllow(ScrollMode value)
Controls runtime Scrolling modes.
Default value: Both

Parameters:
value - ScrollMode

getMouseButton

public int getMouseButton()
The Mousebutton to use for the scroll action.
Default value: Right

Returns:
int Mouse Button

setMouseButton

public void setMouseButton(int value)
Sets the Mousebutton to use for the scroll action.
Default value: Right

Parameters:
value - int