System.Web.UI.WebControls
[ class tree: System.Web.UI.WebControls ] [ index: System.Web.UI.WebControls ] [ all elements ]

Class: LCssDropDownMenuNode

Source Location: /packages/LCssDropDownMenu/LCssDropDownMenuNode.php

Class Overview

TWebControl
   |
   --LCssDropDownMenuNode

TCssDropDownMenuNode class


Methods



Class Details

[line 49]
TCssDropDownMenuNode class

TCssDropDownMenuNode displays a css driven menu item. You can set the link through the through the LinkUrl property. You can set the Text displayed for the item through the Text property. You can set the roles that are allowed to access the item through the Roles property.

Example:

  1. <com:TCssDropDownMenuNode ID="ViewUsers" LinkUrl="?page=ViewUsersPage"
  2. Text="View Users" Roles="root,admin" BorderColor="green" BorderStyle="solid" BorderWidth="1" BackColor="white"/>

Namespace: Lithron.Web.UI.WebControls

Properties

  • LinkUrl, string, kept in viewstate
    Set the link for the item.
  • Text, string, kept in viewstate
    Set the text for the item.
  • Roles, string, kept in viewstate
    The user roles allowed to view the item.




[ Top ]


Class Methods


constructor __construct [line 98]

LCssDropDownMenuNode __construct( )

Constructor.

Sets TagName property to 'li'




[ Top ]

method getDisabledNodeCssClass [line 258]

string getDisabledNodeCssClass( )



Tags:

return:  the node css class
access:  public


[ Top ]

method getLinkId [line 138]

string getLinkId( )



Tags:

return:  the LinkId of the node (service)
access:  public


[ Top ]

method getLinkUrl [line 123]

string getLinkUrl( )



Tags:

return:  the LinkUrl of the node
access:  public


[ Top ]

method getNodeCssClass [line 242]

string getNodeCssClass( )



Tags:

return:  the node css class
access:  public


[ Top ]

method getParentNodeCssClass [line 218]

string getParentNodeCssClass( )



Tags:

return:  the parent css class
access:  public


[ Top ]

method getRoles [line 107]

string getRoles( )



Tags:

return:  the Roles allowd to view this element
access:  public


[ Top ]

method getSelectedPath [line 279]

gets getSelectedPath( )



Tags:

return:  selected status
access:  public


[ Top ]

method getTagName [line 84]

void getTagName( )



Tags:

access:  protected


[ Top ]

method getTarget [line 170]

string getTarget( )



Tags:

return:  the link Target
access:  public


[ Top ]

method getText [line 154]

string getText( )



Tags:

return:  the Text of the node
access:  public


[ Top ]

method getTopParentNodeCssClass [line 202]

string getTopParentNodeCssClass( )



Tags:

return:  the top parent css class
access:  public


[ Top ]

method isTopParent [line 186]

bool isTopParent( )



Tags:

return:  top parent flag
access:  public


[ Top ]

method renderContents [line 290]

void renderContents( mixed $writer)

Renders the menu.

Will go through all TCssDropDownMenuNode children and render them at the correct place.




Tags:

access:  public


[ Top ]

method setDisabledNodeCssClass [line 250]

void setDisabledNodeCssClass( string $value)



Tags:

access:  public


Parameters:

string   $value   the node css class

[ Top ]

method setLinkId [line 146]

void setLinkId( string $value)



Tags:

access:  public


Parameters:

string   $value   the LinkId of the node (service)

[ Top ]

method setLinkUrl [line 131]

void setLinkUrl( string $value)



Tags:

access:  public


Parameters:

string   $value   the LinkUrl of the node

[ Top ]

method setNodeCssClass [line 234]

void setNodeCssClass( string $value)



Tags:

access:  public


Parameters:

string   $value   the node css class

[ Top ]

method setParentNodeCssClass [line 226]

void setParentNodeCssClass( string $value)



Tags:

access:  public


Parameters:

string   $value   the parent css class

[ Top ]

method setRoles [line 115]

void setRoles( string $value)



Tags:

access:  public


Parameters:

string   $value   the Roles allowed to view this element

[ Top ]

method setSelectedPath [line 266]

void setSelectedPath( sets $value)



Tags:

access:  public


Parameters:

sets   $value   selected status

[ Top ]

method setTagName [line 89]

void setTagName( mixed $value)



[ Top ]

method setTarget [line 178]

void setTarget( string $value)



Tags:

access:  public


Parameters:

string   $value   the link target

[ Top ]

method setText [line 162]

void setText( string $value)



Tags:

access:  public


Parameters:

string   $value   the Text of the node

[ Top ]

method setTopParent [line 194]

void setTopParent( bool $value)



Tags:

access:  public


Parameters:

bool   $value   the top parent flag

[ Top ]

method setTopParentNodeCssClass [line 210]

void setTopParentNodeCssClass( mixed $value)

#param string the top parent css class



Tags:

access:  public


[ Top ]


Documentation generated on Tue, 20 Jun 2006 05:15:07 +0200 by phpDocumentor 1.3.0RC4