Class CreditCard
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.primefaces.extensions.component.creditcard.CreditCard
- All Implemented Interfaces:
EventListener,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.Widget
public class CreditCard
extends javax.faces.component.UIComponentBase
implements org.primefaces.component.api.Widget
CreditCard component.- Since:
- 8.0.1
- Author:
- Melloware mellowaredev@gmail.com
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields 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_KEYFields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetWidth()booleanvoidsetFromatting(boolean _formatting) voidsetLabelMonthYear(String _labelMonthYear) voidsetLabelValidDate(String _labelValidDate) voidsetPlaceholderCvc(String _placeholderCvc) voidsetPlaceholderExpiry(String _placeholderExpiry) voidsetPlaceholderName(String _placeholderName) voidsetPlaceholderNumber(String _placeholderNumber) voidsetWidgetVar(String _widgetVar) voidsetWidth(int _width) Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventMethods 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, visitTreeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_TYPE
- See Also:
-
COMPONENT_FAMILY
- See Also:
-
STYLE_CLASS
- See Also:
-
-
Constructor Details
-
CreditCard
public CreditCard()Default constructor
-
-
Method Details
-
getFamily
- Specified by:
getFamilyin classjavax.faces.component.UIComponent
-
getWidgetVar
-
setWidgetVar
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int _width) -
isFormatting
public boolean isFormatting() -
setFromatting
public void setFromatting(boolean _formatting) -
getLabelValidDate
-
setLabelValidDate
-
getLabelMonthYear
-
setLabelMonthYear
-
getPlaceholderNumber
-
setPlaceholderNumber
-
getPlaceholderName
-
setPlaceholderName
-
getPlaceholderExpiry
-
setPlaceholderExpiry
-
getPlaceholderCvc
-
setPlaceholderCvc
-