TeeChartPHP
[ class tree: TeeChartPHP ] [ index: TeeChartPHP ] [ all elements ]

Class: Scroll

Source Location: /Scroll.php

Class Overview

TeeBase
   |
   --ZoomScroll
      |
      --Scroll

<p>Title: Scroll class</p>


Author(s):

  • Steema Software SL.

Version:

  • 1.0

Copyright:

  • (c) 1995-2013 by Steema Software SL. All Rights Reserved. <info@steema.com>

Variables

Methods


Inherited Variables

Inherited Methods

Class: ZoomScroll

ZoomScroll::ZoomScroll()
Creates a new ZoomScroll class that is asociated to chart parameter.
ZoomScroll::activate()
Initializes a Zoom or Scroll operation starting at Point p coordinates.
ZoomScroll::activateXY()
Internal use. Starts a Zoom or Scroll from the co-ordinates x and y.
ZoomScroll::check()
Makes sure x0 and y0 coordinates are lower than x1 and y1 respectively.
ZoomScroll::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
ZoomScroll::setActive()
Sets the active state of Chart Zoom and Scroll.
Default value: false
ZoomScroll::__destruct()

Class: TeeBase

TeeBase::__construct()
TeeBase::getChart()
Chart associated with this object.
TeeBase::invalidate()
Use invalidate when the entire canvas needs to be repainted.
TeeBase::setBooleanProperty()
TeeBase::setChart()
Chart associated with this object.
TeeBase::setColorProperty()
TeeBase::setDoubleProperty()
TeeBase::setIntegerProperty()
TeeBase::setStringProperty()
TeeBase::_setColorProperty()
TeeBase::__destruct()
TeeBase::__get()
TeeBase::__set()

Class Details

[line 24]
<p>Title: Scroll class</p>

Description: Used at tChart1.Scroll property, determines mouse scroll attributes.




Tags:

author:  Steema Software SL.
version:  1.0
copyright:  (c) 1995-2013 by Steema Software SL. All Rights Reserved. <info@steema.com>
link:  http://www.steema.com


[ Top ]


Class Variables

$direction =

[line 27]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mouseButton = 0

[line 26]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor Scroll [line 34]

Scroll Scroll( c $c)

Creates a new Scroll instance.



Tags:

access:  public


Parameters:

c   $c   IBaseChart

[ Top ]

destructor __destruct [line 41]

void __destruct( )



Tags:

access:  public


Overrides ZoomScroll::__destruct() (parent method not documented)

[ Top ]

method getDirection [line 65]

ZoomDirections getDirection( )

The direction of the zoom on a selected area.



Example. Horizontal will zoom only on a horizontal plane although the mouse is dragged across a vertical and horizontal plane.
Default value: Both




Tags:

access:  public


[ Top ]

method getMouseButton [line 49]

void getMouseButton( )



Tags:

access:  public


[ Top ]

method setDirection [line 75]

void setDirection( value $value)

Sets the direction of the zoom on a selected area.

Default value: Both



Tags:

access:  public


Parameters:

value   $value   ZoomDirections

[ Top ]

method setMouseButton [line 53]

void setMouseButton( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]


Documentation generated on Mon, 19 Aug 2013 13:42:59 +0200 by phpDocumentor 1.4.3