|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.rcfaces.core.internal.component.CameliaInputComponent
org.rcfaces.core.component.AbstractInputComponent
org.rcfaces.core.component.ComboComponent
public class ComboComponent
The combo Component is equivalent to the standard HTML tag <SELECT SIZE=1>.
The combo Component has the following capabilities :
The default comboComponent renderer is linked to the f_combo javascript class. f_combo extends f_abstractList, fa_selectionProvider
Table of component style classes:
| Style Name | Description |
|---|---|
| f_combo | Defines styles for the wrapper Select element |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
protected static String |
CAMELIA_VALUE_ALIAS
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIInput |
|---|
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability |
|---|
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE |
| Constructor Summary | |
|---|---|
ComboComponent()
|
|
ComboComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addSelectionListener(ISelectionListener listener)
Adds a listener to the component for the selection event |
protected Set |
getCameliaFields()
|
protected String |
getCameliaValueAlias()
|
String |
getErrorStyleClass()
Returns a space-separated list of CSS style class(es) to be applied for error messages. |
String |
getErrorStyleClass(FacesContext facesContext)
See getErrorStyleClass() for more details |
String |
getFatalStyleClass()
Returns a space-separated list of CSS style class(es) to be applied for fatal messages. |
String |
getFatalStyleClass(FacesContext facesContext)
See getFatalStyleClass() for more details |
IFilterProperties |
getFilterProperties()
Return an object that represent the filter to use on the server side. |
IFilterProperties |
getFilterProperties(FacesContext facesContext)
See getFilterProperties() for more details |
String |
getFocusStyleClass()
Returns the style class of the component. |
String |
getFocusStyleClass(FacesContext facesContext)
See getFocusStyleClass() for more details |
String |
getInfoStyleClass()
Returns a space-separated list of CSS style class(es) to be applied for info messages. |
String |
getInfoStyleClass(FacesContext facesContext)
See getInfoStyleClass() for more details |
String |
getWarnStyleClass()
Returns a space-separated list of CSS style class(es) to be applied for warning messages. |
String |
getWarnStyleClass(FacesContext facesContext)
See getWarnStyleClass() for more details |
boolean |
isErrorStyleClassSetted()
Returns true if the attribute "errorStyleClass" is set. |
boolean |
isFatalStyleClassSetted()
Returns true if the attribute "fatalStyleClass" is set. |
boolean |
isFilterPropertiesSetted()
Returns true if the attribute "filterProperties" is set. |
boolean |
isFocusStyleClassSetted()
Returns true if the attribute "focusStyleClass" is set. |
boolean |
isInfoStyleClassSetted()
Returns true if the attribute "infoStyleClass" is set. |
boolean |
isWarnStyleClassSetted()
Returns true if the attribute "warnStyleClass" is set. |
FacesListener[] |
listSelectionListeners()
Returns a list of selection listener for the component |
void |
removeSelectionListener(ISelectionListener listener)
Removes a listener from the component for the selection event |
void |
setErrorStyleClass(String errorStyleClass)
Sets a space-separated list of CSS style class(es) to be applied for error messages. |
void |
setFatalStyleClass(String fatalStyleClass)
Sets a space-separated list of CSS style class(es) to be applied for fatal messages. |
void |
setFilterProperties(IFilterProperties filterProperties)
Sets an object that represent the filter to use on the server side. |
void |
setFilterProperties(String properties)
|
void |
setFocusStyleClass(String focusStyleClass)
Specify the style class of the component. |
void |
setInfoStyleClass(String infoStyleClass)
Sets a space-separated list of CSS style class(es) to be applied for info messages. |
void |
setWarnStyleClass(String warnStyleClass)
Sets a space-separated list of CSS style class(es) to be applied for warning messages. |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
broadcast, clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getChildren, getChildrenListState, getConvertedValue, getFamily, getLocalValue, getRendererType, getSubmittedExternalValue, getTransientAttribute, getValue, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isSubmittedValueSetted, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setConverter, setConverter, setDefaultProperties, setRendered, setSubmittedExternalValue, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.component.capability.IRequiredCapability |
|---|
isRequired, setRequired |
| Methods inherited from interface org.rcfaces.core.component.capability.IStyleClassCapability |
|---|
getStyleClass, setStyleClass |
| Methods inherited from interface org.rcfaces.core.component.capability.IImmediateCapability |
|---|
isImmediate, setImmediate |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, setConverter, setValue |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
protected static final String CAMELIA_VALUE_ALIAS
| Constructor Detail |
|---|
public ComboComponent()
public ComboComponent(String componentId)
| Method Detail |
|---|
public void setFilterProperties(String properties)
public final void addSelectionListener(ISelectionListener listener)
ISelectionEventCapability
addSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to addpublic final void removeSelectionListener(ISelectionListener listener)
ISelectionEventCapability
removeSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to removepublic final FacesListener[] listSelectionListeners()
ISelectionEventCapability
listSelectionListeners in interface ISelectionEventCapabilitypublic String getFocusStyleClass()
IFocusStyleClassCapability
getFocusStyleClass in interface IFocusStyleClassCapabilitypublic String getFocusStyleClass(FacesContext facesContext)
getFocusStyleClass() for more details
public final boolean isFocusStyleClassSetted()
true if the attribute "focusStyleClass" is set.
true if the attribute is set.public void setFocusStyleClass(String focusStyleClass)
IFocusStyleClassCapability
setFocusStyleClass in interface IFocusStyleClassCapabilityfocusStyleClass - style classpublic String getErrorStyleClass()
ISeverityStyleClassCapability
getErrorStyleClass in interface ISeverityStyleClassCapabilitypublic String getErrorStyleClass(FacesContext facesContext)
getErrorStyleClass() for more details
public final boolean isErrorStyleClassSetted()
true if the attribute "errorStyleClass" is set.
true if the attribute is set.public void setErrorStyleClass(String errorStyleClass)
ISeverityStyleClassCapability
setErrorStyleClass in interface ISeverityStyleClassCapabilityerrorStyleClass - list of CSS style classespublic String getFatalStyleClass()
ISeverityStyleClassCapability
getFatalStyleClass in interface ISeverityStyleClassCapabilitypublic String getFatalStyleClass(FacesContext facesContext)
getFatalStyleClass() for more details
public final boolean isFatalStyleClassSetted()
true if the attribute "fatalStyleClass" is set.
true if the attribute is set.public void setFatalStyleClass(String fatalStyleClass)
ISeverityStyleClassCapability
setFatalStyleClass in interface ISeverityStyleClassCapabilityfatalStyleClass - list of CSS style classespublic String getInfoStyleClass()
ISeverityStyleClassCapability
getInfoStyleClass in interface ISeverityStyleClassCapabilitypublic String getInfoStyleClass(FacesContext facesContext)
getInfoStyleClass() for more details
public final boolean isInfoStyleClassSetted()
true if the attribute "infoStyleClass" is set.
true if the attribute is set.public void setInfoStyleClass(String infoStyleClass)
ISeverityStyleClassCapability
setInfoStyleClass in interface ISeverityStyleClassCapabilityinfoStyleClass - list of CSS style classespublic String getWarnStyleClass()
ISeverityStyleClassCapability
getWarnStyleClass in interface ISeverityStyleClassCapabilitypublic String getWarnStyleClass(FacesContext facesContext)
getWarnStyleClass() for more details
public final boolean isWarnStyleClassSetted()
true if the attribute "warnStyleClass" is set.
true if the attribute is set.public void setWarnStyleClass(String warnStyleClass)
ISeverityStyleClassCapability
setWarnStyleClass in interface ISeverityStyleClassCapabilitywarnStyleClass - list of CSS style classespublic IFilterProperties getFilterProperties()
IFilterCapability
getFilterProperties in interface IFilterCapabilitypublic IFilterProperties getFilterProperties(FacesContext facesContext)
getFilterProperties() for more details
public final boolean isFilterPropertiesSetted()
true if the attribute "filterProperties" is set.
true if the attribute is set.public void setFilterProperties(IFilterProperties filterProperties)
IFilterCapability
setFilterProperties in interface IFilterCapabilityfilterProperties - filterprotected Set getCameliaFields()
getCameliaFields in class AbstractInputComponentprotected String getCameliaValueAlias()
getCameliaValueAlias in class org.rcfaces.core.internal.component.CameliaInputComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||