|
||||||||||
| 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
org.rcfaces.core.component.ListComponent
public class ListComponent
The list Component is based on the standard HTML tag <SELECT>.
The list Component has the following capabilities :
The default list renderer is linked to the f_list javascript class. f_list extends f_abstractList, fa_selectionProvider
Table of component style classes:
| Style Name | Description |
|---|---|
| f_list | Defines styles for the wrapper SELECT element |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.component.ComboComponent |
|---|
CAMELIA_VALUE_ALIAS |
| 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 | |
|---|---|
ListComponent()
|
|
ListComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addDoubleClickListener(IDoubleClickListener listener)
Adds a listener to the component for the doubleClick event |
protected Set |
getCameliaFields()
|
int |
getRowNumber()
Returns an int value specifying the number of rows to be displayed. |
int |
getRowNumber(FacesContext facesContext)
Returns an int value specifying the number of rows to be displayed. |
boolean |
isMultipleSelect()
Returns a boolean value indicating wether multiple selection is permitted. |
boolean |
isMultipleSelect(FacesContext facesContext)
See isMultipleSelect() for more details |
boolean |
isMultipleSelectSetted()
Returns true if the attribute "multipleSelect" is set. |
boolean |
isRowNumberSetted()
Returns true if the attribute "rowNumber" is set. |
FacesListener[] |
listDoubleClickListeners()
Returns a list of doubleClick listener for the component |
void |
removeDoubleClickListener(IDoubleClickListener listener)
Removes a listener from the component for the doubleClick event |
void |
setMultipleSelect(boolean multipleSelect)
Sets a boolean value indicating wether multiple selection is permitted. |
void |
setRowNumber(int rowNumber)
Sets an int value specifying the number of rows to be displayed. |
| 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
| Constructor Detail |
|---|
public ListComponent()
public ListComponent(String componentId)
| Method Detail |
|---|
public boolean isMultipleSelect()
IMultipleSelectCapability
isMultipleSelect in interface IMultipleSelectCapabilitypublic boolean isMultipleSelect(FacesContext facesContext)
isMultipleSelect() for more details
public final boolean isMultipleSelectSetted()
true if the attribute "multipleSelect" is set.
true if the attribute is set.public void setMultipleSelect(boolean multipleSelect)
IMultipleSelectCapability
setMultipleSelect in interface IMultipleSelectCapabilitymultipleSelect - booleanpublic final void addDoubleClickListener(IDoubleClickListener listener)
IDoubleClickEventCapability
addDoubleClickListener in interface IDoubleClickEventCapabilitylistener - the doubleClick listener to addpublic final void removeDoubleClickListener(IDoubleClickListener listener)
IDoubleClickEventCapability
removeDoubleClickListener in interface IDoubleClickEventCapabilitylistener - the doubleClick listener to removepublic final FacesListener[] listDoubleClickListeners()
IDoubleClickEventCapability
listDoubleClickListeners in interface IDoubleClickEventCapabilitypublic int getRowNumber()
public int getRowNumber(FacesContext facesContext)
public void setRowNumber(int rowNumber)
rowNumber - number of rowspublic boolean isRowNumberSetted()
true if the attribute "rowNumber" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class ComboComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||