|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIOutput com.sun.rave.web.ui.component.LabelBase com.sun.rave.web.ui.component.Label
Component that represents an input field label.
Field Summary | |
static java.lang.String |
ERROR_FACET
|
static java.lang.String |
ERROR_ID
|
static java.lang.String |
REQUIRED_FACET
|
static java.lang.String |
REQUIRED_ID
|
Fields inherited from class javax.faces.component.UIOutput |
COMPONENT_FAMILY, COMPONENT_TYPE |
Constructor Summary | |
Label()
|
Method Summary | |
java.lang.String |
getElement()
|
javax.faces.component.UIComponent |
getErrorIcon(com.sun.rave.web.ui.theme.Theme theme,
javax.faces.context.FacesContext context,
boolean valid)
|
javax.faces.component.EditableValueHolder |
getLabeledComponent()
|
java.lang.String |
getLabeledComponentId(javax.faces.context.FacesContext context)
|
int |
getLabelLevel()
Style level for this label, where lower values typically specify progressively larger font sizes, and/or bolder font weights. |
javax.faces.component.UIComponent |
getRequiredIcon(com.sun.rave.web.ui.theme.Theme theme,
javax.faces.context.FacesContext context)
|
void |
setLabeledComponent(javax.faces.component.UIComponent comp)
|
Methods inherited from class com.sun.rave.web.ui.component.LabelBase |
getFamily, getFor, getOnClick, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getStyle, getStyleClass, getText, getToolTip, getValueBinding, isHideIndicators, isRequiredIndicator, isVisible, restoreState, saveState, setFor, setHideIndicators, setLabelLevel, setOnClick, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setRequiredIndicator, setStyle, setStyleClass, setText, setToolTip, setValueBinding, setVisible |
Methods inherited from class javax.faces.component.UIOutput |
getConverter, getLocalValue, getValue, setConverter, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String REQUIRED_ID
public static final java.lang.String REQUIRED_FACET
public static final java.lang.String ERROR_ID
public static final java.lang.String ERROR_FACET
Constructor Detail |
public Label()
Method Detail |
public void setLabeledComponent(javax.faces.component.UIComponent comp)
public javax.faces.component.EditableValueHolder getLabeledComponent()
public java.lang.String getLabeledComponentId(javax.faces.context.FacesContext context)
public javax.faces.component.UIComponent getRequiredIcon(com.sun.rave.web.ui.theme.Theme theme, javax.faces.context.FacesContext context)
public javax.faces.component.UIComponent getErrorIcon(com.sun.rave.web.ui.theme.Theme theme, javax.faces.context.FacesContext context, boolean valid)
public java.lang.String getElement()
public int getLabelLevel()
LabelBase
Style level for this label, where lower values typically specify progressively larger font sizes, and/or bolder font weights. Valid values are 1, 2, and 3. The default label level is 2. Any label level outside this range will result in no label level being added.
getLabelLevel
in class LabelBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |