Class LetterAvatar
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- org.primefaces.extensions.component.letteravatar.LetterAvatar
-
- All Implemented Interfaces:
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.Widget
LetterAvatar
component.- Since:
- 7.0
- Author:
- https://github.com/aripddev
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
LetterAvatar.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_CLASS
static String
COMPONENT_CLASS_ROUNDED
static String
COMPONENT_FAMILY
static String
COMPONENT_TYPE
static String
DEFAULT_RENDERER
-
Constructor Summary
Constructors Constructor Description LetterAvatar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFamily()
Integer
getHeight()
String
getStyle()
String
getStyleClass()
String
getValue()
Integer
getWidth()
Boolean
isRounded()
void
setHeight(Integer height)
void
setRounded(Boolean rounded)
void
setStyle(String style)
void
setStyleClass(String styleClass)
void
setValue(String value)
void
setWidth(Integer 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, 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 String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
COMPONENT_CLASS
public static final String COMPONENT_CLASS
- See Also:
- Constant Field Values
-
COMPONENT_CLASS_ROUNDED
public static final String COMPONENT_CLASS_ROUNDED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Specified by:
getFamily
in classjavax.faces.component.UIComponent
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
getStyleClass
public String getStyleClass()
-
setStyleClass
public void setStyleClass(String styleClass)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isRounded
public Boolean isRounded()
-
setRounded
public void setRounded(Boolean rounded)
-
getWidth
public Integer getWidth()
-
setWidth
public void setWidth(Integer width)
-
getHeight
public Integer getHeight()
-
setHeight
public void setHeight(Integer height)
-
-