public class MenuPopup extends MenuBar
The menuPopup component extends the menuBar, to provide a menu that is displayed when the user right-mouse clicks, or context-clicks, on another component, which knows to invoke the menuPopup because has specified to do so via its menuPopup attribute, which references the menuPopup's id.
The menuPopup behaves, as is defined, the same as menuBar, except for some minor differences:
1. menuPopup does not have a visible attribute, because that would interfere with the mechanism for dynamically displaying the popup menu 2. menuPopup does not have an orientation attribute, because it is always shown vertically 3. menuPopup's default style class is iceMnuPop, instead of menuBar's iceMnuBarDEFAULT_ORIENTATION, ID_PREFIX, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL| Constructor and Description |
|---|
MenuPopup()
default no args constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
java.lang.String |
getComponentRootStyle() |
java.lang.String |
getComponentType() |
javax.faces.el.MethodBinding |
getDisplayListener()
Return the value of the
displayListener property. |
java.lang.String |
getFamily()
Return the value of the
COMPONENT_FAMILY of this
component. |
java.lang.String |
getHideOn()
Return the value of the
hideOn property. |
java.lang.String |
getOrientation()
Orientation is fixed to vertical
|
java.lang.String |
getRendererType() |
java.lang.String |
getTopSubMenuStyleClass() |
boolean |
isBlockMenuOnInput() |
void |
queueEvent(javax.faces.event.FacesEvent e) |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(javax.faces.context.FacesContext context) |
void |
setBlockMenuOnInput(boolean blockMenuOnInput) |
void |
setDisplayListener(javax.faces.el.MethodBinding displayListener)
Set the value of the
displayListener property. |
void |
setHideOn(java.lang.String hideOn)
Set the value of the
hideOn property. |
void |
setOrientation(java.lang.String orient)
Orientation is fixed to vertical
|
encodeBegin, getImageDir, getItemImageStyleClass, getItemLabelStyleClass, getItemStyleClass, getJsCall, getNoIcons, getRenderedOnUserRole, getStyle, getStyleClass, getSubMenuIndicatorStyleClass, getSubMenuStyleClass, invokeOnComponent, isDisplayOnClick, isKeyboardNavigationEnabled, isRendered, isScrollableDivMode, processDecodes, setDisplayOnClick, setImageDir, setKeyboardNavigationEnabled, setNoIcons, setRenderedOnUserRole, setScrollableDivMode, setStyle, setStyleClassaddActionListener, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValueaddClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendersChildren, getValueBinding, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic java.lang.String getFamily()
Return the value of the COMPONENT_FAMILY of this
component.
public java.lang.String getComponentType()
getComponentType in class MenuBarpublic java.lang.String getRendererType()
getRendererType in class MenuBarpublic java.lang.String getOrientation()
Orientation is fixed to vertical
getOrientation in class MenuBarpublic void setOrientation(java.lang.String orient)
Orientation is fixed to vertical
setOrientation in class MenuBarorient - public java.lang.String getTopSubMenuStyleClass()
public java.lang.String getComponentRootStyle()
getComponentRootStyle in class MenuBarpublic void queueEvent(javax.faces.event.FacesEvent e)
queueEvent in class MenuBarpublic void setHideOn(java.lang.String hideOn)
Set the value of the hideOn property.
hideOn - public java.lang.String getHideOn()
Return the value of the hideOn property.
public java.lang.Object saveState(javax.faces.context.FacesContext context)
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class MenuBarpublic javax.faces.el.MethodBinding getDisplayListener()
Return the value of the displayListener property.
public void setDisplayListener(javax.faces.el.MethodBinding displayListener)
Set the value of the displayListener property.
public boolean isBlockMenuOnInput()
public void setBlockMenuOnInput(boolean blockMenuOnInput)
Copyright 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.