public final class FacetUtils extends Object
Modifier and Type | Method and Description |
---|---|
static AbstractUIMenu |
getContextMenu(javax.faces.component.UIComponent component)
A type save utility to get the facet
contextMenu from a component. |
static AbstractUIMenu |
getDropDownMenu(javax.faces.component.UIComponent component)
A type save utility to get the facet
dropDownMenu from a component. |
static void |
setContextMenu(javax.faces.component.UIComponent component,
AbstractUIMenu menu) |
static void |
setDropDownMenu(javax.faces.component.UIComponent component,
AbstractUIMenu menu) |
public static AbstractUIMenu getContextMenu(javax.faces.component.UIComponent component)
contextMenu
from a component.public static void setContextMenu(javax.faces.component.UIComponent component, AbstractUIMenu menu)
public static AbstractUIMenu getDropDownMenu(javax.faces.component.UIComponent component)
dropDownMenu
from a component.public static void setDropDownMenu(javax.faces.component.UIComponent component, AbstractUIMenu menu)
Copyright © 2002-2021 The Apache Software Foundation. All Rights Reserved.