Class ButtonBase

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIOutcomeTarget
javax.faces.component.html.HtmlOutcomeTargetButton
org.primefaces.component.button.ButtonBase
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, UIOutcomeTarget, Widget
Direct Known Subclasses:
Button

public abstract class ButtonBase extends javax.faces.component.html.HtmlOutcomeTargetButton implements Widget, UIOutcomeTarget
  • Nested Class Summary

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

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

    Fields inherited from class javax.faces.component.html.HtmlOutcomeTargetButton

    COMPONENT_TYPE

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
     
     
     
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    void
    setAriaLabel(String ariaLabel)
     
    void
    setDisableClientWindow(boolean disableClientWindow)
     
    void
    setDisabled(boolean disabled)
     
    void
    setEscape(boolean escape)
     
    void
    setFragment(String fragment)
     
    void
     
    void
     
    void
    setIconPos(String iconPos)
     
    void
    setInline(boolean inline)
     
    void
    setTarget(String target)
     
    void
    setWidgetVar(String widgetVar)
     

    Methods inherited from class javax.faces.component.html.HtmlOutcomeTargetButton

    getAccesskey, getAlt, getDefaultEventName, getDir, getEventNames, getImage, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRole, getStyle, getStyleClass, getTabindex, getTitle, setAccesskey, setAlt, setDir, setImage, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRole, setStyle, setStyleClass, setTabindex, setTitle

    Methods inherited from class javax.faces.component.UIOutcomeTarget

    getOutcome, isIncludeViewParams, setIncludeViewParams, setOutcome

    Methods inherited from class javax.faces.component.UIOutput

    clearInitialState, getConverter, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValue

    Methods inherited from class javax.faces.component.UIComponentBase

    addClientBehavior, addFacesListener, broadcast, 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, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, 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.UIOutcomeTarget

    getChildren, getOutcome, getParams, isIncludeViewParams

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

    resolveWidgetVar, resolveWidgetVar
  • Field Details

  • Constructor Details

    • ButtonBase

      public ButtonBase()
  • Method Details

    • getFamily

      public String getFamily()
      Overrides:
      getFamily in class javax.faces.component.UIOutcomeTarget
    • getWidgetVar

      public String getWidgetVar()
    • setWidgetVar

      public void setWidgetVar(String widgetVar)
    • getFragment

      public String getFragment()
      Specified by:
      getFragment in interface UIOutcomeTarget
    • setFragment

      public void setFragment(String fragment)
    • isDisabled

      public boolean isDisabled()
      Overrides:
      isDisabled in class javax.faces.component.html.HtmlOutcomeTargetButton
    • setDisabled

      public void setDisabled(boolean disabled)
      Overrides:
      setDisabled in class javax.faces.component.html.HtmlOutcomeTargetButton
    • getIcon

      public String getIcon()
    • setIcon

      public void setIcon(String icon)
    • getIconPos

      public String getIconPos()
    • setIconPos

      public void setIconPos(String iconPos)
    • getHref

      public String getHref()
      Specified by:
      getHref in interface UIOutcomeTarget
    • setHref

      public void setHref(String href)
    • getTarget

      public String getTarget()
    • setTarget

      public void setTarget(String target)
    • isEscape

      public boolean isEscape()
    • setEscape

      public void setEscape(boolean escape)
    • isInline

      public boolean isInline()
    • setInline

      public void setInline(boolean inline)
    • isDisableClientWindow

      public boolean isDisableClientWindow()
      Specified by:
      isDisableClientWindow in interface UIOutcomeTarget
      Overrides:
      isDisableClientWindow in class javax.faces.component.UIOutcomeTarget
    • setDisableClientWindow

      public void setDisableClientWindow(boolean disableClientWindow)
      Overrides:
      setDisableClientWindow in class javax.faces.component.UIOutcomeTarget
    • getAriaLabel

      public String getAriaLabel()
    • setAriaLabel

      public void setAriaLabel(String ariaLabel)