|
||||||||||
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 javax.faces.component.UIInput com.sun.rave.web.ui.component.HiddenFieldBase com.sun.rave.web.ui.component.HiddenField com.sun.rave.web.ui.component.FieldBase com.sun.rave.web.ui.component.Field
Field Summary | |
static java.lang.String |
INPUT_ID
|
static java.lang.String |
LABEL_FACET
|
static java.lang.String |
LABEL_ID
|
static java.lang.String |
READONLY_FACET
|
static java.lang.String |
READONLY_ID
|
Fields inherited from class javax.faces.component.UIInput |
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Constructor Summary | |
Field()
Creates a new instance of FieldBase |
Method Summary | |
int |
getColumns()
Number of character columns used to render this field. |
javax.faces.component.UIComponent |
getLabelComponent(javax.faces.context.FacesContext context,
java.lang.String style)
|
java.lang.String |
getPrimaryElementID(javax.faces.context.FacesContext context)
Retrieves the DOM ID for the HTML input element. |
javax.faces.component.UIComponent |
getReadOnlyComponent(javax.faces.context.FacesContext context)
|
protected void |
log(java.lang.String s)
Log an error - only used during development time. |
void |
setText(java.lang.Object text)
Literal value to be rendered in this input field. |
Methods inherited from class com.sun.rave.web.ui.component.FieldBase |
getFamily, getLabel, getLabelLevel, getMaxLength, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getStyleClass, getTabIndex, getText, getToolTip, getValueBinding, isDisabled, isReadOnly, isTrim, isVisible, restoreState, saveState, setColumns, setDisabled, setLabel, setLabelLevel, setMaxLength, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setReadOnly, setStyle, setStyleClass, setTabIndex, setToolTip, setTrim, setValueBinding, setVisible |
Methods inherited from class com.sun.rave.web.ui.component.HiddenField |
getConvertedValue, getReadOnlyValueString, getValueAsString |
Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, broadcast, compareValues, decode, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, validateValue |
Methods inherited from class javax.faces.component.UIOutput |
getConverter, getLocalValue, getValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, isRendered, isTransient, processRestoreState, processSaveState, 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 |
Methods inherited from interface javax.faces.component.ValueHolder |
getConverter, getLocalValue, getValue, setConverter |
Field Detail |
public static final java.lang.String READONLY_ID
public static final java.lang.String LABEL_ID
public static final java.lang.String INPUT_ID
public static final java.lang.String READONLY_FACET
public static final java.lang.String LABEL_FACET
Constructor Detail |
public Field()
Method Detail |
public javax.faces.component.UIComponent getLabelComponent(javax.faces.context.FacesContext context, java.lang.String style)
public javax.faces.component.UIComponent getReadOnlyComponent(javax.faces.context.FacesContext context)
protected void log(java.lang.String s)
log
in class HiddenField
public java.lang.String getPrimaryElementID(javax.faces.context.FacesContext context)
getPrimaryElementID
in interface ComplexComponent
context
- The FacesContext for the request
public int getColumns()
FieldBase
Number of character columns used to render this field.
getColumns
in class FieldBase
public void setText(java.lang.Object text)
FieldBase
Literal value to be rendered in this input field. If this property is specified by a value binding expression, the corresponding value will be updated if validation succeeds.
setText
in class FieldBase
FieldBase.getText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |