phpDocumentor SMap
Objects
[ class tree: SMap ] [ index: SMap ] [ all elements ]

Class: SMap_Object_Area_Default

Source Location: /SMap/Object.php

Class SMap_Object_Area_Default

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From SMap_Object_Area

SMap_Object_Area::$borderColor

Inherited From SMap_Object

SMap_Object::$color
SMap_Object::$label
SMap_Object::$layer
SMap_Object::$map
SMap_Object::$tile
SMap_Object::$view

Inherited From SMap_Object_Area

SMap_Object_Area::setBrdrColor()
Set the border color for this image

Inherited From SMap_Object

SMap_Object::__construct()
Give the object a context
SMap_Object::applyTile()
Apply a tile to this object
SMap_Object::draw()
Draw this object on a canvas
SMap_Object::getInnerBounds()
Get the rough inner rectangular bounds for this object.
SMap_Object::label()
Are we drawing a label for this object?
SMap_Object::map()
Return a map of this object
SMap_Object::setColor()
Set the color for this object
SMap_Object::setLink()
Set this to link to something

[ Top ]
Property Summary
string   $alt   Default label
mixed   $ismapFunc   Image map callback function
string   $url   Default URL

[ Top ]
Method Summary
SMap_Object_Area_Default   __construct()   Construct with the link and alt text
boolean   applyTile()   The default click area is always visible
void   draw()  
void   getInnerBounds()  
void   isMap()  
void   label()  
void   map()   Return a default map

[ Top ]
Properties
string   $alt = '' [line 595]

Default label

API Tags:
Access:  protected


Redefinition of:
SMap_Object::$alt

[ Top ]
mixed   $ismapFunc = false [line 605]

Image map callback function

If this is a server side map, store the arguments to the callback function here.

API Tags:
Access:  protected


[ Top ]
string   $url = '' [line 588]

Default URL

API Tags:
Access:  protected


Redefinition of:
SMap_Object::$url
Does this object link to anything?

[ Top ]
Methods
Constructor __construct  [line 610]

  SMap_Object_Area_Default __construct( SMap_View $view, SMap_Layer $layer, $url, $alt  )

Construct with the link and alt text

Parameters:
SMap_View   $view: 
SMap_Layer   $layer: 
   $url: 
   $alt: 


Redefinition of:
SMap_Object::__construct()
Give the object a context

[ Top ]
applyTile  [line 639]

  boolean applyTile( SMap_Tile $tile  )

The default click area is always visible

Parameters:
object   $tile: 

API Tags:
Access:  public


Redefinition of:
SMap_Object::applyTile()
Apply a tile to this object

[ Top ]
draw  [line 647]

  void draw( SMap_Canvas $canvas  )

Parameters:
SMap_Canvas   $canvas: 

API Tags:
Access:  public


Redefinition of:
SMap_Object::draw()
Draw this object on a canvas

[ Top ]
getInnerBounds  [line 620]

  void getInnerBounds( )


API Tags:
Access:  public


Redefinition of:
SMap_Object::getInnerBounds()
Get the rough inner rectangular bounds for this object.

[ Top ]
isMap  [line 655]

  void isMap( $callback  )

Parameters:
   $callback: 

API Tags:
Access:  public


[ Top ]
label  [line 628]

  void label( SMap_Object_Area_Label $label  )

Parameters:
SMap_Object_Area_Label   $label: 

API Tags:
Access:  public


Redefinition of:
SMap_Object::label()
Are we drawing a label for this object?

[ Top ]
map  [line 662]

  void map( )

Return a default map


API Tags:
Access:  public


Redefinition of:
SMap_Object::map()
Return a map of this object

[ Top ]

Documentation generated on Mon, 09 Apr 2007 18:54:55 -0500 by phpDocumentor 1.3.0