public abstract class SubmitMonitorBase extends javax.faces.component.UIComponentBase implements ISubmitMonitor
For more information, see the SubmitMonitor Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SubmitMonitorBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
SubmitMonitorBase() |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.component.UIComponent |
getActiveFacet()
Return the value of the
active facet property. |
java.lang.String |
getActiveLabel()
Return the value of the
activeLabel property. |
java.lang.String |
getBlockUI()
Return the value of the
blockUI property. |
java.lang.String |
getFamily() |
java.lang.String |
getFor()
Return the value of the
for property. |
javax.faces.component.UIComponent |
getIdleFacet()
Return the value of the
idle facet property. |
java.lang.String |
getIdleLabel()
Return the value of the
idleLabel property. |
javax.faces.component.UIComponent |
getNetworkErrorFacet()
Return the value of the
networkError facet property. |
java.lang.String |
getNetworkErrorLabel()
Return the value of the
networkErrorLabel property. |
javax.faces.component.UIComponent |
getServerErrorFacet()
Return the value of the
serverError facet property. |
java.lang.String |
getServerErrorLabel()
Return the value of the
serverErrorLabel property. |
javax.faces.component.UIComponent |
getSessionExpiredFacet()
Return the value of the
sessionExpired facet property. |
java.lang.String |
getSessionExpiredLabel()
Return the value of the
sessionExpiredLabel property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.Boolean |
isAutoCenter()
Return the value of the
autoCenter property. |
java.lang.Boolean |
isPreload()
Return the value of the
preload property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setActiveFacet(javax.faces.component.UIComponent active)
Set the value of the
active facet property. |
void |
setActiveLabel(java.lang.String activeLabel)
Set the value of the
activeLabel property. |
void |
setAutoCenter(java.lang.Boolean autoCenter)
Set the value of the
autoCenter property. |
void |
setBlockUI(java.lang.String blockUI)
Set the value of the
blockUI property. |
void |
setFor(java.lang.String For)
Set the value of the
for property. |
void |
setIdleFacet(javax.faces.component.UIComponent idle)
Set the value of the
idle facet property. |
void |
setIdleLabel(java.lang.String idleLabel)
Set the value of the
idleLabel property. |
void |
setNetworkErrorFacet(javax.faces.component.UIComponent networkError)
Set the value of the
networkError facet property. |
void |
setNetworkErrorLabel(java.lang.String networkErrorLabel)
Set the value of the
networkErrorLabel property. |
void |
setPreload(java.lang.Boolean preload)
Set the value of the
preload property. |
void |
setServerErrorFacet(javax.faces.component.UIComponent serverError)
Set the value of the
serverError facet property. |
void |
setServerErrorLabel(java.lang.String serverErrorLabel)
Set the value of the
serverErrorLabel property. |
void |
setSessionExpiredFacet(javax.faces.component.UIComponent sessionExpired)
Set the value of the
sessionExpired facet property. |
void |
setSessionExpiredLabel(java.lang.String sessionExpiredLabel)
Set the value of the
sessionExpiredLabel property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic void setActiveLabel(java.lang.String activeLabel)
Set the value of the activeLabel property.
Contents: Label to be displayed on the submitMonitor while a submit is in progress.
setActiveLabel in interface ISubmitMonitorpublic java.lang.String getActiveLabel()
Return the value of the activeLabel property.
Contents: Label to be displayed on the submitMonitor while a submit is in progress.
getActiveLabel in interface ISubmitMonitorpublic void setAutoCenter(java.lang.Boolean autoCenter)
Set the value of the autoCenter property.
Contents: When blockUI is enabled, and this property is true, the submitMonitor will display centered over the translucent overlay.
setAutoCenter in interface ISubmitMonitorpublic java.lang.Boolean isAutoCenter()
Return the value of the autoCenter property.
Contents: When blockUI is enabled, and this property is true, the submitMonitor will display centered over the translucent overlay. Default = 'true'.
isAutoCenter in interface ISubmitMonitorpublic void setBlockUI(java.lang.String blockUI)
Set the value of the blockUI property.
Contents: When enabled, display a translucent overlay on a portion of the window, and only show the submitMonitor UI when the connection is not idle and a submit is underway. This property specifies on what portion of the window to show the overlay: "@all" means the whole document body, "@source" means only over the component that originated the request, or a for style component search string may be given to specify a component. Finally, "@none" means to disable the overlay and have the submitMonitor UI always present where it has been placed in the page.
setBlockUI in interface ISubmitMonitorpublic java.lang.String getBlockUI()
Return the value of the blockUI property.
Contents: When enabled, display a translucent overlay on a portion of the window, and only show the submitMonitor UI when the connection is not idle and a submit is underway. This property specifies on what portion of the window to show the overlay: "@all" means the whole document body, "@source" means only over the component that originated the request, or a for style component search string may be given to specify a component. Finally, "@none" means to disable the overlay and have the submitMonitor UI always present where it has been placed in the page. Default = '@all'.
getBlockUI in interface ISubmitMonitorpublic void setFor(java.lang.String For)
Set the value of the for property.
Contents: Specify space separated list of components, by their for property format search strings, so that those components and, recursively, all of their children, will be monitored by this component when they act as the source for submits. When this property is empty or unspecified, this component will monitor all submits from all sources. This property allows for different submitMonitor components to co-exist on a page, and each monitor different, non-overlapping, regions of the page, and be shown with their own unique labels etc.
setFor in interface ISubmitMonitorpublic java.lang.String getFor()
Return the value of the for property.
Contents: Specify space separated list of components, by their for property format search strings, so that those components and, recursively, all of their children, will be monitored by this component when they act as the source for submits. When this property is empty or unspecified, this component will monitor all submits from all sources. This property allows for different submitMonitor components to co-exist on a page, and each monitor different, non-overlapping, regions of the page, and be shown with their own unique labels etc.
getFor in interface ISubmitMonitorpublic void setIdleLabel(java.lang.String idleLabel)
Set the value of the idleLabel property.
Contents: Label to be displayed on the submitMonitor when no submit is in progress. This is only shown if blockUI="@none", since with the popup cases, the submitMonitor is not shown when idle.
setIdleLabel in interface ISubmitMonitorpublic java.lang.String getIdleLabel()
Return the value of the idleLabel property.
Contents: Label to be displayed on the submitMonitor when no submit is in progress. This is only shown if blockUI="@none", since with the popup cases, the submitMonitor is not shown when idle.
getIdleLabel in interface ISubmitMonitorpublic void setNetworkErrorLabel(java.lang.String networkErrorLabel)
Set the value of the networkErrorLabel property.
Contents: Label to be displayed on the submitMonitor when there is a network error.
setNetworkErrorLabel in interface ISubmitMonitorpublic java.lang.String getNetworkErrorLabel()
Return the value of the networkErrorLabel property.
Contents: Label to be displayed on the submitMonitor when there is a network error.
getNetworkErrorLabel in interface ISubmitMonitorpublic void setPreload(java.lang.Boolean preload)
Set the value of the preload property.
Contents: When using images to indicate a server or network error, they may need to be preloaded while the server is still accessible. This preloads theme images when facets are not used.
setPreload in interface ISubmitMonitorpublic java.lang.Boolean isPreload()
Return the value of the preload property.
Contents: When using images to indicate a server or network error, they may need to be preloaded while the server is still accessible. This preloads theme images when facets are not used. Default = 'true'.
isPreload in interface ISubmitMonitorpublic void setServerErrorLabel(java.lang.String serverErrorLabel)
Set the value of the serverErrorLabel property.
Contents: Label to be displayed on the submitMonitor when there is a server error.
setServerErrorLabel in interface ISubmitMonitorpublic java.lang.String getServerErrorLabel()
Return the value of the serverErrorLabel property.
Contents: Label to be displayed on the submitMonitor when there is a server error.
getServerErrorLabel in interface ISubmitMonitorpublic void setSessionExpiredLabel(java.lang.String sessionExpiredLabel)
Set the value of the sessionExpiredLabel property.
Contents: Label to be displayed on the submitMonitor when the session is expired.
setSessionExpiredLabel in interface ISubmitMonitorpublic java.lang.String getSessionExpiredLabel()
Return the value of the sessionExpiredLabel property.
Contents: Label to be displayed on the submitMonitor when the session is expired.
getSessionExpiredLabel in interface ISubmitMonitorpublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Style class of the container element.
setStyleClass in interface ISubmitMonitorpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Style class of the container element.
getStyleClass in interface ISubmitMonitorpublic void setNetworkErrorFacet(javax.faces.component.UIComponent networkError)
Set the value of the networkError facet property.
public javax.faces.component.UIComponent getNetworkErrorFacet()
Return the value of the networkError facet property.
public void setIdleFacet(javax.faces.component.UIComponent idle)
Set the value of the idle facet property.
public javax.faces.component.UIComponent getIdleFacet()
Return the value of the idle facet property.
public void setServerErrorFacet(javax.faces.component.UIComponent serverError)
Set the value of the serverError facet property.
public javax.faces.component.UIComponent getServerErrorFacet()
Return the value of the serverError facet property.
public void setActiveFacet(javax.faces.component.UIComponent active)
Set the value of the active facet property.
public javax.faces.component.UIComponent getActiveFacet()
Return the value of the active facet property.
public void setSessionExpiredFacet(javax.faces.component.UIComponent sessionExpired)
Set the value of the sessionExpired facet property.
public javax.faces.component.UIComponent getSessionExpiredFacet()
Return the value of the sessionExpired facet property.
protected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.