com.liferay.faces.alloy.component.commandbutton
Class SplitCommandButtonCompat

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by javax.faces.component.html.HtmlCommandLink
                  extended by com.liferay.faces.alloy.component.commandlink.CommandLinkBase
                      extended by com.liferay.faces.alloy.component.commandbutton.SplitCommandButtonCompat
All Implemented Interfaces:
com.liferay.faces.util.component.Styleable, 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
Direct Known Subclasses:
SplitCommandButton

public abstract class SplitCommandButtonCompat
extends CommandLinkBase

This class isolates differences between JSF 2.2 and JSF 2.1 in order to minimize diffs across branches.

Author:
Neil Griffin

Nested Class Summary
 
Nested classes/interfaces inherited from class com.liferay.faces.alloy.component.commandlink.CommandLinkBase
CommandLinkBase.CommandLinkPropertyKeys
 
Nested classes/interfaces inherited from class javax.faces.component.html.HtmlCommandLink
javax.faces.component.html.HtmlCommandLink.PropertyKeys
 
Field Summary
protected  CommandButton wrappedCommandButton
           
 
Fields inherited from class com.liferay.faces.alloy.component.commandlink.CommandLinkBase
COMPONENT_TYPE, RENDERER_TYPE
 
Fields inherited from class javax.faces.component.UICommand
COMPONENT_FAMILY
 
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 com.liferay.faces.util.component.Styleable
STYLE, STYLE_CLASS
 
Constructor Summary
SplitCommandButtonCompat()
           
 
Method Summary
 Map<String,Object> getPassThroughAttributes(boolean create)
           
 String getRole()
           
protected  boolean isFaces_2_2_OrNewer()
           
 void setRole(String role)
           
 
Methods inherited from class com.liferay.faces.alloy.component.commandlink.CommandLinkBase
getExecute, getProcess, getRender, getStyleClass, getUpdate, isAjax, setAjax, setExecute, setProcess, setRender, setUpdate
 
Methods inherited from class javax.faces.component.html.HtmlCommandLink
getAccesskey, getCharset, getCoords, getDefaultEventName, getDir, getEventNames, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getShape, getStyle, getTabindex, getTarget, getTitle, getType, isDisabled, setAccesskey, setCharset, setCoords, setDir, setDisabled, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setShape, setStyle, setStyleClass, setTabindex, setTarget, setTitle, setType
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, 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 com.liferay.faces.util.component.Styleable
getStyle, setStyle, setStyleClass
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
 

Field Detail

wrappedCommandButton

protected CommandButton wrappedCommandButton
Constructor Detail

SplitCommandButtonCompat

public SplitCommandButtonCompat()
Method Detail

getPassThroughAttributes

public Map<String,Object> getPassThroughAttributes(boolean create)
Overrides:
getPassThroughAttributes in class javax.faces.component.UIComponentBase

getRole

public String getRole()
Overrides:
getRole in class javax.faces.component.html.HtmlCommandLink

setRole

public void setRole(String role)
Overrides:
setRole in class javax.faces.component.html.HtmlCommandLink

isFaces_2_2_OrNewer

protected boolean isFaces_2_2_OrNewer()


Copyright © 2017 Liferay, Inc.. All rights reserved.