org.apache.myfaces.html5.component.output
Class AbstractProgress

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.html5.component.output.AbstractProgress
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Draggable, AccesskeyProperty, GlobalEventProperties, Html5GlobalProperties, MouseEventProperties, TabindexProperty
Direct Known Subclasses:
Progress

@JSFComponent(name="hx:progress",
              clazz="org.apache.myfaces.html5.component.output.Progress",
              tagClass="org.apache.myfaces.html5.tag.output.ProgressTag",
              defaultRendererType="org.apache.myfaces.html5.Progress",
              family="org.apache.myfaces.Progress",
              type="org.apache.myfaces.html5.Progress",
              implementz="javax.faces.component.behavior.ClientBehaviorHolder",
              defaultEventName="click")
public abstract class AbstractProgress
extends javax.faces.component.UIComponentBase
implements javax.faces.component.behavior.ClientBehaviorHolder, Html5GlobalProperties, AccesskeyProperty, TabindexProperty, MouseEventProperties, GlobalEventProperties

Convenience component for Html5 progress element.

Author:
Ali Ok

Field Summary
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
AbstractProgress()
           
 
Method Summary
abstract  Double getMaximum()
          Maximum value of the progress element.
abstract  Double getValue()
          Value of the progress element.
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFamily, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
 
Methods inherited from interface org.apache.myfaces.html5.component.properties.Html5GlobalProperties
getAnimationEnd, getDir, getLang, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnmousewheel, getStyle, getStyleClass, getTitle, isDraggable, isHidden
 
Methods inherited from interface org.apache.myfaces.html5.component.api.Draggable
setDraggable
 
Methods inherited from interface org.apache.myfaces.html5.component.properties.AccesskeyProperty
getAccesskey
 
Methods inherited from interface org.apache.myfaces.html5.component.properties.TabindexProperty
getTabindex
 
Methods inherited from interface org.apache.myfaces.html5.component.properties.MouseEventProperties
getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel
 
Methods inherited from interface org.apache.myfaces.html5.component.properties.GlobalEventProperties
getOnblur, getOnclick, getOndblclick, getOnfocus
 

Constructor Detail

AbstractProgress

public AbstractProgress()
Method Detail

getValue

@JSFProperty(required=false,
             deferredValueType="java.lang.Double")
public abstract Double getValue()
Value of the progress element. Value should be in the interval of [0, maximum]


getMaximum

@JSFProperty(required=false,
             deferredValueType="java.lang.Double",
             defaultValue="1.0")
public abstract Double getMaximum()
Maximum value of the progress element. If the value of the progress element reaches the maximum value, then it means the progress is done.



Copyright © 2011 The Apache Software Foundation. All Rights Reserved.