|
||||||||||
| 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.ItemsListComponent
public class ItemsListComponent
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
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.ITextPositionCapability |
|---|
BOTTOM_POSITION, TOP_POSITION |
| Fields inherited from interface org.rcfaces.core.component.capability.IHorizontalTextPositionCapability |
|---|
CENTER_POSITION, DEFAULT_POSITION, LEFT_POSITION, RIGHT_POSITION, UNKNOWN_POSITION |
| Fields inherited from interface org.rcfaces.core.component.capability.IBorderTypeCapability |
|---|
NONE_BORDER_TYPE_NAME |
| Fields inherited from interface javax.faces.component.NamingContainer |
|---|
SEPARATOR_CHAR |
| 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 | |
|---|---|
ItemsListComponent()
|
|
ItemsListComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addCheckListener(ICheckListener listener)
Adds a listener to the component for the checked event |
void |
addDoubleClickListener(IDoubleClickListener listener)
Adds a listener to the component for the doubleClick event |
void |
addSelectionListener(ISelectionListener listener)
Adds a listener to the component for the selection event |
String |
getBorderType()
Returns a string that indicates the type of border the component should show. |
String |
getBorderType(FacesContext facesContext)
See getBorderType() for more details |
protected Set |
getCameliaFields()
|
Object |
getCheckedValues()
|
Object |
getCheckedValues(FacesContext facesContext)
See getCheckedValues() for more details |
int |
getCheckedValuesCount()
|
Class |
getCheckedValuesType(FacesContext facesContext)
Return the type of the property represented by the ValueExpression, relative to the specified FacesContext. |
String |
getDefaultDisabledImageURL()
Returns an url string pointing to the default image for the disabled state. |
String |
getDefaultDisabledImageURL(FacesContext facesContext)
Returns an url string pointing to the default image for the disabled state. |
String |
getDefaultHoverImageURL()
|
String |
getDefaultHoverImageURL(FacesContext facesContext)
|
String |
getDefaultImageURL()
Returns an url string pointing to the default image. |
String |
getDefaultImageURL(FacesContext facesContext)
Returns an url string pointing to the default image. |
String |
getDefaultItemGroupName()
|
String |
getDefaultItemGroupName(FacesContext facesContext)
|
int |
getDefaultItemInputType()
|
int |
getDefaultItemInputType(FacesContext facesContext)
|
String |
getDefaultItemLookId()
|
String |
getDefaultItemLookId(FacesContext facesContext)
|
String |
getDefaultItemStyleClass()
|
String |
getDefaultItemStyleClass(FacesContext facesContext)
|
String |
getDefaultSelectedImageURL()
Returns an url string pointing to the default image for the selected state. |
String |
getDefaultSelectedImageURL(FacesContext facesContext)
Returns an url string pointing to the default image for the selected state. |
Object |
getFirstCheckedValue()
|
int |
getItemHiddenMode()
|
int |
getItemHiddenMode(FacesContext facesContext)
|
int |
getItemPadding()
|
int |
getItemPadding(FacesContext facesContext)
|
int |
getTextPosition()
Returns an int value specifying the position of the text in the component. |
int |
getTextPosition(FacesContext facesContext)
See getTextPosition() for more details |
protected Converter |
getTextPositionConverter()
|
ToolBarComponent |
getToolBar()
|
boolean |
isBorderTypeSetted()
Returns true if the attribute "borderType" is set. |
boolean |
isCheckedValuesSetted()
Returns true if the attribute "checkedValues" is set. |
boolean |
isDefaultDisabledImageURLSetted()
Returns true if the attribute "defaultDisabledImageURL" is set. |
boolean |
isDefaultHoverImageURLSetted()
Returns true if the attribute "defaultHoverImageURL" is set. |
boolean |
isDefaultImageURLSetted()
Returns true if the attribute "defaultImageURL" is set. |
boolean |
isDefaultItemGroupNameSetted()
Returns true if the attribute "defaultItemGroupName" is set. |
boolean |
isDefaultItemInputTypeSetted()
Returns true if the attribute "defaultItemInputType" is set. |
boolean |
isDefaultItemLookIdSetted()
Returns true if the attribute "defaultItemLookId" is set. |
boolean |
isDefaultItemStyleClassSetted()
Returns true if the attribute "defaultItemStyleClass" is set. |
boolean |
isDefaultSelectedImageURLSetted()
Returns true if the attribute "defaultSelectedImageURL" is set. |
boolean |
isItemHiddenModeSetted()
Returns true if the attribute "itemHiddenMode" is set. |
boolean |
isItemPaddingSetted()
Returns true if the attribute "itemPadding" is set. |
boolean |
isReadOnly()
Returns a boolean value indicating that this component will prohibit changes by the user. |
boolean |
isReadOnly(FacesContext facesContext)
See isReadOnly() for more details |
boolean |
isReadOnlySetted()
Returns true if the attribute "readOnly" is set. |
boolean |
isTextPositionSetted()
Returns true if the attribute "textPosition" is set. |
Object[] |
listCheckedValues()
|
FacesListener[] |
listCheckListeners()
Returns the list of check listener for the component |
FacesListener[] |
listDoubleClickListeners()
Returns a list of doubleClick listener for the component |
FacesListener[] |
listSelectionListeners()
Returns a list of selection listener for the component |
void |
removeCheckListener(ICheckListener listener)
Removes a listener from the list of listeners |
void |
removeDoubleClickListener(IDoubleClickListener listener)
Removes a listener from the component for the doubleClick event |
void |
removeSelectionListener(ISelectionListener listener)
Removes a listener from the component for the selection event |
void |
setBorderType(String borderType)
Sets a string that indicates the type of border the component should show. |
void |
setCheckedValues(Object checkedValues)
|
void |
setDefaultDisabledImageURL(String defaultDisabledImageURL)
Sets an url string pointing to the default image for the disabled state. |
void |
setDefaultHoverImageURL(String defaultHoverImageURL)
|
void |
setDefaultImageURL(String defaultImageURL)
Sets an url string pointing to the default image. |
void |
setDefaultItemGroupName(String defaultItemGroupName)
|
void |
setDefaultItemInputType(int defaultItemInputType)
|
void |
setDefaultItemInputType(String inputType)
|
void |
setDefaultItemLookId(String defaultItemLookId)
|
void |
setDefaultItemStyleClass(String defaultItemStyleClass)
|
void |
setDefaultSelectedImageURL(String defaultSelectedImageURL)
Sets an url string pointing to the default image for the selected state. |
void |
setItemHiddenMode(int itemHiddenMode)
|
void |
setItemHiddenMode(String hiddenMode)
|
void |
setItemPadding(int itemPadding)
|
void |
setReadOnly(boolean readOnly)
Sets a boolean value indicating that this component will prohibit changes by the user. |
void |
setTextPosition(int textPosition)
Sets an int value specifying the position of the text in the component. |
void |
setTextPosition(String textPosition)
|
| Methods inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
broadcast, clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, 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.IInitEventCapability |
|---|
addInitListener, listInitListeners, removeInitListener |
| Methods inherited from interface org.rcfaces.core.component.capability.IMouseEventCapability |
|---|
addMouseOutListener, addMouseOverListener, listMouseOutListeners, listMouseOverListeners, removeMouseOutListener, removeMouseOverListener |
| Methods inherited from interface org.rcfaces.core.component.capability.IDisabledCapability |
|---|
isDisabled, setDisabled |
| 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 ItemsListComponent()
public ItemsListComponent(String componentId)
| Method Detail |
|---|
public void setItemHiddenMode(String hiddenMode)
protected Converter getTextPositionConverter()
public void setDefaultItemInputType(String inputType)
public void setTextPosition(String textPosition)
public ToolBarComponent getToolBar()
public 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 getTextPosition()
IHorizontalTextPositionCapability
getTextPosition in interface IHorizontalTextPositionCapabilitypublic int getTextPosition(FacesContext facesContext)
getTextPosition() for more details
public final boolean isTextPositionSetted()
true if the attribute "textPosition" is set.
true if the attribute is set.public void setTextPosition(int textPosition)
IHorizontalTextPositionCapability
setTextPosition in interface IHorizontalTextPositionCapabilitytextPosition - 0x00:right|0x10:leftpublic String getBorderType()
IBorderTypeCapability
getBorderType in interface IBorderTypeCapabilitypublic String getBorderType(FacesContext facesContext)
getBorderType() for more details
public final boolean isBorderTypeSetted()
true if the attribute "borderType" is set.
true if the attribute is set.public void setBorderType(String borderType)
IBorderTypeCapability
setBorderType in interface IBorderTypeCapabilityborderType - none|solid|relief|flat|roundedpublic 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 final void addCheckListener(ICheckListener listener)
ICheckEventCapability
addCheckListener in interface ICheckEventCapabilitylistener - the listener to addpublic final void removeCheckListener(ICheckListener listener)
ICheckEventCapability
removeCheckListener in interface ICheckEventCapabilitylistener - the listener to removepublic final FacesListener[] listCheckListeners()
ICheckEventCapability
listCheckListeners in interface ICheckEventCapabilitypublic Object getCheckedValues()
getCheckedValues in interface ICheckProviderpublic Object getCheckedValues(FacesContext facesContext)
getCheckedValues() for more details
public final boolean isCheckedValuesSetted()
true if the attribute "checkedValues" is set.
true if the attribute is set.public void setCheckedValues(Object checkedValues)
setCheckedValues in interface ICheckProviderpublic Class getCheckedValuesType(FacesContext facesContext)
ValueExpression, relative to the specified FacesContext.
getCheckedValuesType in interface ICheckedValuesCapabilitypublic Object getFirstCheckedValue()
getFirstCheckedValue in interface ICheckProviderpublic int getCheckedValuesCount()
getCheckedValuesCount in interface ICheckProviderpublic Object[] listCheckedValues()
listCheckedValues in interface ICheckProviderpublic boolean isReadOnly()
IReadOnlyCapability
isReadOnly in interface IReadOnlyCapabilitypublic boolean isReadOnly(FacesContext facesContext)
isReadOnly() for more details
public final boolean isReadOnlySetted()
true if the attribute "readOnly" is set.
true if the attribute is set.public void setReadOnly(boolean readOnly)
IReadOnlyCapability
setReadOnly in interface IReadOnlyCapabilityreadOnly - readOnly boolean propertypublic String getDefaultImageURL()
public String getDefaultImageURL(FacesContext facesContext)
public void setDefaultImageURL(String defaultImageURL)
defaultImageURL - image urlpublic boolean isDefaultImageURLSetted()
true if the attribute "defaultImageURL" is set.
true if the attribute is set.public String getDefaultSelectedImageURL()
public String getDefaultSelectedImageURL(FacesContext facesContext)
public void setDefaultSelectedImageURL(String defaultSelectedImageURL)
defaultSelectedImageURL - selected image urlpublic boolean isDefaultSelectedImageURLSetted()
true if the attribute "defaultSelectedImageURL" is set.
true if the attribute is set.public String getDefaultHoverImageURL()
public String getDefaultHoverImageURL(FacesContext facesContext)
public void setDefaultHoverImageURL(String defaultHoverImageURL)
public boolean isDefaultHoverImageURLSetted()
true if the attribute "defaultHoverImageURL" is set.
true if the attribute is set.public String getDefaultDisabledImageURL()
public String getDefaultDisabledImageURL(FacesContext facesContext)
public void setDefaultDisabledImageURL(String defaultDisabledImageURL)
defaultDisabledImageURL - disabled image urlpublic boolean isDefaultDisabledImageURLSetted()
true if the attribute "defaultDisabledImageURL" is set.
true if the attribute is set.public int getDefaultItemInputType()
public int getDefaultItemInputType(FacesContext facesContext)
public void setDefaultItemInputType(int defaultItemInputType)
public boolean isDefaultItemInputTypeSetted()
true if the attribute "defaultItemInputType" is set.
true if the attribute is set.public String getDefaultItemLookId()
public String getDefaultItemLookId(FacesContext facesContext)
public void setDefaultItemLookId(String defaultItemLookId)
public boolean isDefaultItemLookIdSetted()
true if the attribute "defaultItemLookId" is set.
true if the attribute is set.public String getDefaultItemStyleClass()
public String getDefaultItemStyleClass(FacesContext facesContext)
public void setDefaultItemStyleClass(String defaultItemStyleClass)
public boolean isDefaultItemStyleClassSetted()
true if the attribute "defaultItemStyleClass" is set.
true if the attribute is set.public String getDefaultItemGroupName()
public String getDefaultItemGroupName(FacesContext facesContext)
public void setDefaultItemGroupName(String defaultItemGroupName)
public boolean isDefaultItemGroupNameSetted()
true if the attribute "defaultItemGroupName" is set.
true if the attribute is set.public int getItemPadding()
public int getItemPadding(FacesContext facesContext)
public void setItemPadding(int itemPadding)
public boolean isItemPaddingSetted()
true if the attribute "itemPadding" is set.
true if the attribute is set.public int getItemHiddenMode()
public int getItemHiddenMode(FacesContext facesContext)
public void setItemHiddenMode(int itemHiddenMode)
public boolean isItemHiddenModeSetted()
true if the attribute "itemHiddenMode" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class AbstractInputComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||