org.primefaces.component.button
Class Button

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIOutcomeTarget
                  extended by javax.faces.component.html.HtmlOutcomeTargetButton
                      extended by org.primefaces.component.button.Button
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

public class Button
extends javax.faces.component.html.HtmlOutcomeTargetButton
implements Widget, UIOutcomeTarget


Nested Class Summary
protected static class Button.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String 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
 
Constructor Summary
Button()
           
 
Method Summary
 String getFamily()
           
 String getFragment()
           
 String getHref()
           
 String getIcon()
           
 String getIconPos()
           
 Map<String,List<String>> getParams()
           
 String getTarget()
           
 String getWidgetVar()
           
 boolean isDisabled()
           
 boolean isEscape()
           
 boolean isInline()
           
 String resolveIcon()
           
 String resolveStyleClass()
           
 String resolveWidgetVar()
           
 void setDisabled(boolean _disabled)
           
 void setEscape(boolean _escape)
           
 void setFragment(String _fragment)
           
 void setHref(String _href)
           
 void setIcon(String _icon)
           
 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, isDisableClientWindow, isIncludeViewParams, setDisableClientWindow, 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 org.primefaces.component.api.UIOutcomeTarget
getChildren, getOutcome, isIncludeViewParams
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

Button

public Button()
Method Detail

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()

setDisabled

public void setDisabled(boolean _disabled)

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)

resolveIcon

public String resolveIcon()

resolveStyleClass

public String resolveStyleClass()

getParams

public Map<String,List<String>> getParams()
Specified by:
getParams in interface UIOutcomeTarget

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget


Copyright © 2013. All rights reserved.