Class CommandButton

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
javax.faces.component.html.HtmlCommandButton
org.primefaces.component.commandbutton.CommandButtonBase
org.primefaces.component.commandbutton.CommandButton
All Implemented Interfaces:
EventListener, javax.faces.component.ActionSource, javax.faces.component.ActionSource2, 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, AjaxSource, Confirmable, DialogReturnAware, PrimeClientBehaviorHolder, Widget

public class CommandButton extends CommandButtonBase implements DialogReturnAware
  • Field Details

  • Constructor Details

    • CommandButton

      public CommandButton()
  • Method Details

    • getBehaviorEventMapping

      public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
      Specified by:
      getBehaviorEventMapping in interface PrimeClientBehaviorHolder
    • getEventNames

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

      public String getDefaultEventName()
      Specified by:
      getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHolder
      Overrides:
      getDefaultEventName in class javax.faces.component.html.HtmlCommandButton
    • queueEvent

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

      public String resolveStyleClass()
    • isPartialSubmitSet

      public boolean isPartialSubmitSet()
      Specified by:
      isPartialSubmitSet in interface AjaxSource
    • isResetValuesSet

      public boolean isResetValuesSet()
      Specified by:
      isResetValuesSet in interface AjaxSource
    • getConfirmationScript

      public String getConfirmationScript()
      Specified by:
      getConfirmationScript in interface Confirmable
    • setConfirmationScript

      public void setConfirmationScript(String confirmationScript)
      Specified by:
      setConfirmationScript in interface Confirmable
    • requiresConfirmation

      public boolean requiresConfirmation()
      Specified by:
      requiresConfirmation in interface Confirmable
    • isAjaxified

      public boolean isAjaxified()
      Specified by:
      isAjaxified in interface AjaxSource