|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.tobago.component.ComponentUtil
ComponentUtils
@Deprecated public class ComponentUtil
| Field Summary | |
|---|---|
static Class[] |
ACTION_ARGS
Deprecated. |
static Class[] |
ACTION_LISTENER_ARGS
Deprecated. |
static Class[] |
VALIDATOR_ARGS
Deprecated. |
static Class[] |
VALUE_CHANGE_LISTENER_ARGS
Deprecated. |
| Method Summary | ||
|---|---|---|
static void |
addOnloadCommands(UIComponent component,
String[] cmds)
Deprecated. |
|
static void |
addScripts(UIComponent component,
String[] scripts)
Deprecated. |
|
static void |
addStyles(UIComponent component,
String[] styles)
Deprecated. |
|
static boolean |
containsPopupActionListener(UICommand command)
Deprecated. |
|
static ActionListener |
createActionListener(String type)
Deprecated. |
|
static UIColumn |
createColumn(String label,
String sortable,
String align,
UIComponent child)
Deprecated. |
|
static UIColumn |
createColumn(String label,
String sortable,
String align,
UIComponent child,
String id)
Deprecated. |
|
static UIComponent |
createComponent(FacesContext facesContext,
String componentType,
String rendererType)
Deprecated. |
|
static UIComponent |
createComponent(FacesContext facesContext,
String componentType,
String rendererType,
String id)
Deprecated. |
|
static UIComponent |
createComponent(String componentType,
String rendererType,
String id)
Deprecated. |
|
static String |
createPickerId(FacesContext facesContext,
UIComponent component,
String postfix)
Deprecated. |
|
static UIColumn |
createTextColumn(String label,
String sortable,
String align,
String value,
String id)
Deprecated. |
|
static UIMenuSelectOne |
createUIMenuSelectOneFacet(FacesContext facesContext,
UICommand command,
String id)
Deprecated. |
|
static UIComponent |
createUISelectBooleanFacet(FacesContext facesContext,
UICommand command,
String id)
Deprecated. |
|
static ValueBinding |
createValueBinding(String value)
Deprecated. |
|
static String |
currentValue(UIComponent component)
Deprecated. |
|
static String |
findClientIdFor(UIComponent component,
FacesContext facesContext)
Deprecated. |
|
static UIComponent |
findComponent(UIComponent from,
String relativeId)
Deprecated. |
|
static
|
findDescendant(UIComponent component,
Class<T> type)
Deprecated. |
|
static UIComponent |
findFor(UIComponent component)
Deprecated. |
|
static UIForm |
findForm(UIComponent component)
Deprecated. |
|
static UIPage |
findPage(FacesContext facesContext)
Deprecated. |
|
static UIPage |
findPage(FacesContext context,
UIComponent component)
Deprecated. |
|
static UIPage |
findPage(UIComponent component)
Deprecated. |
|
static Object |
findParameter(UIComponent component,
String name)
Deprecated. |
|
static List<UIForm> |
findSubForms(UIComponent component)
Deprecated. |
|
static Object |
getAttribute(UIComponent component,
String name)
Deprecated. |
|
static boolean |
getBooleanAttribute(UIComponent component,
String name)
Deprecated. |
|
static Character |
getCharacterAttribute(UIComponent component,
String name)
Deprecated. |
|
static String |
getComponentId(FacesContext facesContext,
UIComponent component)
Deprecated. |
|
static String |
getFacesMessageAsString(FacesContext facesContext,
UIComponent component)
Deprecated. |
|
static UIGraphic |
getFirstGraphicChild(UIComponent component)
Deprecated. |
|
static UIOutput |
getFirstNonGraphicChild(UIComponent component)
Deprecated. |
|
static int |
getIntAttribute(UIComponent component,
String name)
Deprecated. |
|
static int |
getIntAttribute(UIComponent component,
String name,
int defaultValue)
Deprecated. |
|
static int |
getIntValue(ValueBinding valueBinding)
Deprecated. |
|
static List<SelectItem> |
getItemsToRender(UISelectMany component)
Deprecated. |
|
static List<SelectItem> |
getItemsToRender(UISelectOne component)
Deprecated. |
|
static String[] |
getMarkupBinding(FacesContext facesContext,
SupportsMarkup component)
Deprecated. |
|
static LayoutComponentRendererBase |
getRenderer(FacesContext facesContext,
String family,
String rendererType)
Deprecated. |
|
static LayoutComponentRendererBase |
getRenderer(FacesContext facesContext,
UIComponent component)
Deprecated. |
|
static List<SelectItem> |
getSelectItems(UIComponent component)
Deprecated. |
|
static String |
getStringAttribute(UIComponent component,
String name)
Deprecated. |
|
static String |
getValueFromEl(String script)
Deprecated. |
|
static boolean |
hasErrorMessages(FacesContext context)
Deprecated. |
|
static boolean |
hasSelectedValue(List<SelectItem> items,
Object value)
Deprecated. |
|
static boolean |
isError(UIComponent component)
Deprecated. |
|
static boolean |
isError(UIInput uiInput)
Deprecated. |
|
static boolean |
isFacetOf(UIComponent component,
UIComponent parent)
Deprecated. |
|
static boolean |
isHoverEnabled(UIComponent component)
Deprecated. |
|
static boolean |
isInActiveForm(UIComponent component)
Deprecated. |
|
static boolean |
isInPopup(UIComponent component)
Deprecated. |
|
static boolean |
isOutputOnly(UIComponent component)
Deprecated. |
|
static boolean |
mayUpdateModel(UIComponent component)
Deprecated. |
|
static boolean |
mayValidate(UIComponent component)
Deprecated. |
|
static UIComponent |
provideLabel(FacesContext facesContext,
UIComponent component)
Deprecated. |
|
static String |
removePx(String value)
Deprecated. |
|
static void |
resetPage(FacesContext context)
Deprecated. |
|
static void |
setAction(UICommand component,
String type,
String action)
Deprecated. |
|
static void |
setActionListener(ActionSource command,
String actionListener)
Deprecated. |
|
static void |
setBooleanProperty(UIComponent component,
String name,
String value)
Deprecated. |
|
static void |
setConverter(ValueHolder valueHolder,
String converterId)
Deprecated. |
|
static void |
setIntegerProperty(UIComponent component,
String name,
String value)
Deprecated. |
|
static void |
setIntegerSizeProperty(UIComponent component,
String name,
String value)
Deprecated. |
|
static void |
setMarkup(UIComponent markupComponent,
String markup)
Deprecated. |
|
static void |
setRenderedPartially(UICommand command,
String renderers)
Deprecated. |
|
static void |
setSortActionListener(UIData data,
String actionListener)
Deprecated. |
|
static void |
setStateChangeListener(UISheet data,
String stateChangeListener)
Deprecated. |
|
static void |
setStringProperty(UIComponent component,
String name,
String value)
Deprecated. |
|
static void |
setStyleClasses(UIComponent component,
String styleClasses)
Deprecated. |
|
static void |
setSuggestMethodBinding(UIInput component,
String suggestMethod)
Deprecated. |
|
static void |
setValidator(EditableValueHolder editableValueHolder,
String validator)
Deprecated. |
|
static void |
setValueBinding(UIComponent component,
String name,
String state)
Deprecated. |
|
static void |
setValueChangeListener(EditableValueHolder valueHolder,
String valueChangeListener)
Deprecated. |
|
static void |
setValueForValueBinding(String name,
Object value)
Deprecated. |
|
static String |
toString(UIComponent component,
int offset)
Deprecated. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Class[] ACTION_ARGS
public static final Class[] ACTION_LISTENER_ARGS
public static final Class[] VALUE_CHANGE_LISTENER_ARGS
public static final Class[] VALIDATOR_ARGS
| Method Detail |
|---|
public static boolean hasErrorMessages(FacesContext context)
public static boolean containsPopupActionListener(UICommand command)
public static String getFacesMessageAsString(FacesContext facesContext,
UIComponent component)
public static boolean isInPopup(UIComponent component)
public static void resetPage(FacesContext context)
public static UIPage findPage(FacesContext context,
UIComponent component)
public static UIPage findPage(UIComponent component)
public static void addStyles(UIComponent component,
String[] styles)
public static void addScripts(UIComponent component,
String[] scripts)
public static void addOnloadCommands(UIComponent component,
String[] cmds)
public static UIPage findPage(FacesContext facesContext)
public static UIForm findForm(UIComponent component)
public static List<UIForm> findSubForms(UIComponent component)
public static <T extends UIComponent> T findDescendant(UIComponent component,
Class<T> type)
public static String findClientIdFor(UIComponent component,
FacesContext facesContext)
public static UIComponent findFor(UIComponent component)
public static boolean isInActiveForm(UIComponent component)
public static boolean isError(UIInput uiInput)
public static boolean isError(UIComponent component)
public static boolean isOutputOnly(UIComponent component)
public static boolean mayValidate(UIComponent component)
public static boolean mayUpdateModel(UIComponent component)
public static boolean getBooleanAttribute(UIComponent component,
String name)
public static void setRenderedPartially(UICommand command,
String renderers)
public static void setStyleClasses(UIComponent component,
String styleClasses)
public static void setMarkup(UIComponent markupComponent,
String markup)
public static Object getAttribute(UIComponent component,
String name)
public static String getStringAttribute(UIComponent component,
String name)
public static int getIntAttribute(UIComponent component,
String name)
public static int getIntAttribute(UIComponent component,
String name,
int defaultValue)
public static Character getCharacterAttribute(UIComponent component,
String name)
public static boolean isFacetOf(UIComponent component,
UIComponent parent)
public static LayoutComponentRendererBase getRenderer(FacesContext facesContext,
UIComponent component)
public static LayoutComponentRendererBase getRenderer(FacesContext facesContext,
String family,
String rendererType)
public static String currentValue(UIComponent component)
public static List<SelectItem> getSelectItems(UIComponent component)
public static Object findParameter(UIComponent component,
String name)
public static String toString(UIComponent component,
int offset)
public static ActionListener createActionListener(String type)
throws JspException
JspExceptionpublic static UIGraphic getFirstGraphicChild(UIComponent component)
@Deprecated public static boolean isHoverEnabled(UIComponent component)
public static UIOutput getFirstNonGraphicChild(UIComponent component)
public static void setIntegerSizeProperty(UIComponent component,
String name,
String value)
public static String removePx(String value)
public static void setIntegerProperty(UIComponent component,
String name,
String value)
public static void setBooleanProperty(UIComponent component,
String name,
String value)
public static void setStringProperty(UIComponent component,
String name,
String value)
public static void setValueForValueBinding(String name,
Object value)
public static ValueBinding createValueBinding(String value)
public static String getValueFromEl(String script)
public static UIComponent createComponent(String componentType,
String rendererType,
String id)
public static UIComponent createComponent(FacesContext facesContext,
String componentType,
String rendererType,
String id)
@Deprecated
public static UIComponent createComponent(FacesContext facesContext,
String componentType,
String rendererType)
public static UIColumn createTextColumn(String label,
String sortable,
String align,
String value,
String id)
public static UIColumn createColumn(String label,
String sortable,
String align,
UIComponent child)
public static UIColumn createColumn(String label,
String sortable,
String align,
UIComponent child,
String id)
public static UIMenuSelectOne createUIMenuSelectOneFacet(FacesContext facesContext,
UICommand command,
String id)
public static boolean hasSelectedValue(List<SelectItem> items,
Object value)
public static UIComponent createUISelectBooleanFacet(FacesContext facesContext,
UICommand command,
String id)
public static int getIntValue(ValueBinding valueBinding)
public static String createPickerId(FacesContext facesContext,
UIComponent component,
String postfix)
public static String getComponentId(FacesContext facesContext,
UIComponent component)
public static UIComponent provideLabel(FacesContext facesContext,
UIComponent component)
public static List<SelectItem> getItemsToRender(UISelectOne component)
public static List<SelectItem> getItemsToRender(UISelectMany component)
public static void setValidator(EditableValueHolder editableValueHolder,
String validator)
public static void setConverter(ValueHolder valueHolder,
String converterId)
public static void setAction(UICommand component,
String type,
String action)
public static void setSuggestMethodBinding(UIInput component,
String suggestMethod)
public static void setActionListener(ActionSource command,
String actionListener)
public static void setValueChangeListener(EditableValueHolder valueHolder,
String valueChangeListener)
public static void setSortActionListener(UIData data,
String actionListener)
public static void setValueBinding(UIComponent component,
String name,
String state)
public static void setStateChangeListener(UISheet data,
String stateChangeListener)
@Deprecated
public static String[] getMarkupBinding(FacesContext facesContext,
SupportsMarkup component)
public static UIComponent findComponent(UIComponent from,
String relativeId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||