Class LetterAvatar
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- org.primefaces.extensions.component.letteravatar.LetterAvatar
-
- All Implemented Interfaces:
java.util.EventListener,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,org.primefaces.component.api.Widget
public class LetterAvatar extends javax.faces.component.UIComponentBase implements javax.faces.component.behavior.ClientBehaviorHolder, org.primefaces.component.api.WidgetLetterAvatarcomponent.- Since:
- 7.0
- Author:
- https://github.com/aripddev
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classLetterAvatar.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPONENT_CLASSstatic java.lang.StringCOMPONENT_CLASS_ROUNDEDstatic java.lang.StringCOMPONENT_FAMILYstatic java.lang.StringCOMPONENT_TYPEstatic java.lang.StringDEFAULT_RENDERER
-
Constructor Summary
Constructors Constructor Description LetterAvatar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBackgroundColor()java.lang.StringgetColor()java.lang.StringgetFamily()java.lang.StringgetSize()java.lang.StringgetStyle()java.lang.StringgetStyleClass()java.lang.StringgetValue()booleanisRounded()voidsetBackgroundColor(java.lang.String backgroundColor)voidsetColor(java.lang.String color)voidsetRounded(boolean rounded)voidsetSize(java.lang.String size)voidsetStyle(java.lang.String style)voidsetStyleClass(java.lang.String styleClass)voidsetValue(java.lang.String value)-
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, 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
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final java.lang.String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
COMPONENT_CLASS
public static final java.lang.String COMPONENT_CLASS
- See Also:
- Constant Field Values
-
COMPONENT_CLASS_ROUNDED
public static final java.lang.String COMPONENT_CLASS_ROUNDED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public java.lang.String getFamily()
- Specified by:
getFamilyin classjavax.faces.component.UIComponent
-
getStyle
public java.lang.String getStyle()
-
setStyle
public void setStyle(java.lang.String style)
-
getStyleClass
public java.lang.String getStyleClass()
-
setStyleClass
public void setStyleClass(java.lang.String styleClass)
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
isRounded
public boolean isRounded()
-
setRounded
public void setRounded(boolean rounded)
-
getSize
public java.lang.String getSize()
-
setSize
public void setSize(java.lang.String size)
-
getColor
public java.lang.String getColor()
-
setColor
public void setColor(java.lang.String color)
-
getBackgroundColor
public java.lang.String getBackgroundColor()
-
setBackgroundColor
public void setBackgroundColor(java.lang.String backgroundColor)
-
-