@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UIDropDownMenu extends AbstractDropDownMenu implements javax.faces.component.behavior.ClientBehaviorHolder, CoreProps, EventsKeyProps, EventsMouseProps, I18nProps, PositionProps
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UIDropDownMenu.Properties |
AbstractDropDownMenu.Facets| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
UIDropDownMenu() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultEventName() |
String |
getDir()
Direction indication for text that does not inherit directionality.
|
Positioning |
getDirection()
Set the direction of the popup.
|
Collection<String> |
getEventNames() |
String |
getFamily() |
int |
getHideDelay()
Delay (in ms) between losing focus and menu closing
|
int |
getHorizontalOffset()
Sets the horizontal offset between popup element and the conjunction point
|
Positioning |
getJointPoint()
Set the corner attachment point with which the popup should be connected.
|
String |
getLabel()
The text label for the menu item.
|
String |
getLang()
Code describing the language used in the generated markup for this component.
|
Mode |
getMode()
Sets the submission mode for all menu items of the menu except those where this attribute redefined.
|
String |
getOnclick()
Javascript code executed when a pointer button is clicked over this element.
|
String |
getOndblclick()
Javascript code executed when a pointer button is double clicked over this element.
|
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()
Javascript code executed when a key is pressed down over this element.
|
String |
getOnkeypress()
Javascript code executed when a key is pressed and released over this element.
|
String |
getOnkeyup()
Javascript code executed when a key is released over this element.
|
String |
getOnmousedown()
Javascript code executed when a pointer button is pressed down over this element.
|
String |
getOnmousemove()
Javascript code executed when a pointer button is moved within this element.
|
String |
getOnmouseout()
Javascript code executed when a pointer button is moved away from this element.
|
String |
getOnmouseover()
Javascript code executed when a pointer button is moved onto this element.
|
String |
getOnmouseup()
Javascript code executed when a pointer button is released over this element.
|
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()
CSS style(s) to be applied when this component is rendered.
|
String |
getStyleClass()
Space-separated list of CSS style class(es) to be applied when this element is rendered.
|
String |
getTitle()
Advisory title information about markup elements generated for this component.
|
int |
getVerticalOffset()
Sets the vertical offset between popup element and the conjunction point
|
boolean |
isDisabled()
Disables the menu component, so it will not activate/expand
|
void |
setDir(String dir) |
void |
setDirection(Positioning direction) |
void |
setDisabled(boolean disabled) |
void |
setHideDelay(int hideDelay) |
void |
setHorizontalOffset(int horizontalOffset) |
void |
setJointPoint(Positioning jointPoint) |
void |
setLabel(String label) |
void |
setLang(String lang) |
void |
setMode(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) |
getCssRootaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, 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, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class javax.faces.component.UIComponentpublic Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic String getDir()
I18nPropspublic void setDir(String dir)
public Positioning getDirection()
PositionPropsSet the direction of the popup. Possible values are:
AA (auto), LT (topLeft), RT (topRight), LB (bottomLeft), RB (bottomRight, LA (autoLeft),
RA (autoRight), AT (topAuto), AB (bottomAuto)
Default value is auto
getDirection in interface PositionPropspublic void setDirection(Positioning direction)
public boolean isDisabled()
AbstractMenuContainerisDisabled in class AbstractMenuContainerpublic void setDisabled(boolean disabled)
public int getHideDelay()
AbstractMenuContainerDelay (in ms) between losing focus and menu closing
Default value is "300"
getHideDelay in class AbstractMenuContainerpublic void setHideDelay(int hideDelay)
public int getHorizontalOffset()
PositionPropsSets the horizontal offset between popup element and the conjunction point
Default value is 0
getHorizontalOffset in interface PositionPropspublic void setHorizontalOffset(int horizontalOffset)
public Positioning getJointPoint()
PositionPropsSet the corner attachment point with which the popup should be connected. Possible values are:
AA (auto), LT (topLeft), RT (topRight), LB (bottomLeft), RB (bottomRight, LA (autoLeft),
RA (autoRight), AT (topAuto), AB (bottomAuto)
Default value is auto
getJointPoint in interface PositionPropspublic void setJointPoint(Positioning jointPoint)
public String getLabel()
AbstractDropDownMenugetLabel in class AbstractDropDownMenupublic void setLabel(String label)
public String getLang()
I18nPropspublic void setLang(String lang)
public Mode getMode()
AbstractMenuContainerSets 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'
getMode in class AbstractMenuContainerpublic void setMode(Mode mode)
public String getOnclick()
EventsMousePropsgetOnclick in interface EventsMousePropspublic void setOnclick(String onclick)
public String getOndblclick()
EventsMousePropsgetOndblclick in interface EventsMousePropspublic void setOndblclick(String ondblclick)
public String getOngrouphide()
AbstractMenuContainergetOngrouphide in class AbstractMenuContainerpublic void setOngrouphide(String ongrouphide)
public String getOngroupshow()
AbstractMenuContainergetOngroupshow in class AbstractMenuContainerpublic void setOngroupshow(String ongroupshow)
public String getOnhide()
AbstractMenuContainergetOnhide in class AbstractMenuContainerpublic void setOnhide(String onhide)
public String getOnitemclick()
AbstractMenuContainergetOnitemclick in class AbstractMenuContainerpublic void setOnitemclick(String onitemclick)
public String getOnkeydown()
EventsKeyPropsgetOnkeydown in interface EventsKeyPropspublic void setOnkeydown(String onkeydown)
public String getOnkeypress()
EventsKeyPropsgetOnkeypress in interface EventsKeyPropspublic void setOnkeypress(String onkeypress)
public String getOnkeyup()
EventsKeyPropsgetOnkeyup in interface EventsKeyPropspublic void setOnkeyup(String onkeyup)
public String getOnmousedown()
EventsMousePropsgetOnmousedown in interface EventsMousePropspublic void setOnmousedown(String onmousedown)
public String getOnmousemove()
EventsMousePropsgetOnmousemove in interface EventsMousePropspublic void setOnmousemove(String onmousemove)
public String getOnmouseout()
EventsMousePropsgetOnmouseout in interface EventsMousePropspublic void setOnmouseout(String onmouseout)
public String getOnmouseover()
EventsMousePropsgetOnmouseover in interface EventsMousePropspublic void setOnmouseover(String onmouseover)
public String getOnmouseup()
EventsMousePropsgetOnmouseup in interface EventsMousePropspublic void setOnmouseup(String onmouseup)
public String getOnshow()
AbstractMenuContainergetOnshow in class AbstractMenuContainerpublic void setOnshow(String onshow)
public int getPopupWidth()
AbstractMenuContainergetPopupWidth in class AbstractMenuContainerpublic void setPopupWidth(int popupWidth)
public int getShowDelay()
AbstractMenuContainerDelay (in ms) between observing the showEvent and menu opening
Default value is "50"
getShowDelay in class AbstractMenuContainerpublic void setShowDelay(int showDelay)
public String getShowEvent()
AbstractMenuContainerDefines an event on the parent element to display the menu
Default value is 'contextmenu'
getShowEvent in class AbstractMenuContainerpublic void setShowEvent(String showEvent)
public String getStyle()
CorePropspublic void setStyle(String style)
public String getStyleClass()
CorePropsgetStyleClass in interface CorePropspublic void setStyleClass(String styleClass)
public String getTitle()
CorePropspublic void setTitle(String title)
public int getVerticalOffset()
PositionPropsSets the vertical offset between popup element and the conjunction point
Default value is 0
getVerticalOffset in interface PositionPropspublic void setVerticalOffset(int verticalOffset)
Copyright © 2014 JBoss by Red Hat. All rights reserved.