public class UIRatingGauge extends UIGaugeBase
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
CHANGED_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CHANGED_STYLE_KEY |
static java.lang.String |
COMPONENT_FAMILY |
static java.lang.String |
COMPONENT_TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
HOVER_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
INPUT_INCREMENT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
READ_ONLY_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SELECTED_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHAPE_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
UNSELECTED_SHAPE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
UNSELECTED_STYLE_KEY |
ACTION_EXPRESSION_KEY, ACTION_LISTENER_KEY, CLIENT_LISTENERS_KEY, EMPTY_TEXT_KEY, INLINE_STYLE_KEY, MAXIMUM_KEY, MINIMUM_KEY, PARTIAL_TRIGGERS_KEY, SHORT_DESC_KEY, STYLE_CLASS_KEY, TRANSITIONS_KEY, VALUE_CHANGE_LISTENER_KEY, VALUE_KEY, VISUAL_EFFECTS_KEY
Constructor and Description |
---|
UIRatingGauge() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.lang.String |
getChangedStyle()
Gets the CSS style of the changed state for the shapes.
|
java.lang.String |
getFamily() |
java.lang.String |
getHoverStyle()
Specifies the CSS style of the hover state for the shapes.
|
java.lang.String |
getInputIncrement()
Returns the change increment when editing the value.
|
java.lang.String |
getRendererType() |
java.lang.String |
getSelectedStyle()
Gets the CSS style of the selected state for the shapes.
|
java.lang.String |
getShape()
Returns the shape of the rating gauge increments.
|
java.lang.String |
getUnselectedShape()
Returns the shape of the unselected rating gauge increments.
|
java.lang.String |
getUnselectedStyle()
Gets the CSS style of the unselected state for the shapes.
|
boolean |
isChanged()
Returns whether the value of the gauge has already been set by the user.
|
boolean |
isReadOnly()
Returns true if the value of the gauge cannot be changed by the end user.
|
void |
setChanged(boolean changed)
Specifies whether the value of the gauge has already been set by the user.
|
void |
setChangedStyle(java.lang.String changedStyle)
Specifies the CSS style of the changed state for the shapes.
|
void |
setHoverStyle(java.lang.String hoverStyle)
Specifies the CSS style of the hover state for the shapes.
|
void |
setInputIncrement(java.lang.String increment)
Specifies the change increment when editing the value.
|
void |
setReadOnly(boolean readOnly)
Specifies whether the value of the gauge can be changed by the end user.
|
void |
setSelectedStyle(java.lang.String selectedStyle)
Specifies the CSS style of the selected state for the shapes.
|
void |
setShape(java.lang.String shape)
Specifies the shape of the rating gauge increments.
|
void |
setUnselectedShape(java.lang.String shape)
Specifies the shape of the unselected rating gauge increments.
|
void |
setUnselectedStyle(java.lang.String unselectedStyle)
Specifies the CSS style of the unselected state for the shapes.
|
addValueChangeListener, getActionExpression, getActionListener, getEmptyText, getInlineStyle, getMaximum, getMinimum, getPartialTriggers, getShortDesc, getStyleClass, getTransitions, getValue, getValueChangeListener, getValueChangeListeners, getVisualEffects, removeValueChangeListener, setActionExpression, setActionListener, setEmptyText, setInlineStyle, setMaximum, setMinimum, setPartialTriggers, setShortDesc, setStyleClass, setTransitions, setValue, setValueChangeListener, setVisualEffects
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addClientBehavior, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientBehaviors, getClientId, getComponentChangeFilters, getContainerClientId, getDefaultEventName, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
addPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTree
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey CHANGED_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey INPUT_INCREMENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey READ_ONLY_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHAPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey UNSELECTED_SHAPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CHANGED_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SELECTED_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey UNSELECTED_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey HOVER_STYLE_KEY
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public java.lang.String getFamily()
getFamily
in class org.apache.myfaces.trinidad.component.UIXComponentBase
public java.lang.String getRendererType()
getRendererType
in class org.apache.myfaces.trinidad.component.UIXComponentBase
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class UIGaugeBase
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class UIGaugeBase
javax.faces.event.AbortProcessingException
public final boolean isChanged()
public final void setChanged(boolean changed)
public final java.lang.String getInputIncrement()
public final void setInputIncrement(java.lang.String increment)
public final boolean isReadOnly()
public final void setReadOnly(boolean readOnly)
public final java.lang.String getShape()
public final void setShape(java.lang.String shape)
public final java.lang.String getUnselectedShape()
public final void setUnselectedShape(java.lang.String shape)
public void setChangedStyle(java.lang.String changedStyle)
public java.lang.String getChangedStyle()
public void setSelectedStyle(java.lang.String selectedStyle)
public java.lang.String getSelectedStyle()
public void setUnselectedStyle(java.lang.String unselectedStyle)
public java.lang.String getUnselectedStyle()
public void setHoverStyle(java.lang.String hoverStyle)
public java.lang.String getHoverStyle()