org.apache.myfaces.custom.navmenu.htmlnavmenu
Class HtmlPanelNavigationMenu

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by javax.faces.component.html.HtmlPanelGroup
                  extended by org.apache.myfaces.component.html.ext.AbstractHtmlPanelGroup
                      extended by org.apache.myfaces.component.html.ext.HtmlPanelGroup
                          extended by org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlPanelNavigationMenu
                              extended by org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, AlignProperty, DataProperties, DisplayValueOnlyAware, EventAware, ForceIdAware, PanelProperties, UniversalProperties, UserRoleAware, DisplayValueOnlyCapable

public class HtmlPanelNavigationMenu
extends AbstractHtmlPanelNavigationMenu


Nested Class Summary
protected static class HtmlPanelNavigationMenu.PropertyKeys
           
 
Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlPanelGroup
BLOCK_LAYOUT, DEFAULT_COLSPAN
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Fields inherited from interface org.apache.myfaces.component.UserRoleAware
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR
 
Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable
DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR
 
Constructor Summary
HtmlPanelNavigationMenu()
           
 
Method Summary
 java.lang.String getActiveItemClass()
          The CSS class of open navigation items.
 java.lang.String getActiveItemStyle()
          The CSS Style of the active navigation item.
 java.lang.String getAlign()
          HTML: Specifies the horizontal alignment of this element.
 java.lang.String getBgcolor()
          HTML: The background color of this element.
 int getBorder()
          HTML: Specifies the width of the border of this element, in pixels.
 java.lang.String getCellpadding()
          HTML: Specifies the amount of empty space between the cell border and its contents.
 java.lang.String getCellspacing()
          HTML: Specifies the amount of space between the cells of the table.
 java.lang.String getDatafld()
          Reserved for future use.
 java.lang.String getDataformatas()
          Reserved for future use.
 java.lang.String getDatasrc()
          Reserved for future use.
 java.lang.String getDir()
          HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
 java.lang.String getDisabledStyle()
          CSS-Style Attribute to render when disabled is true
 java.lang.String getDisabledStyleClass()
          CSS-Style Class to use when disabled is true
 java.util.Collection<java.lang.String> getEventNames()
           
 java.lang.String getFamily()
           
 java.lang.String getFrame()
          HTML: Controls what part of the frame that surrounds a table is visible.
 java.lang.String getItemClass()
          The CSS class of closed navigation items.
 java.lang.String getItemStyle()
          The CSS Style of closed navigation items.
 java.lang.String getLang()
          HTML: The base language of this document.
 java.lang.String getLayout()
          'table' or 'list' Layout (default is 'table')
 java.lang.String getOnclick()
          HTML: Script to be invoked when the element is clicked.
 java.lang.String getOndblclick()
          HTML: Script to be invoked when the element is double-clicked.
 java.lang.String getOnkeydown()
          HTML: Script to be invoked when a key is pressed down over this element.
 java.lang.String getOnkeypress()
          HTML: Script to be invoked when a key is pressed over this element.
 java.lang.String getOnkeyup()
          HTML: Script to be invoked when a key is released over this element.
 java.lang.String getOnmousedown()
          HTML: Script to be invoked when the pointing device is pressed over this element.
 java.lang.String getOnmousemove()
          HTML: Script to be invoked when the pointing device is moved while it is in this element.
 java.lang.String getOnmouseout()
          HTML: Script to be invoked when the pointing device is moves out of this element.
 java.lang.String getOnmouseover()
          HTML: Script to be invoked when the pointing device is moved into this element.
 java.lang.String getOnmouseup()
          HTML: Script to be invoked when the pointing device is released over this element.
 java.lang.String getOpenItemClass()
          The CSS class of open navigation items.
 java.lang.String getOpenItemStyle()
          The CSS Style of open navigation items.
 java.lang.Boolean getPreprocessed()
           
 java.lang.String getRules()
          HTML: Controls how rules are rendered between cells.
 java.lang.String getSeparatorClass()
          The CSS class for the td element of a separator.
 java.lang.String getSeparatorStyle()
          The CSS Style for the td element of a separator.
 java.lang.String getSummary()
          HTML: Provides a summary of the contents of the table, for accessibility purposes.
 java.lang.String getTitle()
          HTML: An advisory title for this element.
 java.lang.String getWidth()
          HTML: Specifies the desired width of the table, as a pixel length or a percentage of available space.
 boolean isDisabled()
          When set instead of a Hyperlink a span tag is rendered in the corresponding Component
 boolean isExpandAll()
          If set to true all Items are expanded from the beginning and never closed.
 boolean isRenderAll()
          If set to true all Items are rendered and other methods, like CSS should be used to hide them as necessary
 void setActiveItemClass(java.lang.String activeItemClass)
           
 void setActiveItemStyle(java.lang.String activeItemStyle)
           
 void setAlign(java.lang.String align)
           
 void setBgcolor(java.lang.String bgcolor)
           
 void setBorder(int border)
           
 void setCellpadding(java.lang.String cellpadding)
           
 void setCellspacing(java.lang.String cellspacing)
           
 void setDatafld(java.lang.String datafld)
           
 void setDataformatas(java.lang.String dataformatas)
           
 void setDatasrc(java.lang.String datasrc)
           
 void setDir(java.lang.String dir)
           
 void setDisabled(boolean disabled)
           
 void setDisabledStyle(java.lang.String disabledStyle)
           
 void setDisabledStyleClass(java.lang.String disabledStyleClass)
           
 void setExpandAll(boolean expandAll)
           
 void setFrame(java.lang.String frame)
           
 void setItemClass(java.lang.String itemClass)
           
 void setItemStyle(java.lang.String itemStyle)
           
 void setLang(java.lang.String lang)
           
 void setLayout(java.lang.String layout)
           
 void setOnclick(java.lang.String onclick)
           
 void setOndblclick(java.lang.String ondblclick)
           
 void setOnkeydown(java.lang.String onkeydown)
           
 void setOnkeypress(java.lang.String onkeypress)
           
 void setOnkeyup(java.lang.String onkeyup)
           
 void setOnmousedown(java.lang.String onmousedown)
           
 void setOnmousemove(java.lang.String onmousemove)
           
 void setOnmouseout(java.lang.String onmouseout)
           
 void setOnmouseover(java.lang.String onmouseover)
           
 void setOnmouseup(java.lang.String onmouseup)
           
 void setOpenItemClass(java.lang.String openItemClass)
           
 void setOpenItemStyle(java.lang.String openItemStyle)
           
 void setPreprocessed(java.lang.Boolean preprocessed)
           
 void setRenderAll(boolean renderAll)
           
 void setRules(java.lang.String rules)
           
 void setSeparatorClass(java.lang.String separatorClass)
           
 void setSeparatorStyle(java.lang.String separatorStyle)
           
 void setSummary(java.lang.String summary)
           
 void setTitle(java.lang.String title)
           
 void setWidth(java.lang.String width)
           
 
Methods inherited from class org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlPanelNavigationMenu
decode, encodeBegin, restoreOpenActiveStates
 
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlPanelGroup
getColspan, getDisplayValueOnly, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getVisibleOnUserRole, isForceId, isForceIdIndex, setColspan, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setForceId, setForceIdIndex, setVisibleOnUserRole
 
Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlPanelGroup
getClientId, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, setDisplayValueOnly
 
Methods inherited from class javax.faces.component.html.HtmlPanelGroup
getStyle, getStyleClass, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName
 

Field Detail

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

public static final java.lang.String DEFAULT_RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

HtmlPanelNavigationMenu

public HtmlPanelNavigationMenu()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class HtmlPanelGroup

getEventNames

public java.util.Collection<java.lang.String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class HtmlPanelGroup

getItemClass

public java.lang.String getItemClass()
Description copied from class: AbstractHtmlPanelNavigationMenu
The CSS class of closed navigation items.

Specified by:
getItemClass in class AbstractHtmlPanelNavigationMenu

setItemClass

public void setItemClass(java.lang.String itemClass)

getOpenItemClass

public java.lang.String getOpenItemClass()
Description copied from class: AbstractHtmlPanelNavigationMenu
The CSS class of open navigation items.

Specified by:
getOpenItemClass in class AbstractHtmlPanelNavigationMenu

setOpenItemClass

public void setOpenItemClass(java.lang.String openItemClass)

getActiveItemClass

public java.lang.String getActiveItemClass()
Description copied from class: AbstractHtmlPanelNavigationMenu
The CSS class of open navigation items.

Specified by:
getActiveItemClass in class AbstractHtmlPanelNavigationMenu

setActiveItemClass

public void setActiveItemClass(java.lang.String activeItemClass)

getSeparatorClass

public java.lang.String getSeparatorClass()
Description copied from class: AbstractHtmlPanelNavigationMenu
The CSS class for the td element of a separator.

Specified by:
getSeparatorClass in class AbstractHtmlPanelNavigationMenu

setSeparatorClass

public void setSeparatorClass(java.lang.String separatorClass)

getItemStyle

public java.lang.String getItemStyle()
Description copied from class: AbstractHtmlPanelNavigationMenu
The CSS Style of closed navigation items.

Specified by:
getItemStyle in class AbstractHtmlPanelNavigationMenu

setItemStyle

public void setItemStyle(java.lang.String itemStyle)

getOpenItemStyle

public java.lang.String getOpenItemStyle()
Description copied from class: AbstractHtmlPanelNavigationMenu
The CSS Style of open navigation items.

Specified by:
getOpenItemStyle in class AbstractHtmlPanelNavigationMenu

setOpenItemStyle

public void setOpenItemStyle(java.lang.String openItemStyle)

getActiveItemStyle

public java.lang.String getActiveItemStyle()
Description copied from class: AbstractHtmlPanelNavigationMenu
The CSS Style of the active navigation item.

Specified by:
getActiveItemStyle in class AbstractHtmlPanelNavigationMenu

setActiveItemStyle

public void setActiveItemStyle(java.lang.String activeItemStyle)

getSeparatorStyle

public java.lang.String getSeparatorStyle()
Description copied from class: AbstractHtmlPanelNavigationMenu
The CSS Style for the td element of a separator.

Specified by:
getSeparatorStyle in class AbstractHtmlPanelNavigationMenu

setSeparatorStyle

public void setSeparatorStyle(java.lang.String separatorStyle)

getLayout

public java.lang.String getLayout()
Description copied from class: AbstractHtmlPanelNavigationMenu
'table' or 'list' Layout (default is 'table')

Specified by:
getLayout in class AbstractHtmlPanelNavigationMenu

setLayout

public void setLayout(java.lang.String layout)
Overrides:
setLayout in class HtmlPanelGroup

getPreprocessed

public java.lang.Boolean getPreprocessed()
Specified by:
getPreprocessed in class AbstractHtmlPanelNavigationMenu

setPreprocessed

public void setPreprocessed(java.lang.Boolean preprocessed)

isExpandAll

public boolean isExpandAll()
Description copied from class: AbstractHtmlPanelNavigationMenu
If set to true all Items are expanded from the beginning and never closed.

Specified by:
isExpandAll in class AbstractHtmlPanelNavigationMenu

setExpandAll

public void setExpandAll(boolean expandAll)

isRenderAll

public boolean isRenderAll()
Description copied from class: AbstractHtmlPanelNavigationMenu
If set to true all Items are rendered and other methods, like CSS should be used to hide them as necessary

Specified by:
isRenderAll in class AbstractHtmlPanelNavigationMenu

setRenderAll

public void setRenderAll(boolean renderAll)

isDisabled

public boolean isDisabled()
Description copied from class: AbstractHtmlPanelNavigationMenu
When set instead of a Hyperlink a span tag is rendered in the corresponding Component

Specified by:
isDisabled in class AbstractHtmlPanelNavigationMenu

setDisabled

public void setDisabled(boolean disabled)

getDisabledStyle

public java.lang.String getDisabledStyle()
Description copied from class: AbstractHtmlPanelNavigationMenu
CSS-Style Attribute to render when disabled is true

Specified by:
getDisabledStyle in class AbstractHtmlPanelNavigationMenu

setDisabledStyle

public void setDisabledStyle(java.lang.String disabledStyle)

getDisabledStyleClass

public java.lang.String getDisabledStyleClass()
Description copied from class: AbstractHtmlPanelNavigationMenu
CSS-Style Class to use when disabled is true

Specified by:
getDisabledStyleClass in class AbstractHtmlPanelNavigationMenu

setDisabledStyleClass

public void setDisabledStyleClass(java.lang.String disabledStyleClass)

getOnclick

public java.lang.String getOnclick()
Description copied from interface: EventAware
HTML: Script to be invoked when the element is clicked.

Specified by:
getOnclick in interface EventAware
Overrides:
getOnclick in class HtmlPanelGroup

setOnclick

public void setOnclick(java.lang.String onclick)
Overrides:
setOnclick in class HtmlPanelGroup

getOndblclick

public java.lang.String getOndblclick()
Description copied from interface: EventAware
HTML: Script to be invoked when the element is double-clicked.

Specified by:
getOndblclick in interface EventAware
Overrides:
getOndblclick in class HtmlPanelGroup

setOndblclick

public void setOndblclick(java.lang.String ondblclick)
Overrides:
setOndblclick in class HtmlPanelGroup

getOnkeydown

public java.lang.String getOnkeydown()
Description copied from interface: EventAware
HTML: Script to be invoked when a key is pressed down over this element.

Specified by:
getOnkeydown in interface EventAware
Overrides:
getOnkeydown in class HtmlPanelGroup

setOnkeydown

public void setOnkeydown(java.lang.String onkeydown)
Overrides:
setOnkeydown in class HtmlPanelGroup

getOnkeypress

public java.lang.String getOnkeypress()
Description copied from interface: EventAware
HTML: Script to be invoked when a key is pressed over this element.

Specified by:
getOnkeypress in interface EventAware
Overrides:
getOnkeypress in class HtmlPanelGroup

setOnkeypress

public void setOnkeypress(java.lang.String onkeypress)
Overrides:
setOnkeypress in class HtmlPanelGroup

getOnkeyup

public java.lang.String getOnkeyup()
Description copied from interface: EventAware
HTML: Script to be invoked when a key is released over this element.

Specified by:
getOnkeyup in interface EventAware
Overrides:
getOnkeyup in class HtmlPanelGroup

setOnkeyup

public void setOnkeyup(java.lang.String onkeyup)
Overrides:
setOnkeyup in class HtmlPanelGroup

getOnmousedown

public java.lang.String getOnmousedown()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is pressed over this element.

Specified by:
getOnmousedown in interface EventAware
Overrides:
getOnmousedown in class HtmlPanelGroup

setOnmousedown

public void setOnmousedown(java.lang.String onmousedown)
Overrides:
setOnmousedown in class HtmlPanelGroup

getOnmousemove

public java.lang.String getOnmousemove()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is moved while it is in this element.

Specified by:
getOnmousemove in interface EventAware
Overrides:
getOnmousemove in class HtmlPanelGroup

setOnmousemove

public void setOnmousemove(java.lang.String onmousemove)
Overrides:
setOnmousemove in class HtmlPanelGroup

getOnmouseout

public java.lang.String getOnmouseout()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is moves out of this element.

Specified by:
getOnmouseout in interface EventAware
Overrides:
getOnmouseout in class HtmlPanelGroup

setOnmouseout

public void setOnmouseout(java.lang.String onmouseout)
Overrides:
setOnmouseout in class HtmlPanelGroup

getOnmouseover

public java.lang.String getOnmouseover()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is moved into this element.

Specified by:
getOnmouseover in interface EventAware
Overrides:
getOnmouseover in class HtmlPanelGroup

setOnmouseover

public void setOnmouseover(java.lang.String onmouseover)
Overrides:
setOnmouseover in class HtmlPanelGroup

getOnmouseup

public java.lang.String getOnmouseup()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is released over this element.

Specified by:
getOnmouseup in interface EventAware
Overrides:
getOnmouseup in class HtmlPanelGroup

setOnmouseup

public void setOnmouseup(java.lang.String onmouseup)
Overrides:
setOnmouseup in class HtmlPanelGroup

getDir

public java.lang.String getDir()
Description copied from interface: UniversalProperties
HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).

Specified by:
getDir in interface UniversalProperties
Overrides:
getDir in class HtmlPanelGroup

setDir

public void setDir(java.lang.String dir)
Overrides:
setDir in class HtmlPanelGroup

getLang

public java.lang.String getLang()
Description copied from interface: UniversalProperties
HTML: The base language of this document.

Specified by:
getLang in interface UniversalProperties
Overrides:
getLang in class HtmlPanelGroup

setLang

public void setLang(java.lang.String lang)
Overrides:
setLang in class HtmlPanelGroup

getTitle

public java.lang.String getTitle()
Description copied from interface: UniversalProperties
HTML: An advisory title for this element. Often used by the user agent as a tooltip.

Specified by:
getTitle in interface UniversalProperties
Overrides:
getTitle in class HtmlPanelGroup

setTitle

public void setTitle(java.lang.String title)
Overrides:
setTitle in class HtmlPanelGroup

getDatafld

public java.lang.String getDatafld()
Description copied from interface: DataProperties
Reserved for future use.


setDatafld

public void setDatafld(java.lang.String datafld)

getDatasrc

public java.lang.String getDatasrc()
Description copied from interface: DataProperties
Reserved for future use.


setDatasrc

public void setDatasrc(java.lang.String datasrc)

getDataformatas

public java.lang.String getDataformatas()
Description copied from interface: DataProperties
Reserved for future use.


setDataformatas

public void setDataformatas(java.lang.String dataformatas)

getBgcolor

public java.lang.String getBgcolor()
Description copied from interface: PanelProperties
HTML: The background color of this element.


setBgcolor

public void setBgcolor(java.lang.String bgcolor)

getBorder

public int getBorder()
Description copied from interface: PanelProperties
HTML: Specifies the width of the border of this element, in pixels. Deprecated in HTML 4.01.


setBorder

public void setBorder(int border)

getCellpadding

public java.lang.String getCellpadding()
Description copied from interface: PanelProperties
HTML: Specifies the amount of empty space between the cell border and its contents. It can be either a pixel length or a percentage.


setCellpadding

public void setCellpadding(java.lang.String cellpadding)

getCellspacing

public java.lang.String getCellspacing()
Description copied from interface: PanelProperties
HTML: Specifies the amount of space between the cells of the table. It can be either a pixel length or a percentage of available space.


setCellspacing

public void setCellspacing(java.lang.String cellspacing)

getFrame

public java.lang.String getFrame()
Description copied from interface: PanelProperties
HTML: Controls what part of the frame that surrounds a table is visible. Values include: void, above, below, hsides, lhs, rhs, vsides, box, and border.


setFrame

public void setFrame(java.lang.String frame)

getRules

public java.lang.String getRules()
Description copied from interface: PanelProperties
HTML: Controls how rules are rendered between cells. Values include: none, groups, rows, cols, and all.


setRules

public void setRules(java.lang.String rules)

getSummary

public java.lang.String getSummary()
Description copied from interface: PanelProperties
HTML: Provides a summary of the contents of the table, for accessibility purposes.


setSummary

public void setSummary(java.lang.String summary)

getWidth

public java.lang.String getWidth()
Description copied from interface: PanelProperties
HTML: Specifies the desired width of the table, as a pixel length or a percentage of available space.


setWidth

public void setWidth(java.lang.String width)

getAlign

public java.lang.String getAlign()
Description copied from interface: AlignProperty
HTML: Specifies the horizontal alignment of this element. Deprecated in HTML 4.01.


setAlign

public void setAlign(java.lang.String align)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.