|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase org.ajax4jsf.component.UIAjaxStatus
public class UIAjaxStatus
Component for create request state status area. can create 2 output text areas ( <span> ) with different text and styles. if defined "start" or/and "stop" facets, it's use as conttent for different state. By default, "start" text/facet rendered with display = none style. On client side, display style changed for elements on start-stop request.
Nested Class Summary | |
---|---|
static class |
UIAjaxStatus.State
|
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
UIAjaxStatus()
|
Method Summary | |
---|---|
java.lang.String |
getClientId(javax.faces.context.FacesContext context)
|
java.lang.String |
getFamily()
|
java.lang.String |
getFor()
|
java.lang.String |
getStartStyle()
|
java.lang.String |
getStartStyleClass()
|
java.lang.String |
getStartText()
|
java.lang.String |
getStopStyle()
|
java.lang.String |
getStopStyleClass()
|
java.lang.String |
getStopText()
|
boolean |
isForceId()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setFor(java.lang.String _for)
|
void |
setForceId(boolean forceId)
setter method for property |
void |
setId(java.lang.String arg0)
|
void |
setStartStyle(java.lang.String startStyle)
setter method for property |
void |
setStartStyleClass(java.lang.String startStyleClass)
setter method for property |
void |
setStartText(java.lang.String startText)
setter method for property |
void |
setStopStyle(java.lang.String stopStyle)
setter method for property |
void |
setStopStyleClass(java.lang.String stopStyleClass)
setter method for property |
void |
setStopText(java.lang.String stopText)
setter method for property |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
Constructor Detail |
---|
public UIAjaxStatus()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIComponent
public void setFor(java.lang.String _for)
new
- value of id of form for wich status will displayed to setpublic java.lang.String getFor()
public void setStartText(java.lang.String startText)
new
- value of Text to output on start request to setpublic java.lang.String getStartText()
public void setStopText(java.lang.String stopText)
new
- value of Text to display on complete request to setpublic java.lang.String getStopText()
public void setStartStyle(java.lang.String startStyle)
new
- value of Style for display on start request to setpublic java.lang.String getStartStyle()
public void setStopStyle(java.lang.String stopStyle)
new
- value of Style for displaying on complete to setpublic java.lang.String getStopStyle()
public void setStartStyleClass(java.lang.String startStyleClass)
new
- value of Style class for display on request to setpublic java.lang.String getStartStyleClass()
public void setStopStyleClass(java.lang.String stopStyleClass)
new
- value of Style class for display on complete request to setpublic void setForceId(boolean forceId)
new
- value of Force id to render in Html as is to setpublic boolean isForceId()
public java.lang.String getClientId(javax.faces.context.FacesContext context)
getClientId
in class javax.faces.component.UIComponentBase
public void setId(java.lang.String arg0)
setId
in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
public java.lang.String getStopStyleClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |