public class Rating extends javax.faces.component.UIInput implements Widget, javax.faces.component.behavior.ClientBehaviorHolder
Modifier and Type | Class and Description |
---|---|
protected static class |
Rating.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 |
STAR_CLASS |
static String |
STAR_ON_CLASS |
Constructor and Description |
---|
Rating() |
Modifier and Type | Method and Description |
---|---|
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, getValue, 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, setConverter
addClientBehavior, addFacesListener, broadcast, 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, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
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 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 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 resolveWidgetVar()
resolveWidgetVar
in interface Widget
Copyright © 2014. All rights reserved.