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

Class: PhpExt_Shadow

Source Location: /PhpExt/Shadow.php

Class PhpExt_Shadow

Class Overview

Simple class that can provide a shadow effect for any element. Note that the element MUST be absolutely positioned, and the shadow does not provide any shimming. This should be used only in simple cases -- for more advanced functionality that can also provide the same shadow effect, see the Ext.Layer class.

Located in /PhpExt/Shadow.php [line 26]

PhpExt_Object
   |
   --PhpExt_Shadow

Methods

[ Top ]
Method Summary
PhpExt_Shadow   __construct()  
string   getMode()   The shadow display mode. Supports the following options:
integer   getOffset()   The number of pixels to offset the shadow from the element (defaults to 4)
PhpExt_Shadow   setMode()   The shadow display mode. Supports the following options:
PhpExt_Shadow   setOffset()   The number of pixels to offset the shadow from the element (defaults to 4)

[ Top ]
Methods
Constructor __construct  [line 74]

  PhpExt_Shadow __construct( )


API Tags:
Access:  public


Redefinition of:
PhpExt_Object::__construct()

[ Top ]
getMode  [line 52]

  string getMode( )

The shadow display mode. Supports the following options:

PhpExt_Shadow::MODE_SIDES: Shadow displays on both sides and bottom only PhpExt_Shadow::MODE_FRAME: Shadow displays equally on all four sides PhpExt_Shadow::MODE_DROP: Traditional bottom-right drop shadow (default)


API Tags:
Access:  public


[ Top ]
getOffset  [line 70]

  integer getOffset( )

The number of pixels to offset the shadow from the element (defaults to 4)


API Tags:
Access:  public


[ Top ]
setMode  [line 41]

  PhpExt_Shadow setMode( string $value  )

The shadow display mode. Supports the following options:

PhpExt_Shadow::MODE_SIDES: Shadow displays on both sides and bottom only PhpExt_Shadow::MODE_FRAME: Shadow displays equally on all four sides PhpExt_Shadow::MODE_DROP: Traditional bottom-right drop shadow (default)

Parameters:
string   $value: 

API Tags:
Access:  public


[ Top ]
setOffset  [line 62]

  PhpExt_Shadow setOffset( integer $value  )

The number of pixels to offset the shadow from the element (defaults to 4)

Parameters:
integer   $value: 

API Tags:
Access:  public


[ Top ]
Constants
MODE_DROP = 'drop' [line 30]
API Tags:
Usedby:  PhpExt_Form_ComboBox::getShadow()
Usedby:  PhpExt_Form_ComboBox::setShadow()


[ Top ]
MODE_FRAME = 'frame' [line 29]
API Tags:
Usedby:  PhpExt_Form_ComboBox::getShadow()
Usedby:  PhpExt_Form_ComboBox::setShadow()


[ Top ]
MODE_SIDES = 'sides' [line 28]
API Tags:
Usedby:  PhpExt_Form_ComboBox::getShadow()
Usedby:  PhpExt_Form_ComboBox::setShadow()


[ Top ]

Documentation generated on Fri, 08 Aug 2008 15:59:38 -0500 by phpDocumentor 1.4.0