org.apache.myfaces.custom.navigation

Class HtmlCommandNavigation

public class HtmlCommandNavigation extends HtmlCommandLink

Command, that represents a navigation item.

Version: $Revision: 167507 $ $Date: 2005-01-09 22:56:33 +0100 (Sun, 09 Jan 2005) $

Author: Manfred Geiler (latest modification by $Author: tomsp $)

Field Summary
static StringCOMPONENT_FAMILY
static StringCOMPONENT_TYPE
Constructor Summary
HtmlCommandNavigation()
Method Summary
voidbroadcast(FacesEvent event)
StringgetFamily()
booleanisActive()
booleanisImmediate()
booleanisOpen()
booleanisRendered()
voidrestoreState(FacesContext context, Object state)
ObjectsaveState(FacesContext context)
voidsetActive(boolean active)
voidsetImmediate(boolean immediate)
voidsetOpen(boolean open)
voidtoggleOpen()

Field Detail

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY

COMPONENT_TYPE

public static final String COMPONENT_TYPE

Constructor Detail

HtmlCommandNavigation

public HtmlCommandNavigation()

Method Detail

broadcast

public void broadcast(FacesEvent event)

getFamily

public String getFamily()

isActive

public boolean isActive()

isImmediate

public boolean isImmediate()

isOpen

public boolean isOpen()

isRendered

public boolean isRendered()

Returns: false, if this item is child of another HtmlCommandNavigation, which is closed

restoreState

public void restoreState(FacesContext context, Object state)

saveState

public Object saveState(FacesContext context)

setActive

public void setActive(boolean active)

setImmediate

public void setImmediate(boolean immediate)

setOpen

public void setOpen(boolean open)

toggleOpen

public void toggleOpen()