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

Class: ZoomScroll

Source Location: /ZoomScroll.php

Class Overview

TeeBase
   |
   --ZoomScroll

<p>Title: ZoomScroll class</p>


Author(s):

Version:

  • 1.0

Copyright:

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

Variables

Methods


Child classes:

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

Inherited Variables

Inherited Methods


Class Details

[line 11]
<p>Title: ZoomScroll class</p>

Description: Internal use. Zoom and scroll support.

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

Company: Steema Software SL




Tags:

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


[ Top ]


Class Variables

$x0 =

[line 93]

Starting horizontal coordinate.



Tags:

access:  public

Type:   mixed


[ Top ]

$x1 =

[line 103]

Ending horizontal coordinate.



Tags:

access:  public

Type:   mixed


[ Top ]

$y0 =

[line 98]

Starting vertical coordinate.



Tags:

access:  public

Type:   mixed


[ Top ]

$y1 =

[line 108]

Ending vertical coordinate.



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor ZoomScroll [line 24]

ZoomScroll ZoomScroll( [value $c = null])

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



Tags:

access:  public


Parameters:

value   $c   IBaseChart

[ Top ]

method activate [line 72]

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 82]

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 52]

void check( )

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



Tags:

access:  public


[ Top ]

method getActive [line 35]

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 45]

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 Wed, 16 Jun 2010 12:09:30 +0200 by phpDocumentor 1.4.1