|
||||||||||
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 org.apache.myfaces.tobago.internal.component.AbstractUIMenu |
getContextMenu(UIComponent component)
A type save utility to get the facet contextMenu from a component. |
static org.apache.myfaces.tobago.internal.component.AbstractUIMenu |
getDropDownMenu(UIComponent component)
A type save utility to get the facet dropDownMenu from a component. |
static void |
setContextMenu(UIComponent component,
org.apache.myfaces.tobago.internal.component.AbstractUIMenu menu)
|
static void |
setDropDownMenu(UIComponent component,
org.apache.myfaces.tobago.internal.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 org.apache.myfaces.tobago.internal.component.AbstractUIMenu getContextMenu(UIComponent component)
contextMenu
from a component.
public static void setContextMenu(UIComponent component, org.apache.myfaces.tobago.internal.component.AbstractUIMenu menu)
public static org.apache.myfaces.tobago.internal.component.AbstractUIMenu getDropDownMenu(UIComponent component)
dropDownMenu
from a component.
It also returns the deprecated facet menupopup
public static void setDropDownMenu(UIComponent component, org.apache.myfaces.tobago.internal.component.AbstractUIMenu menu)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |