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

Class: Image_Graph_Layout_Matrix

Source Location: /Graph/Layout/Matrix.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Layout
         |
         --Image_Graph_Layout_Matrix

Layout for displaying elements in a matix.


Methods


Inherited Methods

Class: Image_Graph_Element

Image_Graph_Element::height()
The height of the element on the canvas
Image_Graph_Element::setBackground()
Sets the background fill style of the element
Image_Graph_Element::setBackgroundColor()
Sets the background color of the element
Image_Graph_Element::setBorderColor()
Sets the border color of the element
Image_Graph_Element::setBorderStyle()
Sets the border line style of the element
Image_Graph_Element::setFillColor()
Sets the fill color of the element
Image_Graph_Element::setFillStyle()
Sets the fill style of the element
Image_Graph_Element::setFont()
Sets the font of the element
Image_Graph_Element::setLineColor()
Sets the line color of the element
Image_Graph_Element::setLineStyle()
Sets the line style of the element
Image_Graph_Element::setPadding()
Sets padding of the element
Image_Graph_Element::showShadow()
Shows shadow on the element
Image_Graph_Element::width()
The width of the element on the canvas

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Creates an a instance of Image_Graph_Common.
Image_Graph_Common::add()
Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set
Image_Graph_Common::addColor()
Add a color. Ultimately it should call addColor() from the Image_Graph object
Image_Graph_Common::newColor()
Create a new Image_Graph_color.
Image_Graph_Common::setName()
Sets the name

Class Details

[line 42]
Layout for displaying elements in a matix.



[ Top ]


Class Methods


constructor Image_Graph_Layout_Matrix [line 74]

Image_Graph_Layout_Matrix &Image_Graph_Layout_Matrix( int $rows, int $cols, [bool $autoCreate = true])

Image_Graph_Layout_Matrix [Constructor]



Parameters:

int   $rows   The number of rows
int   $cols   The number of cols
bool   $autoCreate   Specifies whether the matrix should automatically be filled with newly created Image_Graph_Plotares objects, or they will be added manually

[ Top ]

method getEntry [line 127]

Image_Graph_Layout &getEntry( int $row, int $col)

Get the area on the specified position in the matrix



Tags:

return:  The element of position ($row, $col) in the matrix


Parameters:

int   $row   The row
int   $col   The column

[ Top ]

method setEntry [line 142]

void setEntry( int $row, int $col, Image_Graph_Layout $element)

Get the area on the specified position in the matrix



Parameters:

int   $row   The row
int   $col   The column
Image_Graph_Layout   $element   The element to set in the position ($row, $col) in the matrix

[ Top ]

method _pushEdges [line 100]

void _pushEdges( int $row, int $col)

Pushes the edges on the specified position in the matrix



Parameters:

int   $row   The row
int   $col   The column

[ Top ]


Documentation generated on Fri, 12 Nov 2004 08:25:35 +0100 by phpDocumentor 1.3.0RC3