public class HtmlMetawidget extends UIMetawidget
UIMetawidget.Pipeline| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_TYPE |
COMPONENT_ATTRIBUTE_METADATA, COMPONENT_ATTRIBUTE_NOT_RECREATABLE, COMPONENT_ATTRIBUTE_SECTION_DECORATOR| Constructor and Description |
|---|
HtmlMetawidget() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentType()
Get the component type used to create this Metawidget.
|
protected String |
getDefaultConfiguration() |
String |
getStyle() |
String |
getStyleClass() |
void |
initNestedMetawidget(UIMetawidget metawidget,
Map<String,String> attributes)
Overridden to carry CSS style attributes into the nested Metawidget.
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
addInspectionResultProcessor, addWidgetProcessor, buildWidgets, copyParameters, encodeBegin, endBuild, getClientProperty, getFamily, getLabelString, getLayout, getLocalizedKey, getParameter, getWidgetBuilder, getWidgetProcessor, getWidgetProcessors, inspect, isReadOnly, isRendered, layoutWidget, newPipeline, putClientProperty, registerBuildWidgetsSupport, removeInspectionResultProcessor, removeWidgetProcessor, setBuildWidgetsOnAjaxRequest, setConfig, setInspectFromParent, setInspectionResultProcessors, setInspector, setLayout, setParameter, setReadOnly, setRendererType, setWidgetBuilder, setWidgetProcessors, startBuildaddValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValuegetConverter, getLocalValue, getValue, setConverteraddClientBehavior, addFacesListener, broadcast, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final String COMPONENT_TYPE
public String getStyle()
public void setStyle(String style)
public String getStyleClass()
public void setStyleClass(String styleClass)
public String getComponentType()
UIMetawidget
Usually, clients will want to create a nested-Metawidget using the same subclass as
themselves. To be 'proper' in JSF, though, we should go via
application.createComponent. Unfortunately by default a UIComponent does not
know its own component type, so subclasses must override this method.
This method is public for use by NestedLayoutDecorators.
getComponentType in class UIMetawidgetpublic Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class UIMetawidgetpublic void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class UIMetawidgetprotected String getDefaultConfiguration()
getDefaultConfiguration in class UIMetawidgetpublic void initNestedMetawidget(UIMetawidget metawidget, Map<String,String> attributes)
initNestedMetawidget in class UIMetawidgetCopyright © 2015. All Rights Reserved.