linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awGrid

Source Location: /class/system/artichow/php4/inc/Grid.class.php

Class Overview


Grid


Variables

Methods



Class Details

[line 18]
Grid



[ Top ]


Class Variables

$background =

[line 88]

Grid background color


Type:   Color


[ Top ]

$color =

[line 60]

Grid color


Type:   Color


[ Top ]

$hide =  FALSE

[line 39]

Is the component grid hidden ?


Type:   bool


[ Top ]

$hideHorizontal =  FALSE

[line 46]

Are horizontal lines hidden ?


Type:   bool


[ Top ]

$hideVertical =  FALSE

[line 53]

Are vertical lines hidden ?


Type:   bool


[ Top ]

$interval = array(1, 1)

[line 81]

Grid interval


Type:   int


[ Top ]

$space =

[line 67]

Grid space


Type:   int


[ Top ]

$type =  LINE_SOLID

[line 74]

Line type


Type:   int


[ Top ]

$xgrid = array()

[line 25]

Vertical lines of the grid


Type:   array


[ Top ]

$ygrid = array()

[line 32]

Horizontal lines of the grid


Type:   array


[ Top ]



Class Methods


constructor awGrid [line 93]

awGrid awGrid( )

Build the factory



[ Top ]

method draw [line 210]

void draw( $driver $driver, int $x1, int $y1, int $x2, int $y2)

Draw grids



Parameters:

int   $x1  
int   $y1  
int   $x2  
int   $y2  
$driver   $driver   A driver object

[ Top ]

method drawGrid [line 240]

void drawGrid( $driver, $color, $nx, $ny, $x1, $y1, $x2, $y2, $type, $space, $hInterval, $vInterval)



Parameters:

   $driver  
   $color  
   $nx  
   $ny  
   $x1  
   $y1  
   $x2  
   $y2  
   $type  
   $space  
   $hInterval  
   $vInterval  

[ Top ]

method hide [line 106]

void hide( [bool $hide = TRUE])

Hide grid ?



Parameters:

bool   $hide  

[ Top ]

method hideHorizontal [line 115]

void hideHorizontal( [ $hide = TRUE], bool $hideHorizontal)

Hide horizontal lines ?



Parameters:

bool   $hideHorizontal  
   $hide  

[ Top ]

method hideVertical [line 124]

void hideVertical( [ $hide = TRUE], bool $hideVertical)

Hide vertical lines ?



Parameters:

bool   $hideVertical  
   $hide  

[ Top ]

method setBackgroundColor [line 149]

void setBackgroundColor( $color $color)

Change grid background color



Parameters:

$color   $color  

[ Top ]

method setColor [line 133]

void setColor( $color $color)

Change grid color



Parameters:

$color   $color  

[ Top ]

method setGrid [line 190]

void setGrid( array $xgrid, array $ygrid)

Change the current grid



Parameters:

array   $xgrid   Vertical lines
array   $ygrid   Horizontal lines

[ Top ]

method setInterval [line 168]

void setInterval( int $hInterval, int $vInterval)

Change grid interval



Parameters:

int   $hInterval  
int   $vInterval  

[ Top ]

method setNoBackground [line 140]

void setNoBackground( )

Remove grid background



[ Top ]

method setSpace [line 180]

void setSpace( int $left, int $right, int $top, int $bottom)

Set grid space



Parameters:

int   $left   Left space in pixels
int   $right   Right space in pixels
int   $top   Top space in pixels
int   $bottom   Bottom space in pixels

[ Top ]

method setType [line 158]

void setType( int $type)

Change line type



Parameters:

int   $type  

[ Top ]


Documentation generated on Sat, 08 Nov 2008 14:52:28 +0100 by phpDocumentor 1.4.1