|
||||||||||
| 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
org.rcfaces.core.internal.component.CameliaBaseComponent
org.rcfaces.core.component.ViewErrorListenerComponent
public class ViewErrorListenerComponent
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
ViewErrorListenerComponent()
|
|
ViewErrorListenerComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addErrorListener(IErrorListener listener)
Adds a listener to the component for the error event |
void |
addPropertyChangeListener(IPropertyChangeListener listener)
Adds a listener to the component for the propertyChange event |
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[] |
listClientDataKeys()
Returns the list of variable associated to the component. |
String[] |
listClientDataKeys(FacesContext facesContext)
|
FacesListener[] |
listErrorListeners()
Returns a list of Error listener for the component |
FacesListener[] |
listPropertyChangeListeners()
Returns a list of propertyChange listener for the component |
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 |
void |
removeErrorListener(IErrorListener listener)
Removes a listener from the component for the error event |
void |
removePropertyChangeListener(IPropertyChangeListener listener)
Removes a listener from the component for the propertyChange event |
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. |
Object |
setServerData(String name,
Object value)
Associates and object to a key for the component on the server side |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent |
|---|
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, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| 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 |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public ViewErrorListenerComponent()
public ViewErrorListenerComponent(String componentId)
| Method Detail |
|---|
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 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 setClientData(String name,
String value)
IClientDataCapability
setClientData in interface IClientDataCapabilityname - the variable to associate data tovalue - the data to associate to the variable
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[] listServerDataKeys()
IServerDataCapability
listServerDataKeys in interface IServerDataCapability
public Object setServerData(String name,
Object value)
IServerDataCapability
setServerData in interface IServerDataCapabilityname - key used to retrieve the object associatedvalue - object to associate
public 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 final void addPropertyChangeListener(IPropertyChangeListener listener)
IPropertyChangeEventCapability
addPropertyChangeListener in interface IPropertyChangeEventCapabilitylistener - the propertyChange listener to addpublic final void removePropertyChangeListener(IPropertyChangeListener listener)
IPropertyChangeEventCapability
removePropertyChangeListener in interface IPropertyChangeEventCapabilitylistener - the propertyChange listener to removepublic final FacesListener[] listPropertyChangeListeners()
IPropertyChangeEventCapability
listPropertyChangeListeners in interface IPropertyChangeEventCapabilitypublic final void addErrorListener(IErrorListener listener)
IErrorEventCapability
addErrorListener in interface IErrorEventCapabilitylistener - the load listener to addpublic final void removeErrorListener(IErrorListener listener)
IErrorEventCapability
removeErrorListener in interface IErrorEventCapabilitylistener - the load listener to removepublic final FacesListener[] listErrorListeners()
IErrorEventCapability
listErrorListeners in interface IErrorEventCapabilityprotected Set getCameliaFields()
getCameliaFields in class org.rcfaces.core.internal.component.CameliaBaseComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||