public class Rating
extends javax.faces.component.UIInput
Modifier and Type | Class and Description |
---|---|
static class |
org.primefaces.component.rating.RatingBase.PropertyKeys |
Modifier and Type | Field and Description |
---|---|
static String |
CANCEL_CLASS |
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
CONTAINER_CLASS |
static String |
DEFAULT_RENDERER |
static String |
STAR_CLASS |
static String |
STAR_ON_CLASS |
Constructor and Description |
---|
Rating() |
Modifier and Type | Method and Description |
---|---|
Map<String,Class<? extends javax.faces.event.BehaviorEvent>> |
getBehaviorEventMapping() |
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getOnRate() |
int |
getStars() |
String |
getStyle() |
String |
getStyleClass() |
String |
getWidgetVar() |
boolean |
isCancel() |
boolean |
isDisabled() |
boolean |
isReadonly() |
void |
queueEvent(javax.faces.event.FacesEvent event) |
String |
resolveWidgetVar() |
void |
setCancel(boolean cancel) |
void |
setDisabled(boolean disabled) |
void |
setOnRate(String onRate) |
void |
setReadonly(boolean readonly) |
void |
setStars(int stars) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setWidgetVar(String widgetVar) |
void |
validate(javax.faces.context.FacesContext context) |
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validateValue
getConverter, getLocalValue, getValue, setConverter
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String COMPONENT_TYPE
public static final String CONTAINER_CLASS
public static final String CANCEL_CLASS
public static final String STAR_CLASS
public static final String STAR_ON_CLASS
public static final String COMPONENT_FAMILY
public static final String DEFAULT_RENDERER
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class javax.faces.component.UIComponentBase
public void validate(javax.faces.context.FacesContext context)
validate
in class javax.faces.component.UIInput
public String getFamily()
getFamily
in class javax.faces.component.UIInput
public String getWidgetVar()
public void setWidgetVar(String widgetVar)
public int getStars()
public void setStars(int stars)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public boolean isReadonly()
public void setReadonly(boolean readonly)
public String getOnRate()
public void setOnRate(String onRate)
public String getStyle()
public void setStyle(String style)
public String getStyleClass()
public void setStyleClass(String styleClass)
public boolean isCancel()
public void setCancel(boolean cancel)
public String resolveWidgetVar()
resolveWidgetVar
in interface Widget
Copyright © 2019. All rights reserved.