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, startBuild
addValidator, 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, validateValue
getConverter, getLocalValue, getValue, setConverter
addClientBehavior, 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, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public 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 UIMetawidget
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class UIMetawidget
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class UIMetawidget
protected String getDefaultConfiguration()
getDefaultConfiguration
in class UIMetawidget
public void initNestedMetawidget(UIMetawidget metawidget, Map<String,String> attributes)
initNestedMetawidget
in class UIMetawidget
Copyright © 2015. All Rights Reserved.