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

Class: ZoomScroll

Source Location: /ZoomScroll.php

Class Overview

TeeBase
   |
   --ZoomScroll

<p>Title: ZoomScroll class</p> <p>Description: Internal use. Zoom and scroll support.</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


Child classes:

Scroll
<p>Title: Scroll class</p>
Zoom
<p>Title: Zoom class</p>

Inherited Variables

Inherited Methods


Class Details

[line 22]
<p>Title: ZoomScroll class</p> <p>Description: Internal use. Zoom and scroll support.</p>



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

$x0 =

[line 112]

Starting horizontal coordinate.



Tags:

access:  public

Type:   mixed


[ Top ]

$x1 =

[line 122]

Ending horizontal coordinate.



Tags:

access:  public

Type:   mixed


[ Top ]

$y0 =

[line 117]

Starting vertical coordinate.



Tags:

access:  public

Type:   mixed


[ Top ]

$y1 =

[line 127]

Ending vertical coordinate.



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor ZoomScroll [line 35]

ZoomScroll ZoomScroll( [value $c = null])

Creates a new ZoomScroll class that is asociated to chart parameter.



Tags:

access:  public


Parameters:

value   $c   IBaseChart

[ Top ]

destructor __destruct [line 40]

void __destruct( )



Tags:

access:  public


Overridden in child classes as:

Scroll::__destruct()
Zoom::__destruct()

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

[ Top ]

method activate [line 91]

void activate( p $p)

Initializes a Zoom or Scroll operation starting at Point p coordinates.



Tags:

access:  public


Parameters:

p   $p   Point

[ Top ]

method activateXY [line 101]

void activateXY( x $x, y $y)

Internal use. Starts a Zoom or Scroll from the co-ordinates x and y.



Tags:

access:  public


Parameters:

x   $x   int
y   $y   int

[ Top ]

method check [line 71]

void check( )

Makes sure x0 and y0 coordinates are lower than x1 and y1 respectively.



Tags:

access:  public


[ Top ]

method getActive [line 54]

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



Tags:

access:  public


[ Top ]

method setActive [line 64]

void setActive( value $boolean)

Sets the active state of Chart Zoom and Scroll.
Default value: false



Tags:

access:  public


Parameters:

value   $boolean   boolean

[ Top ]


Documentation generated on Mon, 19 Aug 2013 13:43:35 +0200 by phpDocumentor 1.4.3