|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.tobago.util.FacetUtils
public class FacetUtils
Utility class to provide a type save way to get a specific facet from a components.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
It also returns the deprecated facet menupopup
public static void setDropDownMenu(javax.faces.component.UIComponent component, AbstractUIMenu menu)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |