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

Class: NavNode

Source Location: /guava/trunk/includes/navnode.inc.php

Class Overview

GuavaObject
   |
   --NavNode

NavNode is the standard class for the side navigation. A NavNode can have as many children nodes as needed.


Variables

Methods


Inherited Methods


Class Details

[line 12]
NavNode is the standard class for the side navigation. A NavNode can have as many children nodes as needed.

This node is also responsible for rendering itself.




[ Top ]


Class Variables

$children =

[line 16]



Tags:

access:  protected

Type:   mixed


[ Top ]

$clickListeners =

[line 18]



Tags:

access:  protected

Type:   mixed


[ Top ]

$collapseListeners =

[line 20]



Tags:

access:  protected

Type:   mixed


[ Top ]

$expandListeners =

[line 19]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 22]

NavNode __construct( mixed $text, [mixed $image = NULL])



Tags:

access:  public


Overrides GuavaObject::__construct() (parent method not documented)

[ Top ]

destructor __destruct [line 30]

void __destruct( )



Tags:

access:  public


[ Top ]

method addClickListener [line 56]

void addClickListener( mixed $name, mixed $object, mixed $method, [mixed $parameterList = null])



Tags:

access:  public


[ Top ]

method addCollapseListener [line 102]

void addCollapseListener( mixed $name, mixed $object, mixed $method, [mixed $parameterList = null])



Tags:

access:  public


[ Top ]

method addExpandListener [line 79]

void addExpandListener( mixed $name, mixed $object, mixed $method, [mixed $parameterList = null])



Tags:

access:  public


[ Top ]

method addNode [line 43]

void addNode( mixed $navNode)



Tags:

access:  public


[ Top ]

method Click [line 193]

void Click( )



Tags:

access:  public


[ Top ]

method Collapse [line 163]

void Collapse( )



Tags:

access:  public


[ Top ]

method Expand [line 134]

void Expand( )



Tags:

access:  public


[ Top ]

method getChildNodes [line 224]

void getChildNodes( )



Tags:

access:  public


[ Top ]

method isExpanded [line 47]

void isExpanded( )



Tags:

access:  public


[ Top ]

method refresh [line 34]

void refresh( )



Tags:

access:  public


[ Top ]

method removeAllClickListeners [line 75]

void removeAllClickListeners( )



Tags:

access:  public


[ Top ]

method removeAllCollapseListeners [line 121]

void removeAllCollapseListeners( )



Tags:

access:  public


[ Top ]

method removeAllExpandListeners [line 98]

void removeAllExpandListeners( )



Tags:

access:  public


[ Top ]

method removeChildren [line 215]

void removeChildren( )



Tags:

access:  public


[ Top ]

method removeClickListener [line 65]

void removeClickListener( mixed $name)



Tags:

access:  public


[ Top ]

method removeCollapseListener [line 111]

void removeCollapseListener( mixed $name)



Tags:

access:  public


[ Top ]

method removeExpandListener [line 88]

void removeExpandListener( mixed $name)



Tags:

access:  public


[ Top ]

method setExpandable [line 211]

void setExpandable( [mixed $value = true])



Tags:

access:  public


[ Top ]

method sideNavRender [line 245]

void sideNavRender( [boolean $spanNeeded = true])

This gets called by the framework to render this nav node in the side navigation document.

This in turn calls all children navnode's sideNavRender. If called by certain ajax events to close/expand, the only parameter will be called with false, to skip rendering the first span tag.




Tags:

access:  public


Parameters:

boolean   $spanNeeded   Called by the framework when it needs to dynamically update the side nav doc.

[ Top ]

method updateImage [line 125]

void updateImage( mixed $image)



Tags:

access:  public


[ Top ]


Documentation generated on Wed, 21 Dec 2005 14:36:01 -0800 by phpDocumentor 1.3.0RC3