|
||||||||||
| 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.UISelectItem
org.rcfaces.core.internal.component.CameliaItemComponent
org.rcfaces.core.component.AbstractItemComponent
public abstract class AbstractItemComponent
Technical component, used as a basis for building new RCFaces components.
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaItemComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UISelectItem |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
AbstractItemComponent()
|
|
| Method Summary | |
|---|---|
protected Set |
getCameliaFields()
|
String |
getClientData(String name)
Retrieves the data associated to a variable |
String |
getClientData(String name,
FacesContext facesContext)
|
int |
getClientDataCount()
Returns the number of variable associated to the component. |
Map |
getClientDataMap()
Returns a map containing the couples variable-data |
Map |
getClientDataMap(FacesContext facesContext)
|
Object |
getServerData(String name)
Retrieves an object data associated to a key |
Object |
getServerData(String name,
FacesContext facesContext)
|
int |
getServerDataCount()
Returns the number of keys associated to the component. |
Map |
getServerDataMap()
Returns a Map object containing keys and associated data objects |
Map |
getServerDataMap(FacesContext facesContext)
|
String |
getUnlockedClientAttributeNames()
Returns a string value holding a comma separated list of the client modifiable properties. |
String |
getUnlockedClientAttributeNames(FacesContext facesContext)
See getUnlockedClientAttributeNames() for more details |
boolean |
isDisabled()
Returns false if the receiver is enabled and all ancestors
up to and including the receiver's nearest ancestor shell are enabled. |
boolean |
isDisabledSetted()
Returns true if the attribute "disabled" is set. |
boolean |
isUnlockedClientAttributeNamesSetted()
Returns true if the attribute "unlockedClientAttributeNames" is set. |
String[] |
listClientDataKeys()
Returns the list of variable associated to the component. |
String[] |
listClientDataKeys(FacesContext facesContext)
|
String[] |
listServerDataKeys()
Returns a list of the keys defined for the component |
String[] |
listServerDataKeys(FacesContext facesContext)
|
String |
removeClientData(String name)
Removes the variable name and the data associated to it |
Object |
removeServerData(String name)
Removes a key and the data object associated to it |
String |
setClientData(String name,
String value)
Associates data to variable name. |
void |
setClientData(String name,
javax.el.ValueExpression value)
|
void |
setDisabled(boolean disabled)
Disabled the receiver if the argument is true, and enables it otherwise. |
Object |
setServerData(String name,
Object value)
Associates and object to a key for the component on the server side |
void |
setServerData(String name,
javax.el.ValueExpression value)
|
void |
setUnlockedClientAttributeNames(String unlockedClientAttributeNames)
Sets a string value holding a comma separated list of the client modifiable properties. |
void |
setValueExpression(String name,
javax.el.ValueExpression binding)
|
| Methods inherited from class org.rcfaces.core.internal.component.CameliaItemComponent |
|---|
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UISelectItem |
|---|
getItemDescription, getItemLabel, getItemValue, getValue, isItemDisabled, isItemEscaped, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, 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.internal.manager.IContainerManager |
|---|
getChildCount |
| Field Detail |
|---|
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public AbstractItemComponent()
| Method Detail |
|---|
public void setServerData(String name,
javax.el.ValueExpression value)
setServerData in interface org.rcfaces.core.internal.manager.IServerDataManager
public Object setServerData(String name,
Object value)
IServerDataCapability
setServerData in interface IServerDataCapabilitysetServerData in interface org.rcfaces.core.internal.manager.IServerDataManagername - key used to retrieve the object associatedvalue - object to associate
public void setClientData(String name,
javax.el.ValueExpression value)
setClientData in interface org.rcfaces.core.internal.manager.IClientDataManager
public String setClientData(String name,
String value)
IClientDataCapability
setClientData in interface IClientDataCapabilitysetClientData in interface org.rcfaces.core.internal.manager.IClientDataManagername - the variable to associate data tovalue - the data to associate to the variable
public void setDisabled(boolean disabled)
IDisabledCapability
setDisabled in interface IDisabledCapabilitydisabled - the new enabled statepublic boolean isDisabled()
IDisabledCapabilityfalse if the receiver is enabled and all ancestors
up to and including the receiver's nearest ancestor shell are enabled.
isDisabled in interface IDisabledCapability
public String getClientData(String name,
FacesContext facesContext)
public Object getServerData(String name,
FacesContext facesContext)
public Map getClientDataMap(FacesContext facesContext)
public Map getServerDataMap(FacesContext facesContext)
public String[] listClientDataKeys(FacesContext facesContext)
public String[] listServerDataKeys(FacesContext facesContext)
public void setValueExpression(String name,
javax.el.ValueExpression binding)
setValueExpression in class org.rcfaces.core.internal.component.CameliaItemComponentpublic final boolean isDisabledSetted()
true if the attribute "disabled" is set.
true if the attribute is set.public String[] listServerDataKeys()
IServerDataCapability
listServerDataKeys in interface IServerDataCapabilitypublic Map getServerDataMap()
IServerDataCapability
getServerDataMap in interface IServerDataCapabilitypublic int getServerDataCount()
IServerDataCapability
getServerDataCount in interface IServerDataCapabilitypublic Object getServerData(String name)
IServerDataCapability
getServerData in interface IServerDataCapabilityname - the key to retrieve
public Object removeServerData(String name)
IServerDataCapability
removeServerData in interface IServerDataCapabilityname - the key to remove
public int getClientDataCount()
IClientDataCapability
getClientDataCount in interface IClientDataCapabilitypublic String[] listClientDataKeys()
IClientDataCapability
listClientDataKeys in interface IClientDataCapabilitypublic String removeClientData(String name)
IClientDataCapability
removeClientData in interface IClientDataCapabilityname - the variable to associate data to
public String getClientData(String name)
IClientDataCapability
getClientData in interface IClientDataCapabilityname - the variable to associate data to
public Map getClientDataMap()
IClientDataCapability
getClientDataMap in interface IClientDataCapabilitypublic String getUnlockedClientAttributeNames()
IUnlockedClientAttributesCapability
getUnlockedClientAttributeNames in interface IUnlockedClientAttributesCapabilitypublic String getUnlockedClientAttributeNames(FacesContext facesContext)
getUnlockedClientAttributeNames() for more details
public final boolean isUnlockedClientAttributeNamesSetted()
true if the attribute "unlockedClientAttributeNames" is set.
true if the attribute is set.public void setUnlockedClientAttributeNames(String unlockedClientAttributeNames)
IUnlockedClientAttributesCapability
setUnlockedClientAttributeNames in interface IUnlockedClientAttributesCapabilityunlockedClientAttributeNames - list of modifiable attributesprotected Set getCameliaFields()
getCameliaFields in class org.rcfaces.core.internal.component.CameliaItemComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||