public abstract class AbstractContextMenu extends AbstractMenuContainer implements CoreProps, EventsKeyProps, EventsMouseProps, I18nProps, PositionProps
The <rich:contextMenu> component is used for creating a hierarchical context menu that are activated on events like onmouseover, onclick etc. The component can be applied to any element on the page.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
AbstractContextMenu() |
Modifier and Type | Method and Description |
---|---|
Object |
getCssRoot() |
abstract Positioning |
getJointPoint()
Set the corner attachment point with which the popup should be connected.
|
abstract String |
getTarget()
Client identifier of the component or id of the existing DOM element that is a source for a given event.
|
abstract String |
getTargetSelector()
The jQuery selector used to filter which child DOM elements of the target/parent to which the contextMenu will
be attached.
|
abstract boolean |
isAttached()
If the value of the 'attached' attribute is true, the component is attached to the component, specified in the
'target' attribute or to the parent component, if 'target' is not defined.
|
getHideDelay, getMode, getOngrouphide, getOngroupshow, getOnitemclick, getPopupWidth, getShowDelay, getShowEvent
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, 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, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFamily, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStyle, getStyleClass, getTitle
getOnkeydown, getOnkeypress, getOnkeyup
getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
getDirection, getHorizontalOffset, getVerticalOffset
isDisabled
getOnhide, getOnshow
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public abstract boolean isAttached()
public abstract String getTarget()
public abstract String getTargetSelector()
public Object getCssRoot()
getCssRoot
in class AbstractMenuContainer
public abstract Positioning getJointPoint()
PositionProps
Set the corner attachment point with which the popup should be connected. Possible values are:
auto, topLeft, topRight, bottomLeft, bottomRight, autoLeft,
autoRight, topAuto, bottomAuto
Default value is auto
getJointPoint
in interface PositionProps
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.