RichFaces UI Components UI 4.3.0.CR1

org.richfaces.component
Class UIDropDownMenu

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.richfaces.component.AbstractMenuContainer
              extended by org.richfaces.component.AbstractDropDownMenu
                  extended by org.richfaces.component.UIDropDownMenu
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

@Generated(value={"RichFaces CDK","4.3.0.CR1"})
public class UIDropDownMenu
extends AbstractDropDownMenu
implements javax.faces.component.behavior.ClientBehaviorHolder

The <rich:dropDownMenu> component is used for creating a drop-down, hierarchical menu. It can be used with the <rich:toolbar> component to create menus in an application's toolbar.


Nested Class Summary
protected static class UIDropDownMenu.Properties
           
 
Nested classes/interfaces inherited from class org.richfaces.component.AbstractDropDownMenu
AbstractDropDownMenu.Facets
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
UIDropDownMenu()
           
 
Method Summary
 String getDefaultEventName()
           
 String getDir()
           
 org.richfaces.component.Positioning getDirection()
           
 Collection<String> getEventNames()
           
 String getFamily()
           
 int getHideDelay()
          Delay (in ms) between losing focus and menu closing
 int getHorizontalOffset()
           
 org.richfaces.component.Positioning getJointPoint()
           
 String getLabel()
          The text label for the menu item.
 String getLang()
           
 org.richfaces.component.Mode getMode()
           Sets the submission mode for all menu items of the menu except those where this attribute redefined.
 String getOnclick()
           
 String getOndblclick()
           
 String getOngrouphide()
          The client-side script method to be called when a child menuGroup is hidden
 String getOngroupshow()
          The client-side script method to be called when a child menuGroup is expanded
 String getOnhide()
          The client-side script method to be called when this menu component is hidden
 String getOnitemclick()
          The client-side script method to be called when a menu item is clicked
 String getOnkeydown()
           
 String getOnkeypress()
           
 String getOnkeyup()
           
 String getOnmousedown()
           
 String getOnmousemove()
           
 String getOnmouseout()
           
 String getOnmouseover()
           
 String getOnmouseup()
           
 String getOnshow()
          The client-side script method to be called when this menu component is shown
 int getPopupWidth()
          Sets minimum width for all lists that will appear.
 int getShowDelay()
          Delay (in ms) between observing the showEvent and menu opening
 String getShowEvent()
          Defines an event on the parent element to display the menu
 String getStyle()
           
 String getStyleClass()
           
 String getTitle()
           
 int getVerticalOffset()
           
 boolean isDisabled()
          Disables the menu component, so it will not activate/expand
 void setDir(String dir)
           
 void setDirection(org.richfaces.component.Positioning direction)
           
 void setDisabled(boolean disabled)
           
 void setHideDelay(int hideDelay)
           
 void setHorizontalOffset(int horizontalOffset)
           
 void setJointPoint(org.richfaces.component.Positioning jointPoint)
           
 void setLabel(String label)
           
 void setLang(String lang)
           
 void setMode(org.richfaces.component.Mode mode)
           
 void setOnclick(String onclick)
           
 void setOndblclick(String ondblclick)
           
 void setOngrouphide(String ongrouphide)
           
 void setOngroupshow(String ongroupshow)
           
 void setOnhide(String onhide)
           
 void setOnitemclick(String onitemclick)
           
 void setOnkeydown(String onkeydown)
           
 void setOnkeypress(String onkeypress)
           
 void setOnkeyup(String onkeyup)
           
 void setOnmousedown(String onmousedown)
           
 void setOnmousemove(String onmousemove)
           
 void setOnmouseout(String onmouseout)
           
 void setOnmouseover(String onmouseover)
           
 void setOnmouseup(String onmouseup)
           
 void setOnshow(String onshow)
           
 void setPopupWidth(int popupWidth)
           
 void setShowDelay(int showDelay)
           
 void setShowEvent(String showEvent)
           
 void setStyle(String style)
           
 void setStyleClass(String styleClass)
           
 void setTitle(String title)
           
 void setVerticalOffset(int verticalOffset)
           
 
Methods inherited from class org.richfaces.component.AbstractDropDownMenu
getCssRoot
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
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
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

UIDropDownMenu

public UIDropDownMenu()
Method Detail

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getEventNames

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

getDefaultEventName

public String getDefaultEventName()
Specified by:
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getDefaultEventName in class javax.faces.component.UIComponentBase

getDir

public String getDir()

setDir

public void setDir(String dir)

getDirection

public org.richfaces.component.Positioning getDirection()
Specified by:
getDirection in class AbstractMenuContainer

setDirection

public void setDirection(org.richfaces.component.Positioning direction)

isDisabled

public boolean isDisabled()
Description copied from class: AbstractMenuContainer
Disables the menu component, so it will not activate/expand

Specified by:
isDisabled in class AbstractMenuContainer

setDisabled

public void setDisabled(boolean disabled)

getHideDelay

public int getHideDelay()
Description copied from class: AbstractMenuContainer

Delay (in ms) between losing focus and menu closing

Default value is "300"

Specified by:
getHideDelay in class AbstractMenuContainer

setHideDelay

public void setHideDelay(int hideDelay)

getHorizontalOffset

public int getHorizontalOffset()
Specified by:
getHorizontalOffset in class AbstractMenuContainer

setHorizontalOffset

public void setHorizontalOffset(int horizontalOffset)

getJointPoint

public org.richfaces.component.Positioning getJointPoint()
Specified by:
getJointPoint in class AbstractMenuContainer

setJointPoint

public void setJointPoint(org.richfaces.component.Positioning jointPoint)

getLabel

public String getLabel()
Description copied from class: AbstractDropDownMenu
The text label for the menu item. Alternatively, use the label facet to define content for the label

Specified by:
getLabel in class AbstractDropDownMenu

setLabel

public void setLabel(String label)

getLang

public String getLang()

setLang

public void setLang(String lang)

getMode

public org.richfaces.component.Mode getMode()
Description copied from class: AbstractMenuContainer

Sets the submission mode for all menu items of the menu except those where this attribute redefined. Possible value are 'ajax','client' and 'server'

Default value is 'server'

Specified by:
getMode in class AbstractMenuContainer

setMode

public void setMode(org.richfaces.component.Mode mode)

getOnclick

public String getOnclick()

setOnclick

public void setOnclick(String onclick)

getOndblclick

public String getOndblclick()

setOndblclick

public void setOndblclick(String ondblclick)

getOngrouphide

public String getOngrouphide()
Description copied from class: AbstractMenuContainer
The client-side script method to be called when a child menuGroup is hidden

Specified by:
getOngrouphide in class AbstractMenuContainer

setOngrouphide

public void setOngrouphide(String ongrouphide)

getOngroupshow

public String getOngroupshow()
Description copied from class: AbstractMenuContainer
The client-side script method to be called when a child menuGroup is expanded

Specified by:
getOngroupshow in class AbstractMenuContainer

setOngroupshow

public void setOngroupshow(String ongroupshow)

getOnhide

public String getOnhide()
Description copied from class: AbstractMenuContainer
The client-side script method to be called when this menu component is hidden

Specified by:
getOnhide in class AbstractMenuContainer

setOnhide

public void setOnhide(String onhide)

getOnitemclick

public String getOnitemclick()
Description copied from class: AbstractMenuContainer
The client-side script method to be called when a menu item is clicked

Specified by:
getOnitemclick in class AbstractMenuContainer

setOnitemclick

public void setOnitemclick(String onitemclick)

getOnkeydown

public String getOnkeydown()

setOnkeydown

public void setOnkeydown(String onkeydown)

getOnkeypress

public String getOnkeypress()

setOnkeypress

public void setOnkeypress(String onkeypress)

getOnkeyup

public String getOnkeyup()

setOnkeyup

public void setOnkeyup(String onkeyup)

getOnmousedown

public String getOnmousedown()

setOnmousedown

public void setOnmousedown(String onmousedown)

getOnmousemove

public String getOnmousemove()

setOnmousemove

public void setOnmousemove(String onmousemove)

getOnmouseout

public String getOnmouseout()

setOnmouseout

public void setOnmouseout(String onmouseout)

getOnmouseover

public String getOnmouseover()

setOnmouseover

public void setOnmouseover(String onmouseover)

getOnmouseup

public String getOnmouseup()

setOnmouseup

public void setOnmouseup(String onmouseup)

getOnshow

public String getOnshow()
Description copied from class: AbstractMenuContainer
The client-side script method to be called when this menu component is shown

Specified by:
getOnshow in class AbstractMenuContainer

setOnshow

public void setOnshow(String onshow)

getPopupWidth

public int getPopupWidth()
Description copied from class: AbstractMenuContainer
Sets minimum width for all lists that will appear.

Specified by:
getPopupWidth in class AbstractMenuContainer

setPopupWidth

public void setPopupWidth(int popupWidth)

getShowDelay

public int getShowDelay()
Description copied from class: AbstractMenuContainer

Delay (in ms) between observing the showEvent and menu opening

Default value is "50"

Specified by:
getShowDelay in class AbstractMenuContainer

setShowDelay

public void setShowDelay(int showDelay)

getShowEvent

public String getShowEvent()
Description copied from class: AbstractMenuContainer

Defines an event on the parent element to display the menu

Default value is 'oncontextmenu'

Specified by:
getShowEvent in class AbstractMenuContainer

setShowEvent

public void setShowEvent(String showEvent)

getStyle

public String getStyle()

setStyle

public void setStyle(String style)

getStyleClass

public String getStyleClass()

setStyleClass

public void setStyleClass(String styleClass)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getVerticalOffset

public int getVerticalOffset()
Specified by:
getVerticalOffset in class AbstractMenuContainer

setVerticalOffset

public void setVerticalOffset(int verticalOffset)

RichFaces UI Components UI 4.3.0.CR1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.