java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.primefaces.extensions.component.calculator.Calculator
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, org.primefaces.component.api.RTLAware, org.primefaces.component.api.Widget

public class Calculator extends javax.faces.component.UIComponentBase implements javax.faces.component.behavior.ClientBehaviorHolder, org.primefaces.component.api.Widget, org.primefaces.component.api.RTLAware
Calculator component.
Since:
6.1
Author:
Melloware [email protected]
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static enum 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class javax.faces.component.UIComponent

    ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY

    Fields inherited from interface org.primefaces.component.api.Widget

    ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
     
     
     
     
    int
     
     
     
     
    void
    processDecodes(javax.faces.context.FacesContext fc)
    void
    processUpdates(javax.faces.context.FacesContext fc)
    void
    processValidators(javax.faces.context.FacesContext fc)
    void
    queueEvent(javax.faces.event.FacesEvent event)
    saveState(javax.faces.context.FacesContext context)
     
    void
    setDir(String _dir)
     
    void
    setFor(String _for)
     
    void
    setLayout(String _layout)
     
    void
    setLocale(Object locale)
     
    void
    setOnbutton(String _onButton)
     
    void
    setOnclose(String _onClose)
     
    void
    setOnopen(String _onOpen)
     
    void
    setPrecision(int _precision)
     
    void
    setShowOn(String _showOn)
     
    void
    setStyleClass(String _styleClass)
     
    void
    setWidgetVar(String _widgetVar)
     

    Methods inherited from class javax.faces.component.UIComponentBase

    addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent

    Methods inherited from class javax.faces.component.UIComponent

    encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree

    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

    Methods inherited from interface org.primefaces.component.api.RTLAware

    isRTL

    Methods inherited from interface org.primefaces.component.api.Widget

    resolveWidgetVar, resolveWidgetVar
  • Field Details

  • Constructor Details

    • Calculator

      public Calculator()
      Default constructor
  • Method Details

    • getFamily

      public String getFamily()
      Specified by:
      getFamily in class javax.faces.component.UIComponent
    • getEventNames

      public Collection<String> getEventNames()
      Specified by:
      getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
      Overrides:
      getEventNames in class javax.faces.component.UIComponentBase
    • getDefaultEventName

      public String getDefaultEventName()
      Specified by:
      getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHolder
      Overrides:
      getDefaultEventName in class javax.faces.component.UIComponentBase
    • processDecodes

      public void processDecodes(javax.faces.context.FacesContext fc)
      Overrides:
      processDecodes in class javax.faces.component.UIComponentBase
    • processValidators

      public void processValidators(javax.faces.context.FacesContext fc)
      Overrides:
      processValidators in class javax.faces.component.UIComponentBase
    • processUpdates

      public void processUpdates(javax.faces.context.FacesContext fc)
      Overrides:
      processUpdates in class javax.faces.component.UIComponentBase
    • queueEvent

      public void queueEvent(javax.faces.event.FacesEvent event)
      Overrides:
      queueEvent in class javax.faces.component.UIComponentBase
    • calculateLocale

      public Locale calculateLocale()
    • getWidgetVar

      public String getWidgetVar()
    • setWidgetVar

      public void setWidgetVar(String _widgetVar)
    • getFor

      public String getFor()
    • setFor

      public void setFor(String _for)
    • getShowOn

      public String getShowOn()
    • setShowOn

      public void setShowOn(String _showOn)
    • getLayout

      public String getLayout()
    • setLayout

      public void setLayout(String _layout)
    • getLocale

      public Object getLocale()
    • setLocale

      public void setLocale(Object locale)
    • getPrecision

      public int getPrecision()
    • setPrecision

      public void setPrecision(int _precision)
    • setDir

      public void setDir(String _dir)
    • getDir

      public String getDir()
      Specified by:
      getDir in interface org.primefaces.component.api.RTLAware
    • getStyleClass

      public String getStyleClass()
    • setStyleClass

      public void setStyleClass(String _styleClass)
    • getOnopen

      public String getOnopen()
    • setOnopen

      public void setOnopen(String _onOpen)
    • getOnclose

      public String getOnclose()
    • setOnclose

      public void setOnclose(String _onClose)
    • getOnbutton

      public String getOnbutton()
    • setOnbutton

      public void setOnbutton(String _onButton)
    • saveState

      public Object saveState(javax.faces.context.FacesContext context)
      Specified by:
      saveState in interface javax.faces.component.StateHolder
      Overrides:
      saveState in class javax.faces.component.UIComponentBase